Tagged: close rating
- February 7, 2017 at 11:27 am#54823
Is it possible to close a rating? We made a rating( poll) for the best design and now all participants have rated their favorite and we like to close the rating but like to show the ratings 🙂
Topic InformationGeneral Question126.96.36.199.2
Attachments:You must be logged in to view attached files.
- February 7, 2017 at 12:22 pm #54828
There is no option to limit rating to a time period. But, if you have your own code implementing the poll, and use the function to render rating block, you can change function parameters to disable the rating if the poll is closed. I don’t know how you have implemented this, but function for rating block allows you to pass ‘disable_rating’ value to the method list of arguments to disable the rating.
Check out the documentation for the functions and arguments to use.
Dev4Press - Premium plugins for WordPress.February 7, 2017 at 1:47 pm #54829
Thnx for quick reply!
I used it very simple, not using php or other code:
<img class="alignnone size-full wp-image-2275" src="http://gronicaldizziness.nl/images/exaple.jpg" width="474" height="454" /> [gdrts_stars_rating type="posts.image" id=2275 template="expanded" style_size=48 style_type="font" style_font_name="star"]February 7, 2017 at 3:09 pm #54839
This can’t be done using shortcode, function in a template is needed. I will consider adding the control to the shortcode also in one of the next versions.
Dev4Press - Premium plugins for WordPress.February 7, 2017 at 5:03 pm #54842
That would be awesome 🙂
You must be logged in to reply to this topic.