I was looking for a plugin that will work like IMDB movie rating does, but didn’t found like what I wanted. And they were bloated with features like GD Star Rating. So spend some hours and wrote one myself.
- Creates a table
IMDB_Post_Ratings::init()->rating_input();inside a post, provides a 10 star rating. Change the number using the filter
ip_base_rating. Cool huh?
- You can give a rating, also then can remove the rating, give again, remove again, give again…
IMDB_Post_Ratings::init()->rating_input( $post_id )Inserts the rating star bars.
IMDB_Post_Ratings::init()->get_top_rated()– get top rated posts. Supports 3 parameters,
IMDB_Post_Ratings::init()->get_rating( $post_id )– returns rating for single post.