WordPress.org

Support

Support » How-To and Troubleshooting » Why is pagination not working?

Why is pagination not working?

  • Can some one tell me why on this piece of code the pagination doe not work?

    by “does not work” I mean that if you go to the previous page, the posts on the page before are the exact same. No matter how far back you go they remain the same. Its like the query doesn’t update.

    The query in this case being used is:

    $query = array('posts_per_page' => 20);

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why is pagination not working?’ is closed to new replies.