Viewing 1 replies (of 1 total)
  • You must use the ‘paged’ argument to query_posts to get pagination. Try changing this:

    <?php query_posts('posts_per_page=1');

    to this:

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("posts_per_page=1&paged=$paged");

    Note the double quotes around the query string.

Viewing 1 replies (of 1 total)
  • The topic ‘How to set query_posts() on category page???’ is closed to new replies.