Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Paging broken on category template

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32686
    jacorre
    Participant

    With WordPress, I am using a category specific template file (category-3.php) to display 5 posts at a time. I am using the following for paging:

    
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts($paged . '&posts_per_page=5&cat=3&paged=' .$paged);
    ?>

    I’ve been using this for a while now along with the wp-pagenavi plugin and it’s worked fine.

    Recently I noticed that clicking page 1 and 2 were fine, but any subsequent page after that cannot find posts? Am I doing something wrong?

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.