• Hi,
    I have a couple of custom archive pages where I limited the number of post by using this code:
    <?php
    $posts = query_posts($query_string .
    ‘&showposts=10’);
    if (have_posts()) : while (have_posts()) : the_post(); ?>

    For page 1 to page 7 the pagination is fine.
    however when it comes to page 8 till the last page, they all goes to 404 error page.

    I checked other archive pages where there are not using the code above, they all functioning well. So I conclude that is the code above that causing this problem.

    Any idea to fix this problem?

Viewing 12 replies - 16 through 27 (of 27 total)
Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Archive Pagination goes wrong after few page.’ is closed to new replies.