Loading...

Yasr Structured data

Have you ever noticed the stars in google search results? I’m sure you did!
And if you are here it’s because you want them too! With YASR you can easily add rich snippets in your posts/pages.

In the settings, you can choose between “Review Rating” or “Aggregate Rating”.

What does this mean?

Review Rating

If you select “Review Rating”, your site will be indexed in search engines like the image to the right: as you can see, it is simply the rating given by the author, so it gets data from yasr_overall_rating shortcode.

Rating itemtype with Yasr

Aggregate Rating

f you select, instead, “Aggregate Rating“, your site will be indexed in search engines using your readers’ rating; data will be taken from yasr_visitor_shortcode

Users’ Review

With YASR Pro, if enabled, all the rating data will be taken from the users’ reviews, so pages will be indexed like the image on the right.

Leave a Reply

Your email address will not be published. Required fields are marked *

16 thoughts on “Yasr rich snippets

  1. Hi, if I use shortcode [yasr_overall_rating] there is no json microdata. Is it possible to add something to shortcode or in php to define proporties of object manually?

    1. Hello Adam, sorry for the delay of this answer.

      If you want to use microdata for [yasr_overall_rating] shortcode, you’ve to select “Review Rating” at this question in the setting:

      Which rich snippet do you want to use?

      Best,
      Dario

  2. Hi, wonderful plugin!

    Is posible to deactivate rich snippets? I’m trying to apply ratings to pages that are neither products, places, recipes, blogs. Instead, they are something more similar to companies, or groups. I was thinking that maybe have a rich snippets that is not correct can be harmful for SEO.

    Thanks!

    1. Hello, sorry for the delay of this answer!

      It’s not possible with a setting, we’ve to insert a little function in your child theme!

      Is it ok for you?

      1. Thank you for your answer!

        We have a customised theme, so no child. So i think that I just should insert the function in the function.php file?

          1. Yes, true but the theme (not programmed by me) is a custom teme, so don’t know who will update it and when. Anyway, if I have to apply only some functions without a child theme, I use Code Snippets..

      1. I need to Review Count with YASR ( on the picture).
        But I just bought( Yasr Custom Rankings) that can’t do it( picture).
        So I can hope to have -Ratng:7.8/-2,659 reviews.
        I have purchased plugin.
        Do this? If Unable.
          Can replace ?
        I am not good at Engilish.
        Zeng pppdog

        1. Hi, I just bought your plugin “Yasr Custom Rankings”. However, due to my poor English (I’m not a native speaker), I’m sorry I made a stupid mistake. Actually, what I wanted was “Review Count with YASR”. Is it possible to allow me apply for a change?

          1. Thanks for your reply. But when I logged in My Purchase and go to “View Details and Downloads”, I didn’t see any download link of “Yasr User Review” or “Review Count with YASR”, what I only see is still the download link of “yasr-custom-rankings-0.0.8” only. Please check it again for me.