This topic has 4 replies, 3 voices, and was last updated 7 months ago ago by Luca Rossi
The AJAX Search result limit stuck on 7 with a Show More button to see the rest.
I’ve tried updating the “Results limit” in Theme Options -> Search however it doesn’t change.
Hello, @FIT,
Thank you for choosing our theme and for reaching out to our support center.
We are delighted to inform you that the issue you reported has been successfully resolved. We have implemented a change in the result limits input by setting the value to “-1”, which now allows for the display of an unlimited number of results.
For your convenience, we have recorded a video demonstrating the search results, which you can view in the private content area of our website.
Should you require any further assistance or have additional inquiries, please do not hesitate to contact us.
Best regards,
The 8Theme Team
Thank you.
It took me a while to see what you meant.
Now that it is set to -1, it seems to show 5 results (no longer 7 results) now along with the “Show More” button… then after a while it just auto redirects to a the Search results page automatically.
Is there no way to show more products in the ajax search itself? like 30 products for example? Is that how it is supposed to work?
Hi @FIT,
Currently, there is no hooks/filters to increase the search results in the header. If you want to change it, please navigate to this file: /wp-content/plugins/et-core-plugin/app/models/customizer/class-ajax-search.php line 192 & 193:
– Change:
$custom_post_types_limits = false;
$custom_post_types_limits_val = 5;
– To:
$custom_post_types_limits = true;
$custom_post_types_limits_val = 30;
Hope it helps!
Best regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up