WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] Thums Up Only (2 posts)

  1. vzhilov
    Member
    Posted 2 years ago #

    Hello!
    I would like to use Thumb Up rating without Thumb Down so users can only vote the post up or ignore.

    Could you please advise what to change to take the Thumb Down off?

    http://wordpress.org/extend/plugins/wp-postratings/

  2. vzhilov
    Member
    Posted 2 years ago #

    Ha! I have found a solution myself. In wp-postratings.php we need to limit the display cycles only to display second image from the image array. That means to replaces line:

    for($i=1; $i <= $ratings_max; $i++) {

    on

    for($i=2; $i <= $ratings_max; $i++) {

    in "Function: Gets HTML of rating images" and "Function: Gets HTML of rating images for voting" sections.

    I have implemented it on my blog and that seems fine.

    Thank you for the great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic