I’m trying to use wordpress for the first time and being driven nuts by this issue. I really need to get it sorted today.
I want the index page to be static, i.e not show blog posts. I have done this successfully by editing my themes index.php file.
My problem is that I need another Page (blog) created as a WP Page to fulfil the function that index used to — show the recent posts from ALL categories.
I’ve created a new template file (blog.php) for this Page, but using The Loop only shows the content of the blog WP Page. I need to modify the way have_posts() works so that it DOESN’T simply get the content of this page, but instead does what index used to.
I know WP derives category/page/post info from the URL to decide what content to serve. How can I override this behaviour to do what I need?
Solution much appreciated.
- The topic ‘show all posts on another page (/blog)’ is closed to new replies.