chronological posts stuck on page 1
I have a category set up which I want to display chronologically. To accomplish this, I created a category-5.php, which is identical to index.php, except it has:
<?php query_posts('order=ASC'); ?>
at the top. Works like a charm. Except for when I use the navigation links at the bottom:
<div class="alignleft"><?php posts_nav_link('','« Previous Entries','') ?></div> <div class="alignright"><?php posts_nav_link('','','Next Entries »') ?></div>
and arrive at a URL like:
it is still the first three posts (not the next three, as I was expecting). Somewhat of a newbie, but I can write PHP and I thought I understood the way the loop worked. How do I get the paging to word correctly with ASC? Help, please!
- The topic ‘chronological posts stuck on page 1’ is closed to new replies.