Spice Up Your Blogger Blog with Custom Designed Templates - BTNT Services!

New Floating social bookmarking widget for blogger 2012

On By // 28 comments
New Floating social bookmarking widget for blogger 2012
Hi Friends Almost Two months I cant Publish Any Article Due to Semester Exams. Now It's All over And the Holiday Was Started. Now I'm going to Publish an Updated Version Of the Previous Floating Bar. The New Version of this Widget Is Fast loading, Minimal Look and has the Floating Feature like the previous version. This Widget contains Sharing Buttons Of Popular Social Networks like Twitter, Facebook, Google+, StumbleUpon and Pinterest. It's Also Integrated this widget with Add This Plugin So, now with the new version we can share our content to more than 300 Social Sharing sites. OK Lets see How to add this social bookmarking widget for blogger.
Before that We can see the live demo of this widget.
Live Demo:-

How to add this Social Bookmarking widget on your blog?

It's Easy to Install this widget in your blogger blog. To add it just follow the simple steps given below.
  • In Dashboard Go to Template > Edit HTML Button
  • Ignore the Warning and Click the Proceed button
  • Then Click Expand Widget Templates
  • Search for <b:includable id='post' var='post'>
  • Below that place the following code
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <style type='text/css'>
    #btnt-social {  bottom: 10%; margin-left: -50px; position: fixed; }
    #btnt-social ul { list-style: none;clear: none;padding: 0px 0px ;margin: 5px 0;}
    #btnt-social ul li { display: inline;background:none;margin:0;padding:0;}
    #btnt-social ul li a { display:block;  width: 32px; height:32px; margin: 5px 0; }
    #btnt-social ul li a.twitter    { background: url("http://4.bp.blogspot.com/-u2iiutQz5QA/UIAk8Vtp_II/AAAAAAAABPQ/XBZODm4K0DQ/s32/twitter.png") repeat scroll 0 0 transparent;  }
    #btnt-social ul li a.facebook   { background: url("http://1.bp.blogspot.com/-9o_wP7VCif0/UIAk1AYOP9I/AAAAAAAABOo/jYqTSd2Olc8/s32/facebook.png") repeat scroll 0 0 transparent; }
    #btnt-social ul li a.stumbleupon  { background: url("http://2.bp.blogspot.com/-oE7gDBjPZB0/UIAk6yjGdxI/AAAAAAAABPI/txDzyQTgBLw/s32/stumbleupon.png") repeat scroll 0 0 transparent;  }
    #btnt-social ul li .google-plus    { background: url("http://4.bp.blogspot.com/-Wdr3H9MYGvk/UH11mcV_l_I/AAAAAAAABOU/dsY1q4zDDzg/s1600/g-plus.png") repeat scroll -1px 0 transparent;  }
    #btnt-social ul li a.pin-it-button   {  background: url("http://1.bp.blogspot.com/-35-nyc3AF1Y/UIAk4CUxvwI/AAAAAAAABO4/bTkQCEbmd_g/s32/pinterest.png") repeat scroll 0 0 transparent;  }
    #btnt-social ul li .addthis_32x32_style .dummy .at300bs, #btnt-social ul li .addthis_32x32_style .at300bs, #btnt-social ul li .addthis_32x32_style .at15t   { background: url("http://1.bp.blogspot.com/-JtRkjaxbhH8/UIAk5l0FZiI/AAAAAAAABPA/8KjmKBkNSTo/s32/sharethis.png") repeat scroll 0 0 transparent;  }
    <div id='btnt-social'>
    <li><a class='twitter' expr:href='&quot;http://twitter.com/?status=&quot; + data:post.title + &quot; - &quot; + data:post.url ' rel='nofollow' target='_blank' title='Share this post on twitter'/></li>
    <li><a class='facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Share this post on Facebook'/></li>
    <li><a class='stumbleupon' expr:href='&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Share this post on Stunbleupon'/></li>
    <li><a class='google-plus' expr:href='&quot; http://plus.google.com/share?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank' title='Share this post on Google+ '/></li>
    <li><a class='pin-it-button' href='javascript:void(run_pinmarklet())'/>
    <script src='http://assets.pinterest.com/js/pinit.js' type='text/javascript'/>
    <script type='text/javascript'>
    function run_pinmarklet() {
        var e=document.createElement(&#39;script&#39;);
        e.setAttribute(&#39;src&#39;,&#39;http://assets.pinterest.com/js/pinmarklet.js?r=&#39; + Math.random()*99999999);
    <li><div class='addthis_toolbox addthis_32x32_style'>
    <a class='addthis_button_compact'/>
    <script type='text/javascript'>
    var addthis_config = {
         ui_cobrand: &quot;blogtipsntricks.com&quot;,
    ui_header_color: &quot;#ffffff&quot;,
         ui_header_background: &quot;#0080FF&quot;
    <script src='http://s7.addthis.com/js/300/addthis_widget.js' type='text/javascript'/></li>
  • Now save your template And you can see your post page to check it.

This floating bar would display on post pages only and wont display on homepage.

If you Liked it! then feel Free to Share and leave a Comment. Please post any query About this Widget you have in the comment box below.


  1. Hey chander,

    how do you make this appear on the homepage too?

  2. Simple Just Remove the following Code to show the widget in homepage.

    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <b:if cond='data:blog.pageType != &quot;static_page&quot;'>


    And My name is not chander It's chandeep. Call me Chandeep :)

    1. Admin. You should change addthis version to latest.

      Find :s7.addthis.com/js/250/addthis_widget.js
      Replace :s7.addthis.com/js/300/addthis_widget.js

      The new addthis have more social site. I hope you change it :)

      Peace, Danial

    2. Thanks for Describing. :) I changed it.

  3. how to have related post like you?please reply.

  4. Replies
    1. No,It works Fine In your blog(I checked it). You have to see the post page to see the widget working. :)

    2. yes. after i fix it myself. please check your script, a lot of undefined code. Anyway thanks for the lovely script.

    3. It seems that you haven't changed anything except the margin. It should be changed because of your blogger template design. Most of the sites the widget works fine.

      Anyway I'm glad It worked for you. :)

      Please let me know what type of undefined code you found in this widget.

    4. This is the capture screen of your code above. i highlighted the undefined code


  5. Ohh!! Thanks for mentioning the Errors I Just encountered this error. Now I fixed all errors.

    I think this Error should be caused While Updating this post with latest version of addthis.

    All the opening brackets a Replaced with the word Undefined.

    Thanks for mentioning. :)

    Keep in touch...

    1. no problem. glad that i can help u a little bit.

  6. Today i have seen your blog and really this is very usefull to me, i got almost all answers in your site... I add almost all widgets that you suggested in my website http://www.cinema65.com/,... Really thanks a lot

  7. I don't know what I'm doing wrong, I went to edit HTML and found , placed your codes and nothing happened, what am I doing wrong?

  8. hey bro this code is not in my template any other way i can add this i really wanna add this please help ...!!
    thank u...!!

  9. hey bro post is really awesome i wanna add widget but this code not in my template any other way i can add this??
    please help...!!

    1. Expand Widget Templates then Search it . You will find It

    2. i did already but not found...!!

    3. Bro, Can you give your blog URL

  10. @b:includable id='post' var='post'@

  11. The problem is you've modified the margin of the widget. just reinstall the widget without modifying. It'll definitely Work.

    Thanks for using our widget... :)

  12. Followed your instructions and worked for me, thanks.

  13. Its a Cool looking Widget.. Thanks for the Share!!

  14. Hi,

    I have started using your widgets extensively in my blog and that means I love every awesome widgets you code for blogger.

    I recently installed this widget and is just working fine except that the widget is floating even below the post body i.e. in the footer of my template which I am not very comfortable with. Can please give me solution so that the widget stops floating below the post body?

    Thanks a ton!

    1. Sorry, It's not possible by editing the widget.

  15. Hello... Chandeep j
    actually i am using Magger blogger template...when i opens a post to read...then belows , related post widget is not working but only widget text is showing...
    i want to show related posts in the end of the post...
    please help me...
    your template is awesome looks

  16. Thanks, this worked great. I didn[t need to expand the widgets, I just clicked Edit HTML and searched for that code and then pasted your code below it. Done!.


I Appreciate your valuable Feedback. So, Please DO NOT SPAM - Spam comments will be deleted immediately.

Don't use brand name in name field and you're not allowed to use links in comments unless it's necessary

Such Comments will be removed immediately.