• I’d like to have only my most recent post on the front page. Obviously, I can adjust he number of blog posts displayed by changing the reading settings. However, I don’t want to only display one blog post when a category or month is examined in the archive section. Because if you change the “blog pages show at most” setting (in the reading settings tab) to show only 1 post, then every search will show only 1 result and I don’t want that.

    So I guess I’m asking is there a way to give my most recent post the properties of a static page (without actually turning it into a static page) so that it’s the only post displayed on my home page?

Viewing 1 replies (of 1 total)
  • Make a copy of your index.php file and call it home.php

    Home.php will be the default page served when you are on the home page.

    In home.php you can limit it to pull only one article, and leave the index.php to function for the rest of the site (archive pages etc.)

    See how the hierarchy of template files works here:
    Template Hierarchy image

Viewing 1 replies (of 1 total)
  • The topic ‘Display latest post on front page’ is closed to new replies.