• Resolved arnav11

    (@arnav11)


    Hi,

    I have been trying to assign reviews to specific posts/pages, but I am unable to do so. Any test review I enter on the frontend, is assigned to all posts, and every post displays the average rating across all posts, instead of only for that specific post. I have tried everything, including selecting the ‘Strict Assignment’ option, using “assigned_posts”, “assigned_terms” and “post_type” correctly in my short codes with the correct post IDs/slugs and Categories, even adding the following code in the functions.php file of my theme (WordPress twenty-twenty-four):

    add_filter(‘site-reviews/query/sql/clause/operator’, function () {
    return ‘AND’;
    });

    These are the short codes I have inserted on my page: [site_reviews_summary post_type:cultural-tour-3-days hide=”bars”], [site_reviews_form post_type:cultural-tour-3-days] and [site_reviews post_type:cultural-tour-3-days display=”10″].

    On another page ( https://bhutantropicaltoursandtravel.com/2024/06/16/dagala-trekking/ ), I ahve inserted similar short codes, with just the slug being different (dagala-trekking).

    Nothing seems to work. Can someone help me resolve this issue? I would be very grateful.

    Thanks and regards,

    Arnav

    • This topic was modified 5 months ago by arnav11.

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

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

    (@geminilabs)

    Please show here how you are using the three shortcodes to display the reviews, summary, and form (along with the shortcode options) on your page.

    Thread Starter arnav11

    (@arnav11)

    Hi, thank you for reaching out. I am sharing the screenshots with you:

    https://imgur.com/gallery/assigned-reviews-np6izXr

    • This reply was modified 5 months ago by arnav11.
    Plugin Author Gemini Labs

    (@geminilabs)

    1. post_type is not a shortcode option! Please refer to the provided shortcode documentation on the Site Reviews > Help & Support > Shortcodes page to learn which options are available and how to use them.
    2. Even better, use the provided blocks instead of the shortcodes since you are using the Block editor.
    Thread Starter arnav11

    (@arnav11)

    Yes, its working for me now after using the block editor. Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.