WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
Show rating score(Not voting) (3 posts)

  1. www.n1bar.com
    Member
    Posted 1 year ago #

    Guys I am testing my new site here http://www.latinunit.org

    I've been trying to look for a way to show only the image of the score instead of allowing users to vote in the front page, but i cannot find a way to do it.

    Can someone enlighten me

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

  2. Escape Creative
    Member
    Posted 1 year ago #

    I'm in the same boat. I see all the ratings templates, but how do you apply a specific template to the output?

    I'm sure it's simple syntax. Can someone please point us in the right direction.

    Thanks guys,
    Dave

  3. Escape Creative
    Member
    Posted 1 year ago #

    Found a support topic that has the answer:

    http://wordpress.org/support/topic/plugin-wp-postratings-stars-and-text-on-the-post-and-just-the-stars-on-the-index?replies=3

    It looks like this:

    <?php if(function_exists('the_ratings')) { echo expand_ratings_template('<span class="rating">%RATINGS_IMAGES%</span> <strong>%RATINGS_USERS% votes</strong>', get_the_ID()); } ?>

    You can see a full list of the template variables (the things inside the % sign) in the WP admin section, Ratings > Ratings Templates.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags