Yasr – Yet Another Stars Rating


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 es un modo potente de añadir reseñas y recomendaciones amigables con el SEO a las entradas de tu web y CPT, sin afectar a su velocidad.

Cómo se usa

Voto de reseñador

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 Guteneberg 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).

Votos de visitantes

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».

Conjuntos multiples

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.

Herramientas de migración

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.

Tipos de elemento compatibles

YASR admite los siguientes tipos de elemento de schema.org:

BlogPosting ✝,
Book ¶,
LocalBusiness ‡,
Movie Δ,
Product §,
Recipe ||,

✝ El tipo de elemento BlogPosting no mostrará estrellas en los resultados de búsqueda.
Más información aquí

¶ Book admite las siguientes propiedades
* author
* bookEdition
* BookFormat
* numberOfPages

‡ LocalBusiness admite las siguientes propiedades
* Address
* PriceRange
* Telephone

Δ Movie admite las siguientes propiedades
* actor
* director
* Duration
* dateCreated

§ Products admite las siguientes propiedades
* Brand
* Sku
* Global identifiers
* Price
* Currency
* Price Valid Until
* Availability
* Url

|| Recipe admite las siguientes propiedades
* cookTime
* prepTime
* description
* keywords
* nutrition
* recipeCategory
* recipeCuisine
* recipeIngredient

Tutorial en vídeo

Old video, but still valid.

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

Tutorial’s playlist


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 .

Enlace relacionado

Do you want more feature? Check out Yasr Pro!


Tutorial by Qode Magazine
Tutorial by Greengeeks


  • Example of Yasr Overall Rating and Yasr Votos de visitantes shortcodes
  • Conjunto múltiple de YASR
  • User's ranking showing most rated posts
  • User's ranking showing highest rated posts
  • Ranking reviews


Este plugin proporciona 8 bloques.

  • Yasr - Yet Another Stars Rating
  • Yasr - Yet Another Stars Rating
  • Yasr - Yet Another Stars Rating
  • Yasr - Yet Another Stars Rating
  • Yasr - Yet Another Stars Rating
  • Yasr - Yet Another Stars Rating
  • [DEPRECATED]Yasr: Overall Rating
  • [DEPRECATED]Yasr: Visitor Votes


  1. Navigate to Dashboard -> Plugins -> Add New and search for YASR
  2. Haz clic en «Instalar ahora» y luego en «Activar».


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

¿Funciona con plugins de caché?

Desde la versión 2.3.0, YASR funciona con todo plugin de caché disponible.
En los ajustes simplemente selecciona «Sí» a «Cargar resultados con AJAX».
YASR ha sido probado con:
* Wp Super Cache
* LiteSpeed Cache
* Wp Fastest Cache
* WP-Optimize
* Cache Enabler
* Hyper Cache
* Wp Rocket

¿Por qué no veo estrellas en 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 everythings 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


12 de octubre de 2021
Good plugin. I was also looking for a way to add ratings to comments. Highly recommend.
20 de agosto de 2021
Thanks for this plugin it works perfectly and I loved the fact you take care of suggestions from users.
13 de agosto de 2021
This is more than a basic rating/review plugin. Packed with features. I got the pro version. Great plugin and the dev is highly competent and responsive.
12 de julio de 2021
The best plugin I have ever used
Leer todas las 271 reseñas

Colaboradores y desarrolladores

«Yasr – Yet Another Stars Rating» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


«Yasr – Yet Another Stars Rating» ha sido traducido a 14 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Yasr – Yet Another Stars Rating» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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


  • FIXED: rich snippets error that could occur in some circumstances
  • FIXED: css fix
  • TWEAKED: code cleanup


  • FIXED: if shortcode exists for a post or page, but there are no ratings, wrong rich snippets are returned


  • FIXED: ranking yasr_most_or_highest_rated_posts doesn’t load in some circumstances


  • FIXED: stars next to the title didn’t work if shortcode doesn’t exists in a post or page
  • TWEAKED: minor changes


  • TWEAKED: rich snippets are now included only if shortcode exists in post or page
  • TWEAKED: global yasr_plugin_imported is now refactored into a constant
  • FIXED: removed duplicated query
  • FIXED: Import functions from external plugins is now compatible with mysql8
  • FIXED: itemTypename didn’t get saved into Rich snippet options above the editor


  • TWEAKED: added a check to improve compatibility with external plugins
  • TWEAKED: removed old and useless languages files: only three were left to use as example
  • FIXED: litespeed compatibility


  • FIXED: Missing dependency for rankings shortcodes


  • TWEAKED: YASR js assets are now loaded only if shortcode exists, and every shortcode has is ows js file. This will reduce
    the unused js code, increasing lighthouse/pagespeed results.
  • NEW FEATURE: new shortcode, ‘ yasr_user_rate_history ‘ : this will works only for logged in users, and will show
    all the ratings that the user has give.
  • FIX: js console error in widget page


  • ENHANCEMENT: All gutenberg’s blocks have been updated to apiVersion 2. This mean that YASR now requires at least
    WordPress version 5.6
  • FIX: some errors that occur using yasr_overall_rating and yasr_visitor_votes gutenberg blocks
  • ENHANCEMENT: All gutenberg’s blocks now support alignment


  • FIXED: compatibility with WordPress 5.8
  • FIXED: link to trial page
  • TWEAKED: added some hooks


  • FIXED: if «Enable stars next to the title?» is activated, the ratings also appears in rss feed.


  • FIXED: error that could occurs in some circumstances


  • FIXED: if blogPosting itemType is selected, and a non valid url image is is supplied in the rich snippets settings,
    a php warning is returned
  • TWEAKED: The ajax method yasr_stats_visitors_votes now returns only json data, instead of HTML
  • TWEAKED: Ajax error responses are now json_encoded
  • TWEAKED: stats tooltip in yasr_visitor_votes works now with flexbox
  • TWEAKED: minor changes


  • FIXED: missing stats in some circumstances for yasr_visitor_votes shortcode


  • FIXED: error when «Load results with AJAX?» is enabled, and the attribute «readonly» is set to yasr_visitor_votes shortcode
  • TWEAKED: css minor changes


  • TWEAKED: When «Load results with AJAX?» is enabled, data is loaded through admin-ajax.php instead of REST API.
  • TWEAKED: most of caching plugins are automatically detected: if one is found, «load results with ajax» is enabled by default.
  • Cambios menores


  • TWEAKED: new pricing page
  • Cambios menores


  • TWEAKED: in yasr_visitor_votes, chart icon now has same color of the text.


  • TWEAKED: in front end, dashicons are not required anymore!
  • TWEAKED: Vertical align of text and stars on yasr_visitor_votes shortcode.
    The class yasr-total-average-container has be renamed yasr-vv-stats-text-container.
  • TWEAKED: Custom texts support.
  • TWEAKED: Updated support for Autoptimize, Litespeed, Cache Enabler and WpRocket.
  • TWEAKED: Removed «itemListElement» from Recipe microdata.
  • TWEAKED: added samesite attribute when cookie is set.


  • NEW FEATURE: new shortcode: yasr_multi_set_ranking : this will show rankings from yasr_multiset
  • TWEAKED: code cleanup.


  • NEW FEATURE: new shortcode: yasr_visitor_multi_set_ranking : this will show rankings from yasr_visitor_multiset
  • TWEAKED: minor fixes


  • FIXED: minor bugs that could happen in rare circumstances


  • FIXED: fixed warning that can return on fresh installations


  • FIXED: error YasrMultiSetData.php on line 61 if multiSet are not used

Additional Info

See credits.txt file