WordPress.org

Forums

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

  1. manolis09
    Member
    Posted 2 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.

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 2 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

About this Topic

Tags

No tags yet.