- This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by .
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.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy