Well in this Tutorial I'll Show You , How to add a Beautiful Social Sharing Widget Below posts in Blogger.This is of a Bit Different Style.It is Very Easy to Install and Use.Let's See the Preview of the Widget Below:.
HOW TO ADD This SOCIAL SHARING WIDGET to Blogger
- Go to Blogger Dashboard --> Template --> Edit HTML --> Proceed
- Backup your Template before making any changes to your blog
- Now Expand Widget Templates
- Press Ctrl + F and search the code shown below
- Now Find the code shown below using [ctrl+F]
<div class='post-footer-line post-footer-line-1'/>
Now Paste the Below Code 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/AVvXsEgcLBhDPF09J3CIoBZh3eJo_mnIlq1O_QUAehDLdvSTyrKS7XS13jSdklGD9ok70Lo-MQ6IuXf5VyIDzhsVPEaA41YSbc9WcZqAiaU0MW5ew470CWUrpC6een03p37UBtjzFPvicV8wm9U/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>
<p style="display:none;">Social Sharing Widget by<a href="http://www.latesthack.com">Latest Hack</a></p>
</b:if>
So After Adding the Code,Save the Template and You're Done.
0 comments:
Post a Comment