Support » Fixing WordPress » Previous entries doesn’t work when doing custom query?

  • Resolved westondeboer

    (@poil11)


    I am just doing:

    <?php query_posts("cat=1");?>
    <?php next_posts_link('&laquo; Previous Entries') ?>
    <?php previous_posts_link('Next Entries &raquo;') ?>

    And when i go to page 2, it shows the same first 20 posts on the first page.

    How do i do previous and next links when only showing one category on the Main page?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Previous entries doesn’t work when doing custom query?’ is closed to new replies.