Description
tinyRatings is a fresh take on post ratings. It offers you simple rating styles – Like, Like/Dislike and the very traditional 5 stars rating. It takes advantage of the Rest API and the Dashicons font to deliver you fast, modern looking interface. Votes can be logged based on browser fingerprint (via FingerprintJS2 library), visitor’s IP address, user id for logged in users.
Unlike other similar plugins tinyRatings is not limited to posts, pages and custom post types. You can also insert ratings for categories, tags, other taxonomy terms and event for different sections in the post. Developers will find action and filter hooks that will allow them to use tinyRatings in pretty much any scenario.
If you like my work and want to support development of my open source WordPress plugins, please consider becoming my patron at Patreon.
Also, try out my other plugins:
- ShortCache – a plugin that llows user to cache output of any shortcode by adding a
cache
attribute to it. - Content Cards – allows to Embed any link from the web easily as a beautiful Content Card;
- Gust – a Ghost-like admin panel for WordPress, featuring Markdown based split-view editor;
- tinyCoffee – A WordPress donate button plugin with a twist – ask your supporters to treat you to a coffee, beer or other beverage of your choice;
- tinySocial – a simple way to add social sharing links to Your WordPress posts via shortcodes;
- tinyTOC – automatic Table of Contents, based on H1-H6 headings in post content;
- tinyIP – Premium – stop WordPress users from sharing login information, force users to be logged in only from one device at a time;
Banner photo credit: Glen Carrie / Unsplash.com
Screenshots
Installation
- Upload the plugin files to the
/wp-content/plugins/tinyratings
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
Settings -> tinyRatings
screen to configure the plugin - Insert ratings into your posts/pages via
[tinyrating]
shortcode
FAQ
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/tinyratings
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
Settings -> tinyRatings
screen to configure the plugin - Insert ratings into your posts/pages via
[tinyrating]
shortcode
- Upload the plugin files to the
- How do I insert the rating into post?
-
Use
[tinyrating]
shortcode, or<?php do_shortcode( '[tinyrating]' ); ?>
if you want to insert it directly into a template. - How do I insert the rating into taxonomy term?
-
Use
[taxrating]
shortcode, or<?php do_shortcode( '[taxrating]' ); ?>
if you want to insert it directly into a template. - How do I insert the rating for part of a post?
-
Use
[listrating]
shortcode, or<?php do_shortcode( '[listrating]' ); ?>
if you want to insert it directly into a template. - Can I define my own use cases?
-
Sure, just use a custom
type
attribute for[tinyrating]
shortcode. For example, the plugin settings page uses[tinyrating type="demo"]
to display a demo rating. - What attributes does `[tinyrating]` shortcode have?
-
Here is the list of available attributes:
style
– allows to choose rating appearance. Available styles currently includestar
(default),like
,likedislike
andupdown
.id
– object id.type
– object type, for example ‘post’, ‘tax’, ‘list’, ‘demo’, etc.subtype
– object subtype, for example ‘page’, ‘category’, post ID for lists, etc.inline
– changes the container div todisplay:inline-block
.float
– floats the container div to the left or to the right.active
– passfalse
to disable new votes.
- How can I display top objects?
-
Via
[tinyrating_top]
shortcode or using “tinyRatings Top List” widget. - What attributes does `[tinyrating_top]` shortcode have?
-
Here is the list of available attributes:
style
– allows to choose rating appearance. Available styles currently includestar
(default),like
,likedislike
andupdown
.type
– object type, for example ‘post’, ‘tax’, ‘list’, ‘demo’, etc.subtype
– object subtype, for example ‘page’, ‘category’, post ID for lists, etc.limit
– How many top objects should be displayed.list_type
– Which type of list elements (<ul>
or<ol>
) should be used for the top list. By default, shortcode uses<ol>
and widget –<ul>
.rating
– pass false to disable display of ratings next to object names in the list.float
– gets passed down to[tinyrating]
shortcode.active
– gets passed down to[tinyrating]
shortcode.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“tinyRatings” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “tinyRatings” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.2.2
- Further Deployer integration testing.
0.2.1
- Working on Deployer intergration.
0.2.0
- Fixed exhausted memory bug on star-style ratings with structured data enabled.
- Fixed various notices.
0.1.4
- Small bugfixes
0.1.3
- Added color and result box display settings.
- Added auto-append settings.
0.1.2
- Added shortcode to display top lists.
- Added a widget to display top lists.
0.1.1
- removing CDN fingerprintjs2 option as per wordpess.org request
0.1.0
- first version to be submitted to wordpress.org