WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
Ratings Not Showing Any Wording? (2 posts)

  1. lindaloustarr
    Member
    Posted 1 year ago #

    Hi :)
    Installed wp-postratings for a client http://roflgator.com stars show fine, rating works but there is no wording after the stars like on my pages (example: http://breathepossibility.com/inspiration/how-to-manifest-anything-emmanuel-dagher ) where it actually show (2 votes, average: 5:00 out of 5) after the stars. I had to add the text after the php code below to let people know to leave a rating - your help is awesomely appreciated!
    Linda Lou

    [code]<?php if(function_exists('the_ratings')) { the_ratings(); } ?><span style="color: #000000;">Please Leave a Star Rating</span>[/code]

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

  2. ujgreg
    Member
    Posted 1 year ago #

    Hi,

    Did you figure this out at all?

    If I use the php code above, it shows:

    ***** (1 votes, average: 5.00 out of 5)

    When I click a star or if I'm on a post that has been rated with my testing accounts it shows:

    ***** ()

    It should say
    ***** (2 votes, average 5.00 out of 5)

    This short code added with PHP works the same as the above:

    <?php echo do_shortcode('[ratings]') ?>

    This short code shows the numbers that I want but doesn't allow voting/clicking of stars even on posts not yet rated by that user:

    <?php echo do_shortcode('[ratings results="true"]') ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.