This tutorial will show you How To Add Beautiful Social Sharing Widget Just Below Of Blogger Posts. We have shared many kind social sharing and bookmarking widgets but this one is little different from all of them because each button has a different background.This button contains a twitter tweet button,facebook like button and google +1 button also the installation of the widget is one step installation you just have to add some piece of code in your template.
LIVE DEMO
Social Sharing Widget Preview
Social Sharing Widget Demo
How To Add Social Sharing Widget
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
<div class='post-footer-line post-footer-line-1'/>
- Now Paste the Code Shown Below just below/after it
<b:if cond='data:blog.pageType == "item"'>
<style>
.promote_post_bg {
height: 103px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAoj-PDhhMbpkYfAG81bgHZPmHC9Qy46neIloe7CBnBswW8ZkbFUhXEcD2esKofP8Y45wUREt57BMOf2rHeoGvW_tkhgU4mxhJNG_gFnzDtc8BiM-n_ccOcVZXp4guc15c6d6hcFd4T7g/s1600/latesthack.png) 0 -7px no-repeat;
width: 500px;
margin-left: 65px;
}
.promote_twitter {
width: 130px;
height: 38px;
float: left;
margin: 0 39px 0 0;
padding: 65px 0 0 13px;
text-align: center;
}
.promote_facebook {
width: 115px;
height: 40px;
float: left;
margin: 0 39px 0 0;
padding: 63px 0 0 28px;
text-align: center;
}
.promote_google {
width: 65px;
height: 40px;
float: left;
margin: 0 39px 0 0;
padding: 65px 0 0 28px;
text-align: center;
}
</style>
<div class='promote_post_bg'>
<div class='promote_twitter'>
<a class='twitter-share-button' data-via='latesthack' href='https://twitter.com/share'>Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class='promote_facebook'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=100&action=like&font=arial&colorscheme=light&height=21"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100px; height:21px;'/> </div>
<div class='promote_google'>
<script type='text/javascript'>
(function () {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
<g:plusone annotation="none" size='medium'></g:plusone>
</div>
</div>
</b:if>
<style>
.promote_post_bg {
height: 103px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAoj-PDhhMbpkYfAG81bgHZPmHC9Qy46neIloe7CBnBswW8ZkbFUhXEcD2esKofP8Y45wUREt57BMOf2rHeoGvW_tkhgU4mxhJNG_gFnzDtc8BiM-n_ccOcVZXp4guc15c6d6hcFd4T7g/s1600/latesthack.png) 0 -7px no-repeat;
width: 500px;
margin-left: 65px;
}
.promote_twitter {
width: 130px;
height: 38px;
float: left;
margin: 0 39px 0 0;
padding: 65px 0 0 13px;
text-align: center;
}
.promote_facebook {
width: 115px;
height: 40px;
float: left;
margin: 0 39px 0 0;
padding: 63px 0 0 28px;
text-align: center;
}
.promote_google {
width: 65px;
height: 40px;
float: left;
margin: 0 39px 0 0;
padding: 65px 0 0 28px;
text-align: center;
}
</style>
<div class='promote_post_bg'>
<div class='promote_twitter'>
<a class='twitter-share-button' data-via='latesthack' href='https://twitter.com/share'>Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class='promote_facebook'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=100&action=like&font=arial&colorscheme=light&height=21"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100px; height:21px;'/> </div>
<div class='promote_google'>
<script type='text/javascript'>
(function () {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
<g:plusone annotation="none" size='medium'></g:plusone>
</div>
</div>
</b:if>
- Now save your template
19 comments
thanks admin...
+1 and like from me.....
oh thats beautiful widget. Like this. Its a new type of share buttons. Thanks for sharing.
not working in my tamplate cause my tampl don't have post-footer-line post-footer-line-1'/> u can help me
@Randhy Karnefa Search <data:post.body/> in your template and paste the code just below it.
You will find <data:post.body/> twice. Paste it after the second one
@sonunot working again T.T my tampl have 3 code T.T
@sonucheck u mail i have sent.... i say thank's for u T.T u can help
@Randhy Karnefa Fixed and sent you back
@Vijay VarmaCan't Understand what you are saying
Hi,it aint displaying after i insert it,am sending you my template to you email for assistance just like you told somebody above to send you theirs....Thanks
@Philbert Kiziah Fixed and sent back to you
I still dont see it, are you able to view anything here on www.kiziahsupertall.blogspot.com ? kindly let me know.Thanks
@Philbert Kiziah Check your mail i have sent you a backup of your template. Upload that template
I just emailed you with what i think is my BIGGER problem....did you get it? check and let me write a testimonial after it works for me too,I really love it!
JUST AFTER A LONG STRUGGLE! YOU SAVED ME!!!!!! Am sure I can tell everybody to TRUST you with anything,my blog is looking WOW! Thanks...
can you share how to add this beautiful comment? coz we can see "AUTHOR" every time you replay comments :D
I pasted the code below div class='fauxborder-right footer-fauxborder-right' but the facebook button malfunctions. Can you help. Take a look: http://speedymubiru.blogspot.com/2012/04/why-local-ngos-should-upgrade-to-donor.html
@Martin Mubiru Reinstall this widget again , i have changed the widget code it will work fine now
is not Showing in my blog :( i have 5 " and no class='post-footer-line post-footer-line-1'/>" but i have "class='post-footer-line post-footer-line-1'>"
@baber Siddiqui You can also add it below <data:post.body/>
Click to Add a New Comment