Support » Plugins and Hacks » WP-PostRatings » [Resolved] Show the post rating only

[Resolved] Show the post rating only

  • Hello,

    Thank you so much for this great plugin. Its really nice and easy to use plugin. I just I have one question only:

    I’m using your plugin to allow the visitors/gusts to rate my wallpapers (posts) and I want to show the total rates with the stars for each wallpaper like if you select a wallpaper it will gives you some statistics about it and the total number of the users who rates this wallpaper with the average ratings.



Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan


    If you want to embed other post ratings results usingshortcode, use [ratings id="1" results="true"] where 1 is the post ID.

    If you want to use PHP <?php echo the_ratings_results(1); ?> where 1 is the post id

    Thank you so much Lester. That worked fine with me. Here’s what I did to get the rating for each post by getting the post ID:

    <?php $postid = get_the_ID(); ?>
    Rating: <?php echo the_ratings_results($postid); ?>

    But what if I want to show the stars only at specific place (statistics area) and at the same time show the default stars with the text in different place?


    Plugin Author Lester Chan


    Sorry that is not possible

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Show the post rating only’ is closed to new replies.
Skip to toolbar