A ’super fast WordPress star rating plugin, optimized for SEO, and with a really low impact on page load (just CSS + a bit of HTML, plus the strictly required JS for working).
The svn repo has been recently synchronized with a github one.
Contributions are more than welcome, so feel free to ’submit a PR there if you wish 🙂
How it works
Basically we create a new table called
(prefix)ec_stars_votes, where we store the votes of the people (to prevent duplicate votes).
The number of votes and the ’sum of the total votes are stored in the
(prefix)options table in form of custom meta fields, one for the count, and another for the ’sum. Both fields get updated when someone votes.
- Upload the content of the zip package to
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin according to your needs. If you need help you can visit the plugin page
- Place the following snippet where you want the stars to appear (normally
- Additionally, if you just want the rating to appear in a single post, you can use the next shortcode:
- What rich snippets format should I use, microdata or microformats?
Actually, microdata is recommended by Google, but with microformats google detects the stars and uses them in your searches (example).
Contributors & Developers
“EC Stars Rating” is open source software. The following people have contributed to this plugin.Contributors
The plugin will not output metadata when there are no votes (see is’sue 2)
Add russian translation
En’sure WP 4.3 compatibility
En’sure WP 4.1 compatibility
En’sure WP 3.9 compatibility
Add best rating metadata to avoid GWT error
En’sure WP 3.8 compatibility
Added shortcode + Widget (beta)
Votes system fix (problem with db), and more internationalization.
Include language files
A bit of performance improvements and more accessibility and documentation
Initial stable release, with some number format fixes.