• Hi All,

    I created a static front page for my wordpress-powered site using a custom template. Now I would like to create a new page (as I would through Write->Page), assign a template to it and have all the posts and categories there, rather than on the front page. Basically, the aim is to have a site with all static pages, with a blog within.
    When I assign a template to this new page (called Blog), copying exactly the original index.php code into it, this page doesn’t display the posts. It just displays title and content of the page called Blog that I created through the admin panel.
    Under settings->reading I had to change “Front page displays” to a static page to use my static front page. I thought this had to do with my inability to show posts on the blog page, but having switched it back to the default setting didn’t help at all. Any clues?
    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Under settings->reading I had to change “Front page displays” to a static page to use my static front page.

    That’s the first step. Next, right in the same place you select another existing, empty Page (like the one title Blog) as your “posts page”. Done.

    Thread Starter mudz

    (@mudz)

    Hi, I solved it:
    my installation (downloaded 02/10/08) 2.6.2 came without the blog.php file. I copied if from a previous installation my colleague had on his machine and now I’ve been able to make it working. Didn’t have to select the Blog page as posts page in the settings, though.
    Thank you

    OK, then.
    And just before you mislead other users: there is no blog.php in any WordPress package! That’s some hack of yours and not a standard WP file.

    Thread Starter mudz

    (@mudz)

    moshu, it came with version 2.5

    No, it didn’t. There is no file with such name in WP. It must have been in one of your custom themes but never as a file in the standard WP package.

    Thread Starter mudz

    (@mudz)

    oh, thank you.
    just out of interest then, how would you solve the problem without such file? bear in mind that the thing you suggested earlier (selecting the blog page for “posts page” under settings) didn’t work.

    If it didn’t work then:
    a) you are doing something in the wrong way
    or
    b) something is screwed up in your installation

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show posts and sidebar with categories on a different page than the front page?’ is closed to new replies.