New Floating Social Sharing Bar Widget for Blogger / Blogspot

New Fixed / Floating Social sharing Horizontal Bar Widget for Blogger. This widget is requested by one of way2blogging reader, and thanks for requesting this new widget for you as well as for our Readers. :)
Coming to this widget, it is horizontal social sharing bar widget with counter and is displayed in above the post body. while you scrolling this horizontal social bar is fixed to the top of Post. which will give to readers to share the page immediately by the floating bar. This widget comes with Twitter, Facebook, Google plus, Pinterest, StumbleUpon and Digg buttons.
Live Preview

Preview
How to Add Floating Social Sharing Bar Widget?

First,

    Login to New Blogger Dashboard > Choose your Blog and Click the More Options Dropdown
    Select the Template > Click on Edit HTML > Proceed
    Check/Tick the Expand Template Widgets checkbox

Just follow 3 Simple steps,
The jQuery Plugin!

As always, it is jQuery based widget, and your blog must have the jQuery plugin. if your blog already have a latest jQuery plugin, then Ignore this step and directly follow the Second step.
If not add the below snippet code before </head> tag

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>

The Social Scripts

This Code contains jQuery calls and Social button scripts and styles, and those are loads only in Post Pages which will decrease, load time when you on home or other pages. ;)
Add the below snippet code before </head> tag





Adding Social Buttons Widget Let’s add the final Social horizontal bar widget code. Add this code before tag.
Save Template!!!

Save the template and check your blog post pages, a working and awesome jQuery based floating social horizontal bar on your blog.

Hope this widget is helpful to you, Please leave your comments, and share this Widget.
Thanks to Raghav! for requesting this simple and awesome widget.
Update :-
1. I found the tag Three times?

If you found the <data:post.body/> three times, then you might using the Auto readmore hack,
Solution:
Search for below two lines

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

Place the Widget code in between the two tags.
2. How to change the background color of Horizontal bar?

You can change the background color of Horizontal bar.
Solution:
In the Second step (The Social Scripts), search for

background:#FFFFFF;

and change the #FFFFFF with your own Hex Color.

1 komentar

  1. This will let the visitors share your posts on social media and hence, you may get some more traffic which will be a reward for your hard work.
    website design

    ReplyDelete

Posts a comment

 
© UPTD Kebersihan Bekasi Barat
Designed by Jayssatriani
Back to top