Hello,
I’m having trouble finding a solution to display more than 50 search results on my search results template page. I have already set the amount to display within WP backend (Settings>reading), and in the theme (DiviThemeOptions>"Number of Posts displayed on Search pages). I have tried with 500, 666, 999, 1200, no matter what I do I cannot seem to get more than 50 results to appear on the results page. I believe that the search is finding well over 50 results, however 50 seems to be the cutoff on the results page.
In the URL of the search results I see: “et_pb_searchform_submit=et_search_proccess&et_pb_include_posts=yes&et_pb_include_pages=yes” after the search term. So I assume that the search is generating multiple pages of results (include_pages_yes) and the links to the subsequent pages are either being hidden, or not called. In the page template there is an if statement to check for wp_pagenavi, and then execute it if it’s there, but it does not appear to be executing.
Can anyone lend me a hand with either getting more than 50 results to display or getting the “next page” links to appear/work?
You can view a development example here: Here.
Scrolling to the bottom and searching a term like “sea” or “fish” will bring you to a results page. This site is running on a child theme of uptodate Divi, and using Ajax Search Pro (I have been using the same desired amount of search results returned within this plugin as well). I can also provide my search page template code if requested.
By the way…I am using css to hide the footer and a hook to display my own footer in it’s place but I didn’t think that the “wp_pagenavi” would be located in the footer, as it sits above it in the code.
Many thanks for any ideas or help with this, I’ve been on google and stackexchange for almost 3 days looking for solutions but have had no luck.