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/AVvXsEiQzNm_MxOCbhlIDWxB-G4ikQNFlGBcMPgso2N1ZioMaKfFS2jBeGcNihfdh1to_uY5h71GiDvfwzgWCYDd2DXrQAV5kBV6L2AahqlFno8et7a1qcKl5XdDeqcU5or9Q_13bpy1cxfQKcHV/s1600/technorati.gif) no-repeat;}
.mini-facebook{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKyJlPPmR8E758tSAgDzgL6iP0m5Gg1b07Ux4hjPSZpNXWL2hAwifQfG6Bu6EL8BnX03rkA1drPgeThlPUd5eh0sBjmTc4LVeV4A4abldm3No9fsjeUzgap-2Cyvm_ZTHRLKKIgirZffTj/s1600/facebook.gif) no-repeat;}
.mini-tweet{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTnVZg0QyClZsQOrn9moteWUjj000EsBu6O76NhTLHDuTdLPnCpAJ9ez6UxD09jTp6pC8arFvoboF5ZJb9TMcfv_EQ0f7HizjOMpYf6v4sQDrdXlvc0xexBgb7-DegWBME0y06mdxRhIs4/s1600/tweet.gif) no-repeat;}
.mini-del{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlR0ux27L4rQAdHYKmNJmz2cFB8bw3ZRq3gc2ntokMorrZ4MeBk-sis77m4DhN6Z5QSTGICMWZ0UA49ufqn3DEO-YGUwsZQlkF8vLL3WSknyYB4NMjencbFS9CTe3SNhva8d6G7lyHAadf/s1600/delicious.jpg) no-repeat;}
.mini-stumble{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqx95A5EcTe5ScSUjC3AvWgURoXov2wIvhdGnKzNlO2sHIv74dbIHH_z9iSxRvwG0Uq1sE1Uvj8lN7JhiNC_hwqVBz7vDa7kBhU2OTjNu1oULvDWwDh2F3FM0TGVTchpRICREDe7QUiUFN/s1600/stumbleupon.png) no-repeat;}
.mini-digg{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUE2cKKypg5C5dfOZOPQZmyhEWFZv-98qvJDWm7IK9PhZ8-p8PQtsHlyqJKpjv8tSuVaNkajJPly6q8JZNM_XSMCoPaF3_gN2y1IXzTQerRTna8CsZLVq0BtvxJR1NJ07IzI9NjfvqMfGU/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='"post-body-" + data:post.id'>
5) Add the following code directly below it:
<b:if cond='data:blog.pageType == "item"'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='354'>
<script type='text/javascript'><!--
google_ad_client="pub-YOUR PUBLISHER ID";
google_ad_host="pub-1556223355139109";
google_ad_width=300;
google_ad_height=250;
google_ad_format="300x250_as";
google_ad_type="text_image";
google_ad_host_channel="0001";
google_color_border="FFFFFF";
google_color_bg="FFFFFF";
google_color_link="0000FF";
google_color_url="008000";
google_color_text="000000";
//--></script>
<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
</script>
</td>
<td><div class='ads-right-min'>
<a class='mini-del' expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Add To Del.icio.us'>Add This To Del.icio.us</a>
<a class='mini-tweet' expr:href='"http://twitter.com/home?status=Reading " + data:post.title + " " + data:post.url' target='_blank' title='Post this article on Twitter'>Tweet/ReTweet This</a>
<a class='mini-facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Share On Facebook'>Share on Facebook</a>
<a class='mini-stumble' expr:href='"http://www.stumbleupon.com/refer.php?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Stumble This'>StumbleUpon This</a>
<a class='mini-tech' expr:href='"http://www.technorati.com/faves?add=" + data:post.url' target='_blank' title='Add To Technorati'>Add to Technorati</a>
<a class='mini-digg' expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + 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.
Tidak ada komentar:
Posting Komentar