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).
“EC Stars Rating” 是开源软件。 以下人员对此插件做出了贡献。贡献者
The plugin will not output metadata when there are no votes (see issue 2)
Add russian translation
Ensure WP 4.3 compatibility
Ensure WP 4.1 compatibility
Ensure WP 3.9 compatibility
Add best rating metadata to avoid GWT error
Ensure 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.