• Resolved fonnte

    (@fonnte)


    Hello,

    i create parent and child post. the parent post id is 4682. parent and child post have review summary, form and reviews. all reviews should belong to parent post and i just display on child. when i submit a review from child, the parent does not add up neither summary and reviews. only review from parent added. how to fix this?

    nb: i set the parent post assign to post_id, child to 4682.

    thank you!

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

    (@geminilabs)

    1. Which version of Site Reviews are you using?
    2. Are you also assigning a category to reviews?
    3. Please copy/paste here how you are using the shortcodes

    Plugin Author Gemini Labs

    (@geminilabs)

    It sounds like you are using the v3.0 beta.

    Please make sure you are using the latest beta version which should fix the summary counts when a new review is submitted.

    In v3.0, you can also use the “recalculate counts” tool to fix the summary counts, however, unless you are using the latest beta version this would only be a temporary fix.

    Thread Starter fonnte

    (@fonnte)

    Hello, sorry for my late reply

    1. Which version of Site Reviews are you using?
    i download the plugin from wordpress repository

    [PLUGIN DETAILS]
    Current version …………………… : 2.17.0
    Previous version ………………….. :

    2. Are you also assigning a category to reviews?

    no, i don’t

    3. Please copy/paste here how you are using the shortcodes

    Parent :
    [site_reviews_summary rating=”5″ assigned_to=”post_id” schema=”true” hide=”bars”]
    [site_reviews rating=”5″ assigned_to=”post_id”? hide=”bars”]
    [site_reviews_form assign_to=”post_id”]

    Child :
    [site_reviews_summary rating=”5″ assigned_to=”4682″ schema=”true” hide=”bars”]
    [site_reviews rating=”5″ assigned_to=”4682″? hide=”bars”]
    [site_reviews_form assign_to=”4682″]

    here i create 3 reviews, 2 from child 1 from parent. only from parent show up even th assigned post location is correct.

    https://i.postimg.cc/Twc51gT2/Screenshot-225.png

    Plugin Author Gemini Labs

    (@geminilabs)

    This is happening because of the rating=5 option.

    If you read the documentation, it says:

    By default, the shortcode displays all 1-5 star reviews. Include the “rating” attribute to set the minimum star-rating of reviews to display.

    In other words, you are telling the shortcodes to only show and calculate reviews that have a 5 star rating.

    Remove that shortcode option and everything will work as expected.

    e.g.

    Parent:

    [site_reviews_summary assigned_to=post_id schema=true hide=bars]
    [site_reviews assigned_to=post_id]
    [site_reviews_form assign_to=post_id]

    Child:

    [site_reviews_summary assigned_to=4682 schema=true hide=bars]
    [site_reviews assigned_to=4682]
    [site_reviews_form assign_to=4682]
    Thread Starter fonnte

    (@fonnte)

    OMG, that’s correct. pardon me for my stupidity. i misunderstood that rating means number of star. so it was my fault at all. thanks for your assistance. no doubt 5 star for you and your works

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘review not add up’ is closed to new replies.