Forums Forums Search & Filter Pro Pagination not working

Tagged: 

Viewing 10 posts - 1 through 10 (of 21 total)
  • Anonymous
    #52474

    The pagination for the search and filter functionality of my site is not working. The pagination selector is set as “.pagination a” as per the code below. The divs show up in the source code but the divs are empty and there are no pagination links generated from the php code.

    I am using a Genesis child theme and I’m trying to filter/search custom posts that were set up using ACF. These posts are separate and distinct from my blog posts.

    This is the code I currently have in the template for pagination. It’s placed after the endif of the loop and inside the results container:

    <div class=”pagination”>
    <div class=”nav-previous”><?php next_posts_link( ‘Older posts’, $query->max_num_pages ); ?></div>
    <div class=”nav-next”><?php previous_posts_link( ‘Newer posts’ ); ?></div>
    </div>

    Trevor
    #52476

    Are you using v2.2.0 of Search and Filter?

    Anonymous
    #52479

    Not yet. I am not able to perform a backup until tonight, so I haven’t updated it yet since I just got the notification today.

    But I’ve been trying to work this out for some weeks now.

    Are you saying the update could cause this or fix it?

    Trevor
    #52574

    This new version has a lot of bug fixes, and some of these ARE pagination-related. We seem to be having issues with our hosting right now, so an automatic update might not work (please try it first though). This thread gives the manual method:

    https://support.searchandfilter.com/forums/topic/last-update-cannot-be-installed-from-wordpress-plugins-extension-page/

    Anonymous
    #52677

    I updated and but the pagination still does not seem to be working. The pagination divs are there in the source code but those divs are empty without any generated previous/next links.

    My display method is set to Custom and I have forced the results to only return 10 items per page for this testing but there are definitely more items than that that are supposed to return.

    Where to go from here?

    Trevor
    #52680

    Can I see the search page with the problem in place?

    Anonymous
    #52683
    This reply has been marked as private.
    Trevor
    #52687

    I meant, am I able to see a live page on the internet?

    Anonymous
    #52720

    the link is there in the post above.

    Trevor
    #52759

    Sorry. Tired eyes missed that. I will take a look and get back to you.

Viewing 10 posts - 1 through 10 (of 21 total)