Forums Forums Search & Filter Pro Number of pagination links are not being updated upon filter submit

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #239285

    Hello I am using the plugin and I have 200 posts that are being queried. The pagination is working fine upon using the filters the number of pagination links are not updating

    Let’s say the submitted filter only displays 2 posts, but the pagination links are still displaying 15 pages.

    How can I update them according to the number of posts displayed?

    Thankyou!

    Trevor
    #239288

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #239292
    Trevor
    #239300

    as it is broken only when you do a search (without a search it does fine) I suspect that the code that the theme template is using runs its own query and does not have the search and filter argument passed to it.

    You are using the ‘Custom’ display results method, so did you modify the template for this page, and if so, how?

    Anonymous
    #239304

    Hi Trevor, yes that has been my problem once you do a search.

    hmm I created a custom template and also a custom wp_query so I have total control,

    and integrated the searchandfilter pro plugin via following these instructions on this page

    https://searchandfilter.com/documentation/search-results/custom/

    Trevor
    #239307

    What code is being run to make the pagination? If you can, paste the code here inside back ticks (code ticks – the key next to the 1 key on English keyboards).

Viewing 6 posts - 1 through 6 (of 6 total)