Tuesday, December 3, 2013

How To Add Star Ratings For Blogger Blogs


By on Tuesday, December 03, 2013

Following simple steps you can easily add star ratings in blog.

Every blogger wants to know what visitors like, dislike or what visitors really want for this you should know the opinion of visitors and for that adding star ratings in the blog is the best idea because you can easily track what visitors really want.

For this it really simple and easy step.

1. Go to Dashboard and click on template edit HTML.



2. Now search for </head> tag by clicking ctrl+f

3. After finding head tag paste the below code just above or before </head>.

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

4 After completing the above code search for this code.

<data:post.body/>

5.Now copy the below code and paste above or below <data:post.body/>.


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

6. Now save the template and your work done.


About Rafay Ansar

Rafay Ansar is a young geek, freelancer writer, blogger, social media expert and author of MakeSomeSense. He writes about technology, Information and Securities, Web Development, Tips And Tricks, Blogging And Other Web resources.