Title: assigned_posts don&#8217;t work properly
Last modified: November 3, 2020

---

# assigned_posts don’t work properly

 *  Resolved [owernet513](https://wordpress.org/support/users/owernet513/)
 * (@owernet513)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/)
 * Hi!
    I wanna say congratulations for the plugin and functionallity 🙂 I’m very
   happy!
 * I’m using this scenario
    [site_reviews_form assigned_posts=’7206′]
 * I don’t know why don’t get assigned to the post. (Product page)
    And I don’t 
   know why don’t get only the reviews from that post (I set manually) [site_reviews
   assigned_posts=”7205″ ]
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fassigned_posts-dont-work-properly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/#post-13617918)
 * Thanks.
 * I don’t really understand the problem as you described it, but I’ll try to help.
 * 1. First thing to do is verify that 7206 is the correct WordPress Post ID on 
   the product page.
 * ![](https://i0.wp.com/i.imgur.com/eJDGCWh.png?ssl=1)
 * 2. Second, after submitting a review in a form that auto-assigns reviews to the
   product page with a Post ID of 7206, go to the “All Reviews” page and check to
   see if the review was correctly assigned:
 * ![](https://i0.wp.com/i.imgur.com/Ywre3PD.png?ssl=1)
 * 3. Third, make sure that you are using the same Post ID in the [site_reviews]
   shortcode.
 * `[site_reviews_form assigned_posts='7206']`
    `[site_reviews assigned_posts='7206']`
 * 4. Fourth, make sure that you are using [straight quotes](https://practicaltypography.com/straight-and-curly-quotes.html)
   in the shortcodes and not curly quotes. You may also omit the quotes if the value
   does not contain a space character. For example:
 * `[site_reviews_form assigned_posts=7206]`
    `[site_reviews assigned_posts=7206]`
 * 5. And finally, you can also assign reviews dynamically to the current page instead
   of specifying a specific Post ID. Using `post_id` as the value will automatically
   use the Post ID of the current page (provided your theme is using WP_Query correctly):
 * `[site_reviews_form assigned_posts=post_id]`
    `[site_reviews assigned_posts=post_id]`
 *  Thread Starter [owernet513](https://wordpress.org/support/users/owernet513/)
 * (@owernet513)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/#post-13617956)
 * Many thanks for your fast answer.
    The problem comes when you set a product ID.
   [https://www.evernote.com/l/AnNZMcIqhH9Bt5u7Z–u4SckhlylgweaWE4](https://www.evernote.com/l/AnNZMcIqhH9Bt5u7Z–u4SckhlylgweaWE4)
   [https://www.evernote.com/l/AnO7-ml7XidAiaIrbyUfKexCj9RbGxrCGJQ](https://www.evernote.com/l/AnO7-ml7XidAiaIrbyUfKexCj9RbGxrCGJQ)
 * Don’t work properly and don’t set the post ID in that case the item ID.
 * But don’t worry I’m going to use the page ID, is not the same but is gonna work
   for me 🙂
 * Many many thanks! <3
    Have a very good day!
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/#post-13626644)
 * I just tested and it does work correctly, both for `post_id` and with a specific
   Post ID.
 * ![](https://i0.wp.com/i.imgur.com/vmK9l55.png?ssl=1)
 * ![](https://i0.wp.com/i.imgur.com/Zyx4owD.png?ssl=1)
 * ![](https://i0.wp.com/i.imgur.com/XsvEbK8.png?ssl=1)
 *  Thread Starter [owernet513](https://wordpress.org/support/users/owernet513/)
 * (@owernet513)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/#post-13628418)
 * I see… I don’t know why don’t work for me.
    Any ways many many thanks for your
   time and help.
 * I understand is an error from my WP

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘assigned_posts don’t work properly’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [owernet513](https://wordpress.org/support/users/owernet513/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/assigned_posts-dont-work-properly/#post-13628418)
 * Status: resolved