Star rating for custom post types [closed]

For any rating functionality I always turn to GD Star Rating by Milan Petrovic.

This plugin can do SO many things, including thumb rating, rating of comments, multiple ratings, etc. It can also handle Rich Snippets (for getting your star ratings shown in Google SERPs), caching mechanisms, etc..

In short, it can do a lot, and I generally use it because of its flexibility and capabilities.

You might need to change the code depending on your site, but here is how I have implemented it on one of my sites (in ‘single.php’ template file):

if (function_exists('wp_gdsr_render_article')) {
    wp_gdsr_render_article(10, false,'',16);
}

Warning: You will want to familiarize yourself with the settings of the plugin and read up on the documentation, but it will be time well spent.