- This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › How to hide search results count?
Hello!
Thanks for great plugin. But how to hide search results information? I am using dropdown menu for categories and after each search it says:
Found 55 Results
Page 1 of 6
And I am using Infinite Scroll option. There it also shows results:
Page 1 of 6
Found 55 Results
Page 2 of 6
Basically I just want to show results, not any extra information (want to hide number of pages and results).
Regards,
If you are using the Shortcode display results method …
If you haven’t already done so, can you follow this guide:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/
In particular, follow the instructions in the Customising section.
However, I think you have missed this crucial step, based on your post:
Rather than copy the results.php file to your theme sub-folder, copy the results-infinite-scroll.php file, and then rename it to results.php
The code for this file is different, to account for how the Infinite Scroll works.
That will give you a results.php file you can edit, in a sub-folder named search-filter in your theme folder.
So, look for this code in the results.php template file:
Found <?php echo $query->found_posts; ?> Results<br />
… and delete that line.
Please note that in the UK today is a public holiday, so further replies may be delayed.