A post rating plugin that acts like IMDB post rating
PHP JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images
js
README.md
imdb-post-ratings.php
readme.txt
screenshot-1.png
top-rated-widget.php

README.md

IMDB Post Rating

This is a simple yet another rating plugin.

Features

  1. Creates a table {wpprefix}_imdb_rating
  2. Using 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?
  3. You can give a rating, also then can remove the rating, give again, remove again, give again…

Functions

  1. IMDB_Post_Ratings::init()->rating_input( $post_id ) Inserts the rating star bars.
  2. IMDB_Post_Ratings::init()->get_top_rated() - get top rated posts. Supports 3 parameters, post_type, limit, offset
  3. IMDB_Post_Ratings::init()->get_rating( $post_id ) - returns rating for single post.

Screenshot

screenshot

Author

Tareq Hasan