• Resolved philipo

    (@timov93)


    Hello, I have a problem with the shortcode to call the written reviews on a specific page. When I call the shortcode, the reviews for all pages are displayed. I want to show only those of the specific post. I tried every –

    [site_reviews assigned_posts=”post_id”]

    global $post;

    [site_reviews assigned_posts=” ‘.$post->ID .’ “]

    [site_review post_id=”13″]

    and it always shows this:

    There are no reviews yet. Be the first one to write one.

    I’m asking for help.

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

    (@geminilabs)

    Make sure that your reviews have first been properly assigned, otherwise it won’t work.

    Thread Starter philipo

    (@timov93)

    Do I have to do this manually for every new review? Can’t it be automated?

    Plugin Author Gemini Labs

    (@geminilabs)

    Yes, add the assigned_posts option to the form like this to automatically assign submitted reviews to the current page:

    [site_reviews_form assigned_posts="post_id"]

    Then, please review the Shortcodes documentation on the Site Reviews Help & Support page.

    • This reply was modified 11 months, 2 weeks ago by Gemini Labs.
    Thread Starter philipo

    (@timov93)

    Yes, that’s how it works. And is there an option to purge the site’s cache when sending the review?

    • This reply was modified 11 months ago by philipo.
    • This reply was modified 11 months ago by philipo.
    • This reply was modified 11 months ago by philipo.
    Plugin Author Gemini Labs

    (@geminilabs)

    And is there an option to purge the site’s cache when sending the review?

    If your caching plugin is listed in the “Third Party Plugin Support” section here: https://www.ads-software.com/plugins/site-reviews/ then it will do that automatically.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show the reviews of a specific post only’ is closed to new replies.