If you review books and movies, you’ll want to provide a rating. Usual movie ratings consist of 1-5 or 1-6 stars, zero stars reserved mainly for Uwe Boll movies.
This plugin let’s you do just that. Simply write
[raw]♥♥♥♥♥♥[/raw]
and you’ll get this:
♥♥♥♥♥♥
There’s an options page which allows you to configure the rating symbol (another popular one is the ★), the symbol color, the empty symbol color and lastly how many stars you can give away at the most.
Download
Download Ratings Shorttags
Syntax
The following shorttags (or shortcodes) are available:
[raw]♥♥♥♥♥♥
♥♥♥♥♥♥[/raw]
Other Notes
Questions have been asked why the default option outputs 6-star ratings. First of all, this is an option you can change if you prefer 5 star ratings (or even 3 or 20 star ratings). The reason for 6 being default is that this requires the reviewer to decide whether a movie is mediocre-good (4 stars) or mediocre-bad (3 stars). This is more useful than a 3/5 rating, because that’s the exact middle.
Replacing The Symbols With Images
Ratings Short-tags already supports using images instead of unicode symbols to show ratings. You just need to use a little CSS to get it going. Here’s an example:
.rating span { /* both full and empty symbols */
display: block;
width: 20px;
height: 20px;
float: left;
text-indent: -9999px;
background: url('url/to/fullstar.gif') no-repeat left top;
}
.rating span.empty { /* overwrite empty symbols image value */
background: url('url/to/emptystar.gif') no-repeat left top;
}
.rating:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
zoom: 1; /* triggers hasLayout */
}
Changelog
- November 2010: Small changes. Plugin is now called “Review Ratings (shortcodes & buttons)” to better reflect what the plugin does. Lots of little things have been fixed, and related ratings should now work better.
- February 2011: 3.1 compatability