I want to display only one post on the home page and all other pages (archives, etc.) display 5 posts (or whatever amount I want - just more than 1).
I made a home.php using the index.php file and added this code that I found in the Wordpress.org forums like this:
Code:
<!-- Limit the home page to display only one (the latest) post --> <?php query_posts('showposts=1'); ?>
Code:
<?php /* If there are any posts: */ if (have_posts()) : $bfa_ata['postcount'] == 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
It does exactly what I want: display 1 post on the home page BUT
when I click on the "older entries" link, I see the same 1 (most recent) post. And only 1 post. I want those pages to go to the 5 posts per page display. The archives pages do show 5 posts, though.
I am unsure how to do this...
Thanks for any help!