Forums › Forums › Search & Filter Pro › How to display total search result?
Tagged: V3
- This topic has 10 replies, 2 voices, and was last updated 4 years, 3 months ago by Trevor.
-
Anonymous(Private) July 27, 2020 at 5:02 am #253863
Hi, how can I display the total search results as per the demo:
https://demo.searchandfilter.com/movies/Example: “Found 100 Results”
Trevor(Private) July 27, 2020 at 10:39 am #253899It would require an edit in the PHP template file being used. Inside the results container, you would need code like this:
Found <?php echo $query->found_posts; ?> Results
(assuming that your theme uses $query for the results array, otherwise it would need to be changed to match whether results array variable name your theme uses.Anonymous(Private) July 28, 2020 at 4:30 pm #254168Directory Filter [searchandfilter id=”1573″]
Search page URL:
https://listings.singaporeofficespaces.com/directoryTrevor(Private) July 28, 2020 at 6:46 pm #254203Ah, I see. It uses the Elementor Pro Archive Posts widget, as I expected. With that method, it is not possible to display the total count, as the template is not available to us. It may be something we will look to develop after we have released V3 (due in a few months), when we turn are focus back to this extension.
-
AuthorPosts