Sharethis.com is always famous for their cool and various sharing tools.In this tutorial we will add a fixed position i.e. floating share bar to blogger.It contains sharing buttons for facebook.twitter,pinterest,mail and sharethis button which contains sharing option to all social website.As always installation of this gadget is extremely easy you just have to copy and paste two snippets of codes in your template.And I am sure that this gadget will surely increase your page views little bit.So without waiting anymore lets go to the tutorial.
How To Add Share This Share Buttons To Blogger?
- Go to Blogger Dashboard > Design > Edit HTML.
- Download a copy of your template first.
- Now search for
</head>
add below code just above it.
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
Now find for below code in your template
</body>
add below piece of code just above it
<b:if cond='data:blog.pageType == "item"'>
<script>
var options={ "publisher": "ur-a2599f1-8136-72d-5d41-d74061e0b4fc", "position": "left", "ad": { "visible": false, "openDelay": 5, "closeDelay": 0}, "chicklets": { "items": ["facebook", "twitter", "pinterest", "email", "sharethis"]}};
var st_hover_widget = new sharethis.widgets.hoverbuttons(options);
</script>
</b:if>
Now save your template and you are done...
This floating bar will only visible on posts pages if you want to show this bar on your homepage then simply delete first and last line from above code.
awesome man i really like your blog and blog posts keep it up
ReplyDeleteThank you sooooo much Muhammad...
Deletenot working in my blog.
ReplyDeleteI have pasted all the things.
Check it mercis4u.blogspot.in
You are a Great man Rahul. Keep it up!!
ReplyDeletethank you dude..very awesome work,,,very helpful for my blog..see my blog dude,so that you can see your brilliant work,,here is my blog..
ReplyDeletehttp://tag-picture.blogspot.com/
thanks Rahul for providing this cool widget ......i was searching for this widget for last two days.....thanks for providing this it really look good on my blogs ....
ReplyDeletehttp://www.thebravesandsmarts.blogspot.in/
http://lov-stories.blogspot.in/
good work keep it up ....really cool widgets, i have bookmarked your site.
Thanks for the tip ;)
ReplyDeletethank .http://www.khmerleadership.org/
ReplyDelete