Sunday, April 7, 2013

How To Add Large Share Buttons To Your Blog Posts

Social networking now plays a major role in getting traffic to a blog and it all becomes better when your readers can easily share or bookmark your blog posts on their favourite social network.
This post explains how to add large share buttons to your blog posts. This includes facebook, twitter, digg, delicious and the whole rest of them.

http://1.bp.blogspot.com/-vqiZVCfOucA/TZ1UEzE6PcI/AAAAAAAAA_s/ia10vqzW0pc/s1600/sahre%2Bblogger%2Bblogspot%2Bfacebook%2Btwitter%2Bdigg.png


1. Log in to your blogger account, click on design, then edit html.

2. Always remember to back up your template so you can restore it in case something goes wrong.

3. Click on Expand widget template

4. Press CTRL + F and search for this code:


<data:post.body/>

If you’re using a magazine style template or have more than one of this code in your template, locate the one that actually contains the post body on blog post pages. If you’re confused about the right one to use, search for this code instead:

<div class=’post-footer-line post-footer-line-2′/>

5. Just below that, paste this code:

<div style='border: 1px #3b5998; background-color: #eff3fa;'><div align='center'><b:if cond='data:blog.pageType == &quot;item&quot;'><strong>&#9829; CONSIDER SHARING THIS POST WITH YOUR FRIENDS IF YOU LIKE IT &#9829;</strong> <br/> <a class='opacity' expr:href='&quot;http://www.facebook.com/share.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share this post Facebook'><img alt='Facebook' src='http://1.bp.blogspot.com/_0Nr--qemD8Y/TCLxEljyW2I/AAAAAAAAAtc/QXA52ddQGI8/s1600/facebook_icn.png'/></a> <a class='opacity' expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Tweet About This Post'><img alt='Twitter' src='http://2.bp.blogspot.com/_0Nr--qemD8Y/TCLxDa9EzmI/AAAAAAAAAtE/oOfchAvI9eM/s1600/twitter_icn.png'/></a> <a class='opacity' expr:href='&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='StumbleUpon This Post'><img alt='StumbleUpon' src='http://4.bp.blogspot.com/_0Nr--qemD8Y/TCLxCa32alI/AAAAAAAAAs0/8p_cwyucZco/s1600/stumbleupon_icn.png'/></a> <a class='opacity' expr:href='&quot;http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This Post'><img alt='Digg' src='http://2.bp.blogspot.com/_0Nr--qemD8Y/TCLxEIPdlrI/AAAAAAAAAtU/2EGPUWg6z58/s1600/digg_icn.png'/></a> <a class='opacity' expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add to Delicious'><img alt='Delicious' src='http://1.bp.blogspot.com/_0Nr--qemD8Y/TCLxD79huqI/AAAAAAAAAtM/AM3fmq8kG4A/s1600/delicious_icn.png'/></a> <a class='opacity' expr:href='&quot;http://reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Reddit this post'><img alt='Reddit' src='http://4.bp.blogspot.com/_0Nr--qemD8Y/TCLxAk3NJCI/AAAAAAAAAsc/keJ7HSsoTqw/s1600/reddit_icn.png'/></a> <a class='opacity' expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Add this to Technorati Favs'><img alt='Technorati' src='http://4.bp.blogspot.com/_0Nr--qemD8Y/TCLxC1v0WiI/AAAAAAAAAs8/6Bg5MzoXbo8/s1600/technorati_icn.png'/></a> <a class='opacity' expr:href='&quot;http://www.mixx.com/submit?page_url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Mixx it'><img alt='Mixx' src='http://1.bp.blogspot.com/_0Nr--qemD8Y/TCLxFnL6d0I/AAAAAAAAAts/hUgG-zhNmgY/s1600/mixx_icn.png'/></a> <a class='opacity' expr:href='&quot;http://www.linkedin.com/shareArticle?mini=true&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share on Linkedin'><img alt='Linkedin' src='http://3.bp.blogspot.com/_0Nr--qemD8Y/TCLxFJ5--YI/AAAAAAAAAtk/q2h4YUt2gAY/s1600/linkedin_icn.png'/></a><br/><small>[<a href='http://www.doncaprio.com/2011/04/add-facebook-large-share-button.html'>Get this Widget</a>]</small></b:if></div></div>

6. Save your template. Now check any of your blog template and you can now see the large share buttons with facebook, twitter, digg, delicious, reddit, technorati, linkedin, mixx and stumbleupon. 

http://1.bp.blogspot.com/-vqiZVCfOucA/TZ1UEzE6PcI/AAAAAAAAA_s/ia10vqzW0pc/s1600/sahre%2Bblogger%2Bblogspot%2Bfacebook%2Btwitter%2Bdigg.png

You can as well style the icons with css.

0 comments:

Post a Comment

Copyright © 2012 Blogger Tips and Tricks All Right Reserved