Forums Forums Search & Filter Pro Issues with Pagination

Tagged: 

Viewing 1 post (of 1 total)
  • Ross Moderator
    #36519

    Hey Travis are you using the shortcode method to display results? (hence using the results.php)? Then in this case, you will notice that they actually pass the custom query to the pagination function(s).

    Therefor you need to use the pagination variable too:

    So

    'current' => max(1, get_query_var('paged')),

    Should become something like:

    'current' => max( 1, $query->query['paged'] ),

    So the paged var inside the custom query (the shortcode method) is used rather than the global var.

    Thanks

Viewing 1 post (of 1 total)