Add Social Bookmarking Buttons near Adsense Ads

Posted by Unknown

The main advantages of this widget is that you can increase your AdSense impressions along with CTR - and of course, fill up the empty space besides Adsense units, making your blog look more attractive.

Adding the social bookmarking buttons at the top of your blogger post, will make things easier when your readers will want to share your posts via the networking sites. The widget includes buttons for Del.icio.us, Twitter, Facebook, StumbleUpon, Technorati and Digg.


How to add this widget:

1. Firstly, login to your Blogger Dashboard and go to Template and then click on the Edit HTML button
 (don't forget to make a backup of your template)

2. Search (CTRL + F) for the following tag:

]]></b:skin>

3. Paste the following CSS code just above it:

.ads{margin-bottom:10px; border-top:solid 1px #DEDEDE; padding-top:10px; font-size:13px;}
.ads-right-min{border-left:solid 1px #DEDEDE; height:250px; padding-left:10px;}
.ads-right-min a:link,
.ads-right-min a:visited,
.bottom-share-links a:link,
.bottom-share-links a:visited{
font-size:12px;
color:#222;
display:block;
height:22px;
line-height:22px;
margin-bottom:16px;
padding-left:32px;
}
.ads-right-min a:hover,
.bottom-share-links a:hover{color:#666;}
.mini-tech{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpLaHlhMZR3nJku1OEp4PlFsJCGbQrf_5btO19rHxDJzSfLCA_2yC88rV3thkA2S6_L1hCpyy1blIvWcRAwRqrtXhHw4xEP252WFmHPA9LOwbTYP1GfnDMT0oiOGp9VrnhPNKEeJ9aCa0x/s1600/technorati.gif) no-repeat;}
.mini-facebook{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQEtaNgMkjw1kfgGTe8gTLtPN8J01SuGLZ6YnYlaWxLrC0oTF8b1-1eFli6OOzwdhn3DHaP_YjnJFa509JUQSzFAFoNgclzRhxwu_B8qjngiF9wmJ_ZkyTfJotmpaBbuTna7jZdygvXiQn/s1600/facebook.gif) no-repeat;}
.mini-tweet{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEienzV5b5czHcSBldM6ZCrRDFA7lwTCC_cJkHfnD8YiEPdY_Yp6k5YD5Z8NjFcK5_q2qIlAHEusKaYT8fq7faqRmefxw89TYTLPom-UVlHYzDe9QBYHHUXTgqceOon0-P1UNkqv0k74Gfsv/s1600/tweet.gif) no-repeat;}
.mini-del{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh755eA9IT_Pr2gKRhBKkmfZSMqP0YfQiBp7T5fDZZ6v__STpUkfbFJF5cylXVjmS4xYMUDYMKreZXJTR4n7_abM_-cvhXeyJ-jQUG8meL_XmJzBNT273NRh-0BgL7tUpuchhcDcTQOK0wV/s1600/delicious.jpg) no-repeat;}
.mini-stumble{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghGtaC-FxQDI77-JRq_is0OG-oIgxnYpGcAcdJsuC829YNtL7OhpkeJqrNL9McAmxaIHXDptzKIk3ceFT3jI-5jxiRfHHi9Wimvgzj6ARFJbUSGpXIvCI4tbWklElQjqxAI5djo3Kf0UaL/s1600/stumbleupon.png) no-repeat;}
.mini-digg{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCllEy-qHIaGy51v1S3EylnxirbLnLRSuErgF_0XcAAB-8dqh4qU9499WfrcbnaHbUCvU33mLopVFoLdF3maqmwkVyF_lX0TQEzRJc-O3BAPFzq613GtgUZ-0Jq-IC0i3Od_Bn-3bP9mtD/s1600/Digg.png) no-repeat;}

4) Now search - using "CTRL+F" - for the following line:

<div class='post-body entry-content'>

 If you can't find it, search for this one:

<div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id'>

5) Add the following code directly below it:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='354'>
&lt;script type=&#39;text/javascript&#39;&gt;&lt;!--
google_ad_client=&quot;pub-YOUR PUBLISHER ID&quot;;
google_ad_host=&quot;pub-1556223355139109&quot;;
google_ad_width=300;
google_ad_height=250;
google_ad_format=&quot;300x250_as&quot;;
google_ad_type=&quot;text_image&quot;;
google_ad_host_channel=&quot;0001&quot;;
google_color_border=&quot;FFFFFF&quot;;
google_color_bg=&quot;FFFFFF&quot;;
google_color_link=&quot;0000FF&quot;;
google_color_url=&quot;008000&quot;;
google_color_text=&quot;000000&quot;;
//--&gt;&lt;/script&gt;
&lt;script src=&#39;http://pagead2.googlesyndication.com/pagead/show_ads.js&#39; type=&#39;text/javascript&#39;&gt;
&lt;/script&gt;
</td>
<td><div class='ads-right-min'>
<a class='mini-del' 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 Del.icio.us'>Add This To Del.icio.us</a>
<a class='mini-tweet' expr:href='&quot;http://twitter.com/home?status=Reading &quot; + data:post.title + &quot; &quot; + data:post.url' target='_blank' title='Post this article on Twitter'>Tweet/ReTweet This</a>
<a class='mini-facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share On Facebook'>Share on Facebook</a>
<a class='mini-stumble' expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumble This'>StumbleUpon This</a>
<a class='mini-tech' expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Add To Technorati'>Add to Technorati</a>
<a class='mini-digg' expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This'>Digg This</a>
</div>
</td>
</tr>
</table>
</div>
</b:if>

Replace YOUR PUBLISHER ID with your AdSense account ID. You'll find it with the Home tab, on your "Account settings" page. It should look something like this:

pub-5623269265862168 (copy only the numbers and then paste them)

6) Save template... and just go to one of your post to see the changes!

{ 0 comments... read them below or add one }

Post a Comment