Back to GD Rating System (Lite) Forum

how to close a rating?

Published on: February 7, 2017 at 11:27 am · By: alexion
Author
Topic
#54823

Hi,

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 :-)

Viewing 4 replies - 1 through 4 (of 4 total)
Author
Replies
  • #54828

    Hi,

    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.

    Milan

    Dev4Press - Premium plugins for WordPress.

  • #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"]
  • #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.

  • #54842

    That would be awesome :-)

    Thumbs up!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to close a rating?’ is closed to new replies.