Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Empty search on child site › Reply To: Empty search on child site
November 21, 2018 at 1:46 pm
#20031
Keymaster
Hi!
If your remove the code, does that make any difference? That should not affect the pagination as far as I know, because the ‘post_results’ filter should always pass the current results, from the current page.
For the wordpress pagination to work, the
[php]$_GET[‘paged’][/php]
and the
[php]$wp_query->query_vars[‘paged’];[/php]
..variables should be set. They are usually set automatically, when the page URL is accessed, and the ‘paged’ argument is set, such as http://yoursite.com?s=1&paged=2 -> the &paged=2 tells, that the current page is page 2.