• Resolved Kareem

    (@ikareem)


    I’m using this code to show the average rating of each post:
    [site_reviews_summary assigned_posts="post_id"]

    With Bricks Builder, I want to set condition (don’t show) if the average rating zero (no reviews or cretin value)
    Please check the SS to see the code I use with another plugin here and what the replace for Site Reviews.
    https://postimg.cc/3dd8WNVQ

    The page I need help with: [log in to see the link]

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

    (@geminilabs)

    Try this:

    [site_reviews_summary assigned_posts="post_id" hide="if_empty"]
    Thread Starter Kareem

    (@ikareem)

    oh I can do this via shortcode, great.
    Can be adjusted? to show it if the rating 3+ stars for example?

    Plugin Author Gemini Labs

    (@geminilabs)

    No, but you can do that with CSS like this:

    .glsr-summary-wrap:has([data-rating^="1"],[data-rating^="2"]) {
    display: none;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.