Support » Plugin: WP-PostRatings » Only displays image rate results

  • Hi

    I display the rating results under the title on the home page and category, but on that page you can still vote.

    What if I just want to display the results of the image So users can’t make votes on the front page.

    I use this code which is input into the loop:

    `[ratings id=”‘.$post->ID.'”results=”true”]

    The page I need help with: [log in to see the link]

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

    (@gamerz)

    Why are you using a mix of PHP code with shortcode?

    <?php echo the_ratings_results( get_the_ID() ); ?>

    Thread Starter arwanapratama

    (@arwanapratama)

    That’s just a piece of PHP code that I put in the loop.

    By the way I have successfully implemented it. Thank you very much for your support.

    Very good plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only displays image rate results’ is closed to new replies.