Ratings in Directory search results

I like the Average rating feature in the sidebar of listing pages, but how do I include it for search listing entries too?

I looked at adding <?php do_action('sr_avg_rating'); ?> to various templates, but hasn't worked for me thus far.

  • Kimberly
    • Champion of Loops

    BlueHorizons,

    Hi :slight_smile:

    If I'm understanding correctly you are asking to display the ratings of listings in the search results.

    I found a similar thread on this that was addressed recently. Basically that would require some custom coding, however, you may try finding the review code stars variable within the single display page and copy and past it into the search result variable coding in the search page.

    This feature has also been added to the request list :slight_smile:

    If this isn't the answer you were looking for or you need another fix, you can come back and re-open the topic by clicking below the comment box.

    Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.