Forums › Forums › Search & Filter Pro › Number of pagination links are not being updated upon filter submit
- This topic has 5 replies, 2 voices, and was last updated 5 years, 11 months ago by
Trevor.
-
Anonymous(Private) April 7, 2020 at 12:03 pm #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!
Anonymous(Private) April 7, 2020 at 12:38 pm #239292Sure here you go:
http://dev.metropolitan.realestate/plan_types/buy_properties/
Trevor(Private) April 7, 2020 at 1:37 pm #239300as 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(Private) April 7, 2020 at 2:32 pm #239304Hi 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/
-
AuthorPosts