This is a simple yet another rating plugin.
- Creates a table
{wpprefix}_imdb_rating
- Using
IMDB_Post_Ratings::init()->rating_input();
inside a post, provides a 10 star rating. Change the number using the filterip_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,post_type
,limit
,offset
IMDB_Post_Ratings::init()->get_rating( $post_id )
- returns rating for single post.