How To Add Social Sharing Buttons Under Post Title

Sharing your articles is one of the most important way to get yourself recognised and reputed among your fellow readers . Making profiles in all social profiles the publicity of you yourself and your blog . Definitely , To maintain a good blog you also need a good fan base on the social networking sites . This not only increases the backlinks ( even though they are nofollow ) but also increases your traffic from the social networking websites . Share Your posts on these websites , but do not get addicted to it as sometimes getting addicted to Social Sites than blogging can definitely destroy your blogging career . So , here we are going to share a tutorial to add an attractive social Sharing buttons under the post title . This allows the readers to like your article , to tweet about it , and to pin your article and also share your article to 338 social networking websites . So Lets start the tutorial that can sometimes enable you instant success
First , you have to get the code from a website . This website shares many types of social sharing buttons . They are very popular among very top brands so no need for any fear about wrong codings . Addthis.com has a lot of features which makes it a lot more better than other widget creator websites .


Now , go to addthis.com . Select any type of Social sharing widget from Their list of buttons . Select the one according to your needs . Also , try to select it according to your template .Now , Customize the buttons . You can add many buttons . They have a big list of many beautiful social sharing buttons . Now , after customizing you will get the code . Copy the code . The Code that You got may be similar to the one given below if you created a widget exactly like the picture above .
  1. Go To Blogger - Template - Edit HTML
  2. Now Search For <data:post.body/>
  3. There might two or three <data:post.body/> 's .
  4. Just above it paste The code that you got after customization .
  5. Copy and paste this code that you got after customization above all the<data:post.body/> one by one and check which one is the correct one .

HTML/CSS

<style>
.share-bk-social span{font-weight:normal;margin:0;font-family:'Yanone Kaffeesatz','Helvetica Neue',Helvetica,Arial,sans-serif}
ul#social-share-bk,ul#social-share-bk li{list-style:none;padding:0;margin:0}
ul#social-share-bk li{float:left;position:relative}
#social-share-bk a{width:19px;height:20px;display:block;margin:0 3px;background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh4BGpsYd_m4a4b3ZxRwWssbLG4lgHjmCLHPyFXMeBGkvTq10tsl_DKVnq9N3Mq_DlkSILLopUGW9PcGtvdC-I_woB0ilRXBm2n9aw4IzOfJRndtuuwZITFQ7hI8b2Qqp8OMjcNzBrvyk/h20/sprite+images.png);background-position:0 0;background-repeat:no-repeat}
ul#social-share-bk li.facebook a{background-position:-19px 0}
ul#social-share-bk li.twitter a{background-position:-116px 0}
ul#social-share-bk li.google a{background-position:-39px 0}
ul#social-share-bk li.stumbleupon a{background-position:-97px 0}
ul#social-share-bk li.digg a{background-position:0 0}
ul#social-share-bk li.delicious a{background-position:-136px 0}
ul#social-share-bk li.linkedin a{background-position:-58px 0}
ul#social-share-bk li.reddit a{background-position:-78px 0}
ul#social-share-bk li.technorati a{background-position:-155px 0}
#social-share-bk strong{display:block;width:auto;padding:4px 7px;position:absolute;background-color:#1C94B9;color:white;left:200%;bottom:40px;-webkit-transition:all 0.3s ease 0s;-o-transition:all 0.3s ease 0s;transition:all 0.3s ease 0s;-moz-transition:all 0.3s ease 0s;-khtml-opacity:0;-moz-opacity:0;opacity:0;visibility:hidden}
#social-share-bk li:hover strong{left:20%;-khtml-opacity:1;-moz-opacity:1;opacity:1;visibility:visible}
.share-bk-social{height:25px;margin-bottom:15px}
.share-bk-social span{float:left;font-size:150%;padding:0}
ul#social-share-bk{float:left}
@media only screen and (max-width:479px){
.share-bk-social span{font-size:140%;padding-top:1px}
#social-share-bk a{margin:0 1px}
}
</style>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='share-sbm-social'><span>Share This To :</span>
<ul class='social-share-sbm' id='social-share-sbm'>
<li class='facebook'>
<a expr:href='&quot;http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=&quot; + data:post.url + &quot;&amp;t=&quot; + data:post.title' onclick='window.open(this.href,&quot;sharer&quot;,&quot;toolbar=0,status=0,width=626,height=4
36&quot;); return false;' rel='nofollow' title='Share this on Facebook'><strong>Facebook</strong></a>
</li>
<li class='twitter'>
<a expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.title + &quot; -- &quot; + data:post.url' rel='nofollow' title='Tweet This!'><strong>Twitter</strong></a>
</li>
<li class='google'>
<a expr:href='&quot;https://plus.google.com/share?url=&quot; + data:post.url' onclick='javascript:window.open(this.href, &quot;&quot;, &quot;menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width
=600&quot;);return false;' rel='nofollow' title='Share this on Google+'><strong>Google+</strong></a>
</li>
<li class='stumbleupon'>
<a expr:href='&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' title='Stumble upon something good? Share it on StumbleUpon'><strong>StumbleUpon</strong></a>
</li>
<li class='digg'>
<a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' title='Digg this!'><strong>Digg</strong></a>
</li>
<li class='delicious'>
<a expr:href='&quot;http://delicious.com/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' title='Share this on del.icio.us'><strong>Delicious</strong></a>
</li>
<li class='linkedin'>
<a expr:href='&quot;http://www.linkedin.com/shareArticle?mini=true&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title + &quot;&amp;summary=&amp;source=&quot;' rel='nofollow' title='Share this on LinkedIn'><strong>LinkedIn</strong></a>
</li>
<li class='reddit'>
<a expr:href='&quot;http://reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' title='Share this on Reddit'><strong>Reddit</strong></a>
</li>
<li class='technorati'>
<a expr:href='&quot;http://technorati.com/faves?add=&quot; + data:post.url' rel='nofollow' title='Share this on Technorati'><strong>Technorati</strong></a>
</li>
</ul>
</div>
</b:if>
Thats All. Now , everybody Can add this masterpiece to their blog to improve their social presence . Dont Forget to comment about this widget . Happy Blogging :) 

2 comments: