how to close a rating?

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  alexion 3 months, 2 weeks ago.

  • Creator
    Topic
  • #54823

    alexion
    Participant

    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:
    You must be logged in to view attached files.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #54828

    MillaN
    Keymaster

    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

    alexion
    Participant

    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

    MillaN
    Keymaster

    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

    alexion
    Participant

    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.