Support » How-To and Troubleshooting » Issue with Pagination?

Issue with Pagination?

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is usually caused by not adding the paged argument to the query. The code looks something like this:

    if (!($paged = get_query_var('paged'))) {
       if (!($paged = get_query_var('page'))) {
          $paged = 1;

    does this go in functions.php?

    No, it would go in the template that is not honoring the pagination. Besides, it is not exact code that you should use. It is an example of a general nature. It may be correct or not depending on your theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Pagination?’ is closed to new replies.
Skip to toolbar