I simply want a link to my blog archives. They are just normal posts, but I cannot seem to find the right url for them to add to my menu.
Leave a Reply
You must be logged in to post a comment.
I simply want a link to my blog archives. They are just normal posts, but I cannot seem to find the right url for them to add to my menu.
You must be logged in to post a comment.
right url for them to add to my menu.
http://yourwebsite.com/?post_type=post
You don’t have to necessarily use a category to every post.
Actually the file to list all posts of any category and date is the index.php. You just write ‘the loop’ as told on codex.
So if you changed your index.php to make it as a fancy page and not the post list only, now you’re trying to create another page to do that for you.
So, if you follow me, you’re doing this the wrong way. What you should do is to create a separate page and assign it as the home page of your blog. It would then free the index.php file for you to use it as the blog list, as it is by default.
Assuming that you did it the correct way (as mentioned by Guilherme), you should have a page designated as the blog list page.
The URL for the blog list if using the page ‘My Blog’ to display posts and pretty links for the url should be something like http://mywebsite.com/my-blog.