Type Company Name, App or Site...

7 Oct 2016

Add Rating and Number of Views Widget

Rating widget is important to put in your blog, It shows you how your topic rate is. therefore im giving you the codes of the widget to install it on your blog, This widget contains rates and number of views. To add it just Follow these steps 

  1. From your blogger dashboard click temlate and the Edit HTML, Back up your template
  2. look for </head> and past the following code above it 
        <script type="text/javascript" src="http://bilokr.googlecode.com/files/jquery.min.js.txt"/>
  3. Now look for <data:post.body/> and past the bellow code after/under it   
    <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://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>

Did You Like and Enjoy Reading This Article ? Please Share it

No comments

Copyright © All rights reserved Jaliloweb 2016 - 2017 | Privacy Policy | YouTube Subscribe Exchange | Advertise