• Resolved bellammm

    (@bellammm)


    Hi,

    I want to purchase the Images add-on for your plugin Site Reviews. But I encountered a problem. Please solve the problem, so I can make sure that I can use your plugin.

    I am using this shortcode right now for a loop template for posts: [site_reviews_summary assigned_posts=”post_id” hide=”bars,if_empty, summary”]

    Screenshot: https://snipboard.io/7Nk432.jpg

    As you can see, with this shortcode, the loop template displays the rating (number) and the star rating of each post.

    But I also want to display “review count” beside the stars. So how to do that? Is it with a shortcode? Or do I need to edit some files like single.php? Please explain the steps in detail.

    Thanks a lot for your help!

Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Have you tried this?

    [site_reviews_summary assigned_posts="post_id" hide="bars,if_empty" text="{num}]

    And if you want the summary text to display inline with the stars, add a class to the shortcode:

    [site_reviews_summary class="inline-summary" assigned_posts="post_id" hide="bars,if_empty" text="{num}]

    And then add this CSS to your website:

    .inline-summary .glsr-summary-text {
        flex-basis: 0%;
    }

    • This reply was modified 2 years, 11 months ago by Gemini Labs.
Viewing 1 replies (of 1 total)

The topic ‘Shortcode for “review count”’ is closed to new replies.