Support » Plugins and Hacks » Relevanssi - A Better Search » Display results count per category
3 years, 11 months ago
I am trying to display a list with the categories of the posts found in the search results page. What i am trying to achieve is this: http://i.imgur.com/qY9Ds.png
How is that possible?
Use relevanssi_hits_filter to calculate the number of results in each category, store it in a global variable and print out on search results page.
There’s a complete example of this somewhere on this forum, but I couldn’t find it now.