Forums › Forums › Search & Filter Pro › Display Search Result Count
Tagged: display results, result count
- This topic has 5 replies, 2 voices, and was last updated 8 years, 8 months ago by
Trevor.
Viewing 6 posts – 1 through 6 (of 6 total)
-
Trevor(Private) March 12, 2018 at 9:39 am #165459
It would depend on how you template and query in your theme is constructed, but the standard WordPress Codex code to display the number of results looks like this:
<?php echo $query->found_posts; ?>but then you would need to find (do a Google search) for how to find the total number of posts (of the post types that you are searching).
-
AuthorPosts
Viewing 6 posts – 1 through 6 (of 6 total)