Currently, there are 0 users and 1 guest visiting this topic.
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 ๐Ÿ™‚

Topic Information
General Question
5.6
4.7
2.0.2
Attachments:
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)
  • You must be logged in to reply to this topic.
Register

If you don't have an account on this website, you can register for a free account here:

Register