Yasr – Yet Another Stars Rating

Description

Improving the user experience with your website is a top priority for everyone who cares about their online activity,
as it promotes familiarity and loyalty with your brand, and enhances visibility of your activity.

Yasr – Yet Another Stars Rating is a powerful way to add SEO-friendly user-generated reviews and testimonials to your
website posts, pages and CPT, without affecting its speed.

How To use

Reviewer Vote

With the classic editor, when you create or update a page or a post, a box (metabox) will be available in the upper right corner where you’ll
be able to insert the overall rating.
With the new Gutenberg editor, just click on the “+” icon to add a block and search for Yasr Overall Rating.
You can either place the overall rating automatically at the beginning or the end of a post (look in “Settings”
-> “Yet Another Stars Rating: Settings”), or wherever you want in the page using the shortcode [yasr_overall_rating] (easily added through the visual editor).

Visitor Votes

You can give your users the ability to vote, pasting the shortcode [yasr_visitor_votes] where you want the stars to appear.
If you’re using the new Gutenberg editor, just click on the “+” icon to add a block and search for Yasr Visitor Votes
Again, this can be placed automatically at the beginning or the end of each post; the option is in “Settings” -> “Yet Another Stars Rating: Settings”.

Multi Set

Multisets give the opportunity to score different aspects for each review: for example, if you’re reviewing a videogame, you can create the aspects “Graphics”, “Gameplay”, “Story”, etc.

Migration tools

You can easily migrate from WP-PostRatings, kk Star Ratings, Rate My Post and Multi Rating
A tab will appear in the settings if one of these plugin is detected.

Supported itemtypes

YASR supports the following schema.org itemtypes:

BlogPosting ✝,
Book ¶,
Course,
CreativeWorkSeason,
CreativeWorkSeries,
Episode,
Event,
Game,
LocalBusiness ‡,
MediaObject,
Movie Δ,
MusicPlaylist,
MusicRecording,
Organization,
Product §,
Recipe ||,
SoftwareApplication ◊

✝ BlogPosting itemtype will not show stars in search result.
More info here

¶ Book supports the following properties
* author
* bookEdition
* BookFormat
* ISBN
* numberOfPages

‡ LocalBusiness supports the following properties
* Address
* PriceRange
* Telephone

Δ Movie supports the following properties
* actor
* director
* Duration
* dateCreated

§ Products supports the following properties
* Brand
* Sku
* Global identifiers
* Price
* Currency
* Price Valid Until
* Availability
* Url

|| Recipe supports the following properties
* cookTime
* prepTime
* description
* keywords
* nutrition
* recipeCategory
* recipeCuisine
* recipeIngredient

◊ SoftwareApplication supports the following properties
* applicationCategory
* operatingSystem
* Currency
* Price Valid Until
* Availability
* Url

Video Tutorial

Old video, but still valid.

New videos, talked in Italian but easily to understand (eng subs will come)

Tutorial’s playlist

Developers

While YASR – Yet Another Stars Rating does not require any coding, it is developer friendly!
It is the first (and for now only) rating plugin that uses REST API.
Here you can find the documentation.
Further, it comes with a lot of hooks, you can find more info here .

GitHub

Related Link

Do you want more feature? Check out Yasr Pro!

Press

Tutorial by Qode Magazine
Tutorial by Greengeeks

Screenshots

  • Example of Yasr Overall Rating and Yasr Visitor Votes shortcodes
  • Yasr Multi Set
  • User's ranking showing most rated posts
  • User's ranking showing the highest rated posts
  • Ranking reviews

Blocks

This plugin provides 8 blocks.

  • Yasr: Order posts by rating Display your posts according to YASR ratings. This shortcode works only on pages.
  • Yasr: Ranking by visitors votes This ranking shows both the highest and most rated posts rated through the yasr_visitor_votes shortcode. For an item to appear in this chart, it has to be rated at least twice.
  • Yasr: Most Active Visitors This ranking shows the most active users, displaying the login name if logged in or "Anonymous" if not
  • Yasr: Ranking by overall rating This ranking shows the highest rated posts rated through the overall_rating shortcode.
  • Yasr: User Rate History If user is logged in, this shortcode shows a list of all the ratings provided by the user on [yasr_visitor_votes] shortcode
  • Yasr: Most Active Authors This ranking shows the most active reviewers on your site.
  • Yasr: Visitor Votes Insert the ability for your visitors to vote.
  • Yasr: Overall Rating Insert the author rating.

Installation

  1. Navigate to Dashboard -> Plugins -> Add New and search for YASR
  2. Click on “Install Now” and then “Activate”

FAQ

What is “Overall Rating”?

It is the vote given by who writes the review: readers are able to see this vote in read-only mode. Reviewer can vote using the box on the top right in the editor screen. Remember to insert this shortcode [yasr_overall_rating] to make it appear where you like.

What is “Visitor Rating”?

It is the vote that allows your visitors to vote: just paste this shortcode [yasr_visitor_votes] where you want the stars to appear.

Demo page for Overall Rating and Vistor Rating

What is “Multi Set”?

It is the feature that makes YASR awesome. Multisets give the opportunity to score different aspects for each review: for example, if you’re reviewing a videogame, you can create the aspects “Graphics”, “Gameplay”, “Story”, etc. and give a vote for each one. To create a set, just go in “Settings” -> “Yet Another Stars Rating: Settings” and click on the “Multi Sets” tab. To insert it into a post, just paste the shortcode that YASR will create for you.

Demo page for Multi Sets

What is “Ranking reviews” ?

It is the 10 highest rated item ranking by reviewer. In order to insert it into a post or page, just paste this shortcode [yasr_ov_ranking]

Wht is “Users’ ranking” ?

This is 2 charts in 1. Infact, this chart shows both the most rated posts/pages or the highest rated posts/pages.
For an item to appear in this chart, it has to be rated twice at least.
Paste this shortcode to make it appear where you want [yasr_most_or_highest_rated_posts]

What is “Most active reviewers” ?

If in your site there are more than 1 person writing reviews, this chart will show the 5 most active reviewers. Shortcode is [yasr_top_reviewers]

What is “Most active users” ?

When a visitor (logged in or not) rates a post/page, his rating is stored in the database. This chart will show the 10 most active users, displaying the login name if logged in or “Anonymous” otherwise. The shortcode : [yasr_most_active_users]

Demo page for Rankings

Wait, wait! Do I need to keep in mind all this shortcode?

If you’re using the new Gutenberg editor, you don’t need at all: just use the blocks.
If, instead, you’re using the classic editor, in the visual tab just click the “Yasr Shortcode” button above the editor

Does it work with caching plugins?

Since version 2.3.0 YASR works with every caching plugin available out there.
In the settings, just select “yes” to “Load results with AJAX”.
YASR has been tested with:
* Wp Super Cache
* LiteSpeed Cache
* Wp Fastest Cache
* WP-Optimize
* Cache Enabler
* Hyper Cache
* Wp Rocket

Why I don’t see stars in google?

Read here and find out how to set up rich snippets.
You can use the Structured Data Testing Tool to validate your pages.
Also read this google announcement.
If you set up everything fine, in 99% of cases your stars will appear in a week.
If doesn’t, you should work on your seo reputation.

Does it work with PHP 8?

Yes, YASR is 100% fully compatible with PHP 8

Reviews

June 12, 2023 1 reply
Plugin perfect and the support is very fast and efficient !
Read all 314 reviews

Contributors & Developers

“Yasr – Yet Another Stars Rating” is open source software. The following people have contributed to this plugin.

Contributors

“Yasr – Yet Another Stars Rating” has been translated into 15 locales. Thank you to the translators for their contributions.

Translate “Yasr – Yet Another Stars Rating” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

The full changelog can be found in the plugin’s directory. Recent entries:

3.4.5

  • FIXED: This version fixes a warning that randomly appears on the settings page.

3.4.4

  • TWEAKED: since this version, for non-logged-in users, or users that can’t edit posts, it is no longer possible to vote for a post that do not exist or is marked as private.
    If, for some reason, you need to do this, just add this code into your functions.php file

3.4.3

  • TWEAKED: The same mechanisms to prevent spam ratings for yasr_visitor_votes now also work for yasr_visitor_multiset.

3.4.2

  • Minor Changes
  • Updated Freemius SDK

3.4.1

  • FIXED: in the Dashboard, the “Recent Ratings” widget did not update the IP upon page change
  • TWEAKED: “Custom text to display when rating is saved” is now also returned on yasr_visitor_multiset
  • TWEAKED: Minor changes in “Aspect & Styles” tab
  • TWEAKED: updated freemius SDK to version 2.5.9

3.4.0

  • FIXED: missing “description” field in rich snippets
  • TWEAKED: updated freemius sdk to version 2.5.8
  • minor changes

3.3.9

  • TWEAKED: to prevent spam rating, now IP is saved by default. This is ok for the GDPR law, you can find more info into
    General Settings -> Advanced Settings
  • TWEAKED: if for some reason the rich snippets are not returned into the post content, YASR will insert it into the footer.
    More info https://wordpress.org/support/topic/please-add-json-structured-data-output-to-wp_head/ and
    https://wordpress.org/support/topic/structured-data-not-showing/
  • FIXED: conflict with the plugin Optimize Press
  • FIXED: in admin dashboard, a warning is returned in “Recent Ratings” widget in some circumstances

3.3.8

  • FIXED: Impossible to rate in a multi set in the editor screen

3.3.7

  • FIXED: Structured data options -> image url didn’t get saved
  • TWEAKED: added filters yasr_filter_itemtypes and yasr_filter_itemtypes_fields to add new rich snippet itemTypes
  • FIXED: freemius translation didn’t work.

3.3.6

  • FIXED: Dashboard -> recent ratings widget didn’t work on version 3.3.5

3.3.5

  • TWEAKED: [yasr_user_rate_history] ajax response now returns json instead of HTML
  • TWEAKED: recent ratings widget in Admin Dashboard now returns json instead of HTML
  • TWEAKED: updated Freemius SDK to version 2.5.6
  • TWEAKED: hooks documentation is generated by WPDocGen

3.3.4

  • TWEAKED: updated Freemius SDK to version 2.5.5
  • TWEAKED: minor changes

3.3.3

  • TWEAKED: in Yet Another Stars Rating -> Manage Ratings, all the data is now fetched ~x3 time faster
  • TWEAKED: added support for WP-CLI
  • TWEAKED: updated Freemius SDK to version 2.5.4

3.3.2

  • FIXED: “new criteria” button didn’t work in Settings -> “Multi Criteria” tab

3.3.1

  • FIXED: in old YASR installations (first install < 2.0.9) new multi sets didn’t get saved
  • TWEAKED: minor changes

Additional Info

See credits.txt file