• Hello, I am currently using Autocomplete Post search on a site that I am working on. It works smoothly in regards to what I need it to do. However, I can not, by an means, find a way to increase the search result number to show more than 10 results.

    Please help, I would love to keep using this plugin but I will not be able to if I can resolve the issue of only 10 results being show. Here is a link to the page that is using the plugin. If you hit search without selecting any options it will display 10 results but there are more than 50 results total. https://wintechracing.com/used-boats/

    What plugin file should I be altering to make this work for more results? Or what code should I be adding?

    Thanks.

    https://www.ads-software.com/plugins/autocomplete-post-search/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Cynob IT Consultancy

    (@netattingo-technologies)

    Thanks for using our plugin.

    We have already implemented this plugin to fetch all posts as result but I think you have customized most of its code.

    However we suggest you one thing that put ‘posts_per_page’ => -1 in WP_Query arguement in your file where you are getting result. If you are using our plugin file then go to “autocomplete-post-search.php“.

    It will fetch all result instead of 10 results.

    If you found this plugin useful, please give us good feedback as well as 5 star ratings.

    Thanks

    Thread Starter zachtelkins

    (@zachtelkins)

    I appreciate the response to this issue. I initially had the ‘posts_per_page’ set to -1 but had no success, so I had changed it to try other options, and once again changed it back to ‘posts_per_page’ => -1 as suggested and saw no change. Even just trying the default search with no categories selected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to increase number of search results.’ is closed to new replies.