Relevanssi - A Better Search
Display results count per category (2 posts)

  1. manolis09
    Posted 3 years ago #

    Hello there,

    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?

    Best regards.


  2. Mikko Saari
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.