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.
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.
Step 3: Copy below code and paste it above the code you just searched for.
<b:if cond='data:blog.pageType == "item"'>
<div style='display:none' itemscope="itemscope" itemtype="https://schema.org/Blog">
<h2 itemprop="name"> <data:post.title/> </h2>
<div itemprop="description"><data:blog.metaDescription/></div>
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="https://schema.org/AggregateRating">
<div>Book rating:
<span itemprop="ratingValue">88</span> out of
<span itemprop="bestRating">100</span> with
<span itemprop="ratingCount">20</span> ratings
</div>
</div>
</div>
</b:if>
<div style='display:none' itemscope="itemscope" itemtype="https://schema.org/Blog">
<h2 itemprop="name"> <data:post.title/> </h2>
<div itemprop="description"><data:blog.metaDescription/></div>
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="https://schema.org/AggregateRating">
<div>Book rating:
<span itemprop="ratingValue">88</span> out of
<span itemprop="bestRating">100</span> with
<span itemprop="ratingCount">20</span> ratings
</div>
</div>
</div>
</b:if>
Step 4: Save your template.
Customization:
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.
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.
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
0 nhận xét:
Đăng nhận xét