Add Social Bookmarking Buttons near Adsense Ads - My Blogger Market

Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

3/05/2012

Add Social Bookmarking Buttons near Adsense Ads

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 Social Icons Near AdSense Ads

1. Login to your Blogger Dashboard, then go to Template and hit the Edit HTML button (please make sure that you backup your template)

2. Click anywhere inside the code area and search using CTRL + F for the following tag:
]]></b:skin>
3. Before this tag, paste the following CSS code:
.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/AVvXsEiTj3p02L6QgV8K8MJ3-iBn-86G54aBLShIMVqUp6Mv3Lm5NamPv23S1wMWNhsOonm-IabyrcbgT6L67ORRGGhyuajA1OQhR3cKI-O3r9HJgtC7lPn8DN2TF7DJC13s1FzbM4Q2M2csnkpd/s1600/technorati.gif) no-repeat;}
.mini-facebook{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFyslH4jwgBux9nC9X-Rray65cmSEmgv-9sbGpE5cC8SoUS-BDlA8dZvZuKxKicxbfJscR9wyMOa3BiEgCPIrvCTGfjaoI63Vryx9DMIuCJlTXYpJfBNzEj3KltQj5qL-TrLn4rokYD0mR/s1600/facebook.gif) no-repeat;}
.mini-tweet{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJvSMCiRZj-FIY1__E50Ccs1ehpKGT1ai6J7rPC0zOAkRxkhcNhU1i50cBC9hU7BNtmljX443OHKDfzaqSUxzONQgiBAb2P-OK-WJPcqBgSKCmM_0eeTEivWtpR9ZXsZOqVhLACf23GOfP/s1600/tweet.gif) no-repeat;}
.mini-del{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKFZFuWPOTNUdlfLTzJYUWnCfD4hYatFR7NdqJaTG1TNnlSXqGkBi87GnSiKbhIOjG8Moj8KcgEVjhg8JfaP4PTQKYsdgrGga-eFLJrUziKIQcFfQXyIiTKfe96TvdjV-EvKijSaec1kQH/s1600/delicious.jpg) no-repeat;}
.mini-stumble{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMDrIlQH8aqwASDErQgK2QY8l09QzYB3lJ-QrudWD70a48Spz0I5uICguuGAnrcyCWKSvl_FFThoiopDJD90mjXUoqLfiY8NQuBhow6P2VyN5eeck4z-wRyVB8zEUb0KOHHbeVVOzoW24C/s1600/stumbleupon.png) no-repeat;}
.mini-digg{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWoTD09-1NG0uJu8_TTTddi8Ljpz_vBCcg8rR2nimVTwxiH7HfItm4oKAytqd486Rpx8qpZnW24VndizBVjrkaqgLRLxXqlKHZQNCgns8hYai5spZkUCLYrZeRnO6Cia7j1psAmHDdHntO/s1600/Digg.png) no-repeat;}

4. Now search 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>

Note: Replace YOUR PUBLISHER ID with your AdSense account ID. You'll find it by going to 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. Click the 'Save template' button and now you should be able to see the social bookmarking buttons near AdSense ads by visiting one of your posts.

No comments:

Post a Comment

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.

Post Top Ad

Responsive Ads Here