Ads Top

How To Show Star Ratings In Google Search Results - Blogger

how to show star ratings snnipet in blogger

Google rich snippets allow you to make your site's search results view better to get maximum visitors. And it is seen that sites with rich snippets enabled get more visitor specially sites selling products or sites about review of any ad network or site with cooking recipes. Among Google rich snippets most popular are search box in search results and star ratings widget because most of sites are able to show them for their search results but not all! other rich snippets like logo of company or organization or social profiles in search results appear only for big companies or organization.

So in this post I am going to show you how to show star ratings for all posts in Google search results.

How to add Google Rich Snippet schema for star ratings in blogger?

Step 1: Go to blogger dashboard, go to template and edit html.

how to edit blogger template

Step 2: Search for below code:

<div class='post-footer'>

You will find this code 2 times paste the below code above the second one.

how to add code in template in blogger.png

Step 3: Copy below code and paste it above the code you just searched for.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='display:none' itemscope="itemscope" itemtype="">
  <h2 itemprop="name"> <data:post.title/> </h2>
  <div itemprop="description"><data:blog.metaDescription/></div>
  <div itemprop="aggregateRating" itemscope="itemscope" itemtype="">
    <div>Book rating:
      <span itemprop="ratingValue">88</span> out of
      <span itemprop="bestRating">100</span> with
      <span itemprop="ratingCount">20</span> ratings

Step 4: Save your template.


1. To change ratings change its value,  the default best rating is 100 highlighted with yellow.

2. Rating count = 20, means number of people reviewed.

   post rating widget for blogger 5 star rating widget,Star ratings rich snippets for Google search results in blogger,How to             add star ratings in blogger,voting widgets ...

How to check Rich Snippet for star ratings is installed ?

Well, its very easy to know that you have installed rich snippet in right way so that it work. You don't need to wait for Google to show it because it may take a week. So a simple way to check it, use Google Webmaster Testing Tool. Don't know how? follow below steps.

Step 1: Go to Google Webmaster Testing Tool.

how to check google rich snippet in google webmaster tools

Step 2: Enter URL of any post and click on RUN TEST.

If you get a Review in your results like shown below in the image then your code is installed successfully and it will work as soon as Google crawl your site.

how to check rich snippets in google webmaster testing tools

Search tags: Star ratings widget for blogger, how to add rich snippets in blogger, show star ratings in google search, schema code for star ratings,How to Display Review Markup Star Rating, How to Get Star Ratings in Google Search Results, How to Use Aggregate Review Schema


  1. nice post .......thanks for sharing with us.

  2. am getting an error which i checked with that google tool kindly update the code

    1. Thank you Hazour your feedback is very valuable to improve this blog. The code is updated and checked with Google structured data tool and it is error free now.

  3. I tried its not working. Both code is different. I mean which one you attached as pic and which you mentioned as a code.

    1. Yes its different from the pic but its valid if you check with google structured data testing tool. I updated this code because Google no longer accepted it so in the pic you see the old version of the code.

  4. Dear Sir,
    I applied on my theme, but please let me know, how it will be appear on google.

    1. Soon, Google will update its search results and you will see stars for pages where you have this code.


Powered by Blogger.