• Resolved talmoshe

    (@talmoshe)


    Hey,
    I need help with your plugin.
    I am using the recent reviews shortcode for every post in my site,
    Im assigning every single post with the assign_to=”post_id”
    but every post get all the reviews from all the posts in recent reviews.
    in the reviews list on the admin each review assign to a single post so I dont know what am I doing wrong…

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

    (@geminilabs)

    Make sure you are using the assign_to option on the [site_reviews_form] shortcode, and the assigned_to option on the other shortcodes.

    You should also verify that review are being assigned correctly. If you are using the assign_to option with the post_id as the value on the form shortcode but the reviews are not being assigned, your theme is likely using a custom WP_Query loop incorrectly.

    Thread Starter talmoshe

    (@talmoshe)

    I wrote the assign_to in both shortcodes and the reviews are assign to the correct post but when I try to display all the reviews for a post I get all the reviews from all the posts
    those are the shortcodes:
    [site_reviews_form assign_to=”post_id” id=”kd8mxdye” hide=”email,terms”]
    [site_reviews assign_to=”post_id” id=”kd8mz0or”]

    Plugin Author Gemini Labs

    (@geminilabs)

    Please re-read the first part of my reply above.

    I have the same problem:

    [site_reviews assigned_to=”post_id” id=”xyz”]
    [site_reviews_summary assigned_to=”post_id” id=”xyz”]
    [site_reviews_form assign_to=”post_id” id=”xyz”]

    “post_id” is totally ignored and all assign_to get assigned to the default current page as it was: [site_reviews assign_to=””]

    If the problem is WP_Query loop, what do I need to look at for fix the issue?

    Thread Starter talmoshe

    (@talmoshe)

    Ohhh now I got it
    thanks!
    @ceedoo please open a new thread couse I need to post it as resolved

    How did you fix yours?
    Does post_id work?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Assign_to=”post_id”’ is closed to new replies.