Unordered List

Tuesday, August 27, 2013

How To Add Stylish Star Rating Widget Into Your Blogger Posts

Friends, You know, what is star ratting?. This is a term to review your posts by visitors. Now i share ten different type advanced star rating widget for your blog. You can install it easily on your blogger. It make a  professional feeling about your blog. This widget also shows voting rate and viewers count. If you want to install it in your blogger. Please follow this post ..
How To Add Star Rating Widget Into Your Blogger Posts (www.masterhacksindia.blogspot.com)

First Log into your Blogger account.

  • Go to Template option.

  • Click on Edit Template button.

  • Find (CTRL+F)  </head> tag.

  • Paste Following Code Just Above </head> tag.

<link type="text/css" rel="stylesheet" href="http://static.graddit.com/css/graddit.css"/>


  • After that Find (CTRL+F) <data:post.body/> Tag. If you see more than one.  Find (CTRL+F) below code.

<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/> </b:if>


In case that you need to place rating widget under the post title paste it before <data:post.body/> tag.
Example Like This:
 
<b:if cond='data:blog.pageType == &quot;item&quot;'> Code Here <data:post.body/> </b:if>


In case that you need to place the rating widget in the end of the post place it after the <data:post.body/> tag.

Example Like This:
 
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/>Code Here  </b:if>


  • Paste following Widget code after your Decision.(Select one widget from below list)

NO:1- Ratings + Social Bar

Ratings   Social Bar (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div class="ffbs_rating_wrapper">
<div expr:id='data:post.id' class='ffbs_rate ffbs_rate_border ffbs_centered' data-label-rating='icon' data-label-views='icon' data-label-votes='icon'>{[[&#39;&lt;img src=&quot;http://static.graddit.com/img/star_blue.png&quot;/&gt;&#39;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats ffbs_centered'></div>
<div expr:id='&quot;share_&quot; + data:post.id' class='ffbs_share ffbs_share_border ffbs_centered'></div></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;class_star=ffbs_star_img&amp;class_star_set=ffbs_star_img_set&amp;class_star_vote=ffbs_star_img_vote&amp;views=yes&amp;votes=yes&amp;average=yes&amp;share=ffbs_share_&quot; + data:post.id + &quot;&quot;'></script></b:if>



NO:2- Like

Like rating widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&#39;&lt;span style=&quot;color: rgb(108, 181, 216);&quot;&gt;&#10084;&lt;/span&gt;&#39;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/1/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=1&amp;url=&quot; + data:post.url + &quot;&amp;votes=yes&quot;'></script></b:if>



NO:3- Pictures

Picture rating Widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&#39;&lt;img src=&quot;http://static.graddit.com/img/star.png&quot;/&gt;&#39;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;class_star=ffbs_star_img&amp;class_star_set=ffbs_star_img_set&amp;class_star_vote=ffbs_star_img_vote&amp;views=yes&amp;votes=yes&amp;average=yes&quot;'></script></b:if>



NO:4 -Pictures + feedback

Picture and Feedback rating widget(www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&#39;&lt;img src=&quot;http://img.graddit.com/img/ice_star.png&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/red_star.png&quot;/&gt;&#39;]]}</div>
<div expr:id='&quot;feedback_&quot; + data:post.id' class='ffbs_feedback'>{[&quot;Useless&quot;, &quot;Boring&quot;, &quot;Need more details&quot;, &quot;Perfect&quot;]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;&amp;feedback=feedback_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;class_star=ffbs_star_fimg&amp;class_star_set=ffbs_star_fimg&amp;class_star_vote=ffbs_star_fimg&amp;average=yes&amp;views=yes&amp;votes=yes&quot;'></script></b:if>



NO:5- Animated

Animated rating widget ( www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_1.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/5stars_1.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_1v.gif&quot;/&gt;&#39;], [&#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_2.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/5stars_2.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_2v.gif&quot;/&gt;&#39;], [&#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_3.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/5stars_3.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_3v.gif&quot;/&gt;&#39;], [&#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_4.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/5stars_4.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_4v.gif&quot;/&gt;&#39;], [&#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_5.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/5stars_5.gif&quot;/&gt;&#39;, &#39;&lt;img src=&quot;http://img.graddit.com/img/gifs/star_5v.gif&quot;/&gt;&#39;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;class_star=ffbs_star_aimg&amp;class_star_set=ffbs_star_aimg_set&amp;class_star_vote=ffbs_star_aimg_vote&amp;views=yes&amp;average=yes&amp;votes=yes&quot;'></script></b:if>



NO:6 -Symbols

Symbol rating widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&quot;&#9734;&quot;,&quot;&#9733;&quot;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;views=yes&amp;average=yes&amp;votes=yes&quot;'></script></b:if>



NO:7- Sequence

Sequence rating widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&quot;&#9312;&quot;,&quot;&#10102;&quot;],[&quot;&#9313;&quot;,&quot;&#10103;&quot;],[&quot;&#9314;&quot;,&quot;&#10104;&quot;],[&quot;&#9315;&quot;,&quot;&#10105;&quot;],[&quot;&#9316;&quot;,&quot;&#10106;&quot;]]}</div>
<div expr:id='&quot;ffbs_stats_&quot; + data:post.id' class='ffbs_stats'></div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/5/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;stats=ffbs_stats_&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&amp;views=yes&amp;average=yes&amp;votes=yes&quot;'></script></b:if>



NO:8- Thumb up/down

Thumb up down  rating widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&#39;&lt;img src=&quot;http://static.graddit.com/img/thumbup_small.png&quot;/&gt;&#39;],[&#39;&lt;img src=&quot;http://static.graddit.com/img/thumbdown_small.png&quot;/&gt;&#39;]]}</div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/2/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&quot;'></script></b:if>



NO:9 -Up/down arrows

Up down arrows rating widget (www.masterhacksindia.blogspot.com)


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&quot;&#8593;&quot;],[&quot;&#8595;&quot;]]}</div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/2/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;info=info-&quot; + data:post.id + &quot;&amp;info_delay=2&amp;url=&quot; + data:post.url + &quot;&quot;'></script></b:if>




NO:10- Only Tracker



<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='"labels_" + data:post.id' style='display: none; visibility: hidden;'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<data:label.name/>,</b:loop></b:if></div>Rate this posting: <div expr:id='data:post.id' class='ffbs_rate'>{[[&quot;&quot;]]}</div>
<script type='text/javascript' expr:src='&quot;http://www.graddit.com/rate/eng/0/&quot; + data:post.id + &quot;?id=&quot; + data:post.id + &quot;&amp;labels=labels_&quot; + data:post.id + &quot;&amp;url=&quot; + data:post.url + &quot;&quot;'></script></b:if>



  • Save your Template. enjoy.

1 comments:

thanks its working for me...

Post a Comment