I'm at a loss as to how to implement this on my own site. I've entered:
<?php
if (is_home()) {
query_posts("showposts=1");
}
?>
before these lines:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
And the result is that it restricts the first page of my site to the last entry - which is good. But when I click on the "Older Entries" link, all I get is the same single post again, over and over. Nothing else appears.
If I place that If statement like so:
<?php if (have_posts()) : ?>
<?php
if (is_home()) {
query_posts("showposts=1");
}
?>
<?php while (have_posts()) : the_post(); ?>
the result is the same.
What am I doing wrong? I haven't set up a home.php file, as that also did not work. This is going straight into my Main Index Template.
Thanks for your assistance.