• Resolved mikehealy

    (@mikehealy)


    Hi,
    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Maybe this article will help? Creating_a_Static_Front_Page

    Thread Starter mikehealy

    (@mikehealy)

    Thanks, that did help. I don’t have what I wanted 100%, but 90% is close enough.
    This must be a very common requirement though, even www.ads-software.com does what I want (non blog index, then a separate blog page)

    even www.ads-software.com does what I want (non blog index, then a separate blog

    Misconception and not understanding how this site is built. This is NOT a blogging tool installed in the root and wanting to show blog entires somewhere else – which is your case.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘show all posts on another page (/blog)’ is closed to new replies.