Title: Limit Reviews &#8211; correct usage?
Last modified: October 27, 2020

---

# Limit Reviews – correct usage?

 *  Resolved [Jill Anderson](https://wordpress.org/support/users/jillbalkus/)
 * (@jillbalkus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/)
 * Hi! I’m using Site Reviews 5.1.6 and I’m not sure how to make it so that users
   can rate individual posts/pages but not rate the same post/page more than once.
 * I’ve set Limit Reviews to “by Username.”
 * I have a custom post type called Sessions. On each session, I’m displaying the
   reviews via shortcode in the single-session.php file:
 * `[site_reviews_form assigned_posts=post_id hide="content,email,name,terms,title"]`
 * I also have a popup where I’ve inserted the shortcode to rate a specific page
   with an ID of 17. That shortcode looks like this:
 * `[site_reviews_form assigned_posts=17 hide="content,email,name,terms,title"]`
 * When I test things out, I’m only able to rate 1 session. When I go to another
   session or the popup, it says I’ve already submitting a review.
 * Am I doing something wrong?
 * Shouldn’t the limit be applied to the assigned post/page? Not the site overall?

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

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588349)
 * Since you are assigning a specific Post ID `assigned_posts=17` to the form shortcode,**
   all reviews submitted on the form** will be assigned to the page with a Post 
   ID of 17.
 * If you are limiting review to Username, that means that the currently logged-
   in user will only be able to submit a review in that form one time (since the
   form will always assign the review to the page with a Post ID of 17).
 * Instead, you can use `assigned_posts=post_id` in the form shortcode. That way,
   the form will assign reviews to the Post ID **of the current page** instead of
   only the page with a Post ID of 17.
 *  Thread Starter [Jill Anderson](https://wordpress.org/support/users/jillbalkus/)
 * (@jillbalkus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588368)
 * I tried changing the shortcode in the popup to use post_id, but the same issue
   occurs. I went ahead and removed that shortcode so that the shortcode ONLY appears
   on the custom post type single pages.
 * But, I still have the same issue. It only lets me rate 1 session. If I go to 
   a different session (which has a different post ID), it says I’ve already submitted
   a review.
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588388)
 * Let me perform some checks. It’s possible that you found a bug.
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588405)
 * I found the problem, it will be fixed in the next update which should be released
   today or tomorrow.
 *  Thread Starter [Jill Anderson](https://wordpress.org/support/users/jillbalkus/)
 * (@jillbalkus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588408)
 * Thank you! Thank you!
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588426)
 * If you cannot wait for the update, you can patch it yourself by replacing the
   following plugin file:
 * `site-reviews/plugin/Modules/Validator/ReviewLimitsValidator.php`
 * With this one:
 * [https://raw.githubusercontent.com/pryley/site-reviews/09b7679c66692c7ea56ae10d1815604ecb7d7f8c/plugin/Modules/Validator/ReviewLimitsValidator.php](https://raw.githubusercontent.com/pryley/site-reviews/09b7679c66692c7ea56ae10d1815604ecb7d7f8c/plugin/Modules/Validator/ReviewLimitsValidator.php)
 *  Thread Starter [Jill Anderson](https://wordpress.org/support/users/jillbalkus/)
 * (@jillbalkus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13588467)
 * That worked perfectly! Many thanks 🙂
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13632042)
 * Fixed in v5.2.0

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

The topic ‘Limit Reviews – correct usage?’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/limit-reviews-correct-usage/#post-13632042)
 * Status: resolved