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.

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA7wP3IM24AWO4IJEgUV4RgsntgxVbED1ytJJbiFd-XCUUZDduq7KuVRsnqWwrFsMKwLAV1gbLdrEecn9qFfDfJIItsxfwWb46zM4HFCe29_SCjiQkXeluH1ChhV5qKtJYKxv2GqtSJvVM/s1600/sahre+blogger+blogspot+facebook+twitter+digg.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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3aNYIHz9GpPgsfhVyH4VASqWC6c7fnQ8Fuz0IMLP9hva7cC5LVsJMN7yuTsS72TiOpmtw0FOt2I5O5SDJmU_RRnX5ryIzbb-cLSZxgMessu8AYq6XQFzJal_c5NuurlgXk2Tz2OHDjw/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRkz4f_5M_tKGkFRWHioDg51HexlC5QPHw1eUEDQTLPs3u6_ycCPWUk8z8-_bPPMiqFSzytQg_whsaK0q4jh_YRozKXOb2AbJFwxWGzMJaUwOzuUT6xeTAoplmuPDPT23lfxKKZUZ3MQ/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyiqZeJd8vLyrevay-M5-pfjY2tNcO3FsLlWlernRWuUZaQq_ziWcIantN5H95piUkA_fTQiQZ7X1JmVdO7BxztL1E7R9zNm9kyoiL9NA9ns5Iovbe2HARHGUiuvT99Yw02kmlNek4JQ/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4uhCzGwdml-bHsYO3lzIHH_vGne0v3a6yFvy-RPC47m4k7gOqfFaz82LuULPZqom8ZaoskHbcgmIAuQvHNb_2uFuR304K5gYflkmDnPkbfLrdb9Wcb686wL3ZUeoFaRhMGZ9Soki1ew/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLZoqUDiwOYB75lLs7SHYHk63rEcwCGMhlVS1vDn7RXfBj2gRnnGiIKKxWYhkpEMTk-oe7qXsO25o83JlXbxmm734zR8FrCL9XlJnIdCWH3uF1N6U8KT4RuHJpFr2yDilVv2Bva8qTYw/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfCVckv5e-lZbtrpfQSFkOIUa8Syh4bBXKvzG_LF9p_yZgwKxigMlNbhVQtIDlVV9DLNoIIeHiFzQx5wf1bORFzu8Lp7D_BYICUeT6yLcGYZohHCL6_xA2VJ8rFjOjv4VOd1ZBocHm6A/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvtxh33g2HV83lM83oTI0Ucev9pDDF6RWm9uTqUgXQV6W3vwjOb7Mm-anVWI0pBk7YVIXyEkpmn5Y6sjvhYsNON3iaL-8gF9WDxA2x5Z5kqyZKs9gI_X97GFLQn3SYZAaTWuyHjA0mrQ/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFJJLyfEpn8-dr0WgOGF4mcpYj29nWPnUu2EA6TIEdSFWySck5djGzCKViZeApD9749ZAhvPF5AEaZQxxZZUI2u2Mwv-n55Bdd5ExOueCtWwJmEIDtLBVY-yTO3_jk4MTBLMS3a7H86A/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='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEHBuacBqLrhOCkFBUPwyc4bVTyXEdThIDXqSPuPXbQrC3kA20waDwpTl76eUwzsFNBnzsoVqTrvSjDmLrKC4cEeiNC1qoNagazqgrQu065R3rfStDn2BHDLhfQIcnpLaVXkH6H_1mnQ/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. 

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA7wP3IM24AWO4IJEgUV4RgsntgxVbED1ytJJbiFd-XCUUZDduq7KuVRsnqWwrFsMKwLAV1gbLdrEecn9qFfDfJIItsxfwWb46zM4HFCe29_SCjiQkXeluH1ChhV5qKtJYKxv2GqtSJvVM/s1600/sahre+blogger+blogspot+facebook+twitter+digg.png

You can as well style the icons with css.

0 comments:

Post a Comment

Copyright © 2012 Blogger Tips and Tricks All Right Reserved