Post ratings are a great way to get feedback from your readers about your posts, you can see which ones are popular and tailor your content to include more of these types. Post ratings are also used for other purposes such as image galleries powered by WordPress, review blogs etc.  One of the best (and free!) plugins for this purpose is WP Post Ratings, in this post I will show you how to install and setup this plugin.

Install The Plugin

Download the WP Post Ratings, then upload it to your wp-content/plugins folder via ftp. You can download a free ftp client called Filezilla for this purpose.

You can also upload the plugin directly, via your wordpress admin panel by clicking Plugins > Add New > Upload > Install Now.

You will also need to enter your ftp settings there as well, your webhost will have provided these when you signed up.

Once the plugin is uploaded, visit your plugins page and click “activate” next to both of the plugins. You will now see a new menu item called “Ratings”.

Add the Ratings code to your theme

Now you have activated the plugin, you need to place a small piece of code into your theme which tells the plugin where to show the ratings widget. For the purpose of this demo I will be using the default TwentyTen theme and placing the code on the single blog post page.

Go to “Appearance” > “Editor” and select “Loop-Single” from the right hand list of templates. In the code, look for :

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

Directly underneath that, add this code :

<?php if(function_exists('the_ratings')) { the_ratings(); } ?>

That will display the rating widget at the top of the post, before the title.

You can play about with the positioning of the widget by moving it around in the single-loop template, for instance if you wanted it to appear at the end of the post. Click “Update File” to save the code and then visit a single post and you should see the widget now appears :

Configuring the plugin

If you click the menu item “Ratings Options” you will see the settings you can use to customise the rating widget for your site. At the top are a number of graphics you can choose instead of the default star images :

After you have chosen your required images, you can choose whether to show text with them, fading options and who is allowed to vote: whether you want guests to vote or only registered members etc.

The next menu item is “Manage Ratings” – in this option you can see all the ratings you have received, which post they were on, the users IP address and time of vote. This is helpfull to prevent fraudulent voting.

The next menu item is “Ratings Templates” you dont need to touch this unless you want to do some advanced customisation of the ratings widget – here you can change the text that is displayed, where the images are displayed etc by the use of tags :

The final option is “Uninstall WP Post Ratings”, this just gives you the option to remove all traces of the plugin from your site.


Oliver Dale is the founder of Kooc Media, An Internet Company based in Manchester, UK. I founded WPLift and ThemeFurnace, find out more on my Personal Blog. Thanks!

Siteground Hosting
Does WPLift load fast for you? That’s because we use Siteground for hosting, WPLift readers can click here to get up to 60% off hosting for your site.

Disclosure: This page may contain affiliate links for which we will receive compensation if a purchase is made.

15 votes, average: 4.53 out of 515 votes, average: 4.53 out of 515 votes, average: 4.53 out of 515 votes, average: 4.53 out of 515 votes, average: 4.53 out of 5 (15 votes, average: 4.53 out of 5, rated)
Leave Yours +


  1.  This is really helpful to me right now! Thanks.

  2. Abogados Us

    thanks very informative articles.

  3. learning wp

    Thanks, the clearest, plainest, easy to understand instructions ever.

  4. UpReseller

    Nice tutorial. Thanks a lot for posting it. I’ll try to work with them on my new movie website.

  5. Bangash

    Thanks, Is it possible to rate the post featured image when display on jquery slider…any kind of help……..

  6. Steve

    I love this Plugin but I´m quite sensitive when it comes to collecting user data. Do you of a way to disable collecting the IP address or to replace it with a local one? Thanks

  7. Robert Morreil

    Hi all,
    How to add rating  for simple press forum or mingle forum. Is there any plugin..If available please suggest me.


  8. Joanna

    Perfect instructions, just what I needed – thanks!

  9. Thanks Oliver, i will try to use it .

  10. I want to set default or random rating for all posts and then calculated +1 from the time user rates it.
    Is this any possibility?

    Thank you

  11. chung cu times city

    Good day! I jus wish tto offer you a big thumbs up for the greazt
    info you have got here on this post. I amm returning tto
    your blog for more soon.

  • Comments are Closed

Our Sponsors


Join our Newsletter to Receive 6 Free WordPress Themes

We will also send you our weekly Newsletter packed with the Latest WordPress Content.

We will look after your email & Never Spam!

You have Successfully Subscribed!