• Resolved dleifm

    (@dleifm)


    Hi everyone.

    I’ve got a question about customizing a WP theme and I know it’s probably something quite basic but I just can’t seem to figure it out.

    I’m using WP as a CMS for a small business’ website. They want a main (top) nav menu for my site that consists of the following links: Home, Products, Services, About, Contact, Blog. Pretty straight-forward.

    I’ve figured out how to go into Settings > Reading and change it so that the Front Page displays the (static) Home page instead of the latest posts. But what I can’t figure out is how to set up the Blog page so that it displays the latest posts.

    In the default WP theme, the posts are listed on the home page in reverse chronological order. This is what I want on the Blog page but I can’t figure out how to make it happen.

    Can anyone walk me through this?

    (This must have been addressed elsewhere, but I can’t seem to find it. I might not be using the proper terminology. If you know of a thread or support document that covers this problem, please let me know.)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dleifm

    (@dleifm)

    OK… I figured it out. (In fact, the answer is so easy I can’t believe I missed it…)

    First, I created the static “Blog” page and left it without any content. Then, in Settings > Reading I changed the “Front Page Displays” options to show a static page for both the home page (set to “Home”) and the posts page (set to “Blog”).

    Doh!

    Thanks for your post — I want to do the same thing but this procedure does not seem to work for me in 2.7.

    I created a static “blog” page with no content, as you said. In settings> reading I point the “Posts Page” dropdown to “blog”

    And the “blog” page displays the error message, “sorry but you are looking for something that isn’t here”

    Any suggestions?

    Thanks

    Joanne

    Well I found the problem.

    To make a custom home page template, I had put a line of code in home.php:

    <?php query_posts('pagename=home') ?>

    When I commented-out this line of code, I now see “blog” when pointing to blog in the Posts Page dropdown in Settings > Reading.

    I don’t know why that pagename code messed things up. But it seems to work now.

    Thanks again for providing the answer to your own question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you show the latest posts on a page other than the Front Page?’ is closed to new replies.