Forums Forums Search & Filter Pro How to display total number of filtered results?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #49927

    Hi,
    This seems like a simple question, but I couldn’t find much documentation around this in the support forums. How would I return the total number of filtered results returned by Search & Filter, if i wanted to display this at the top of the page? I can find ways to return total results based off the search term alone, but the total number does not take into account any additional filters. Is there an easy way to display the total number of results based off of the search terms and filters chosen?

    Please let me know – thanks again for your help!

    Trevor
    #49935

    In theory, in the theme template you have, this php code might do it?

    <?php echo $query->found_posts; ?>
    
Viewing 2 posts - 1 through 2 (of 2 total)