Sunday, January 16, 2011

How To Hide Adsense From Blogger Homepage

Hiding Adsense from blogger homepage is very necessary for people who use the traffic exchange programs because  this type of websites are against Google Adsense police.
There are tow methods to do this.

First method:
Hiding Adsense widget or any widget from blogger homepage:

Here is the way to do that
Second Method:
configure Blogger blog template to display ads only in the post pages alone. Let us see the steps to be followed for modifying the template to implement this.
Generate Parsed code for your adsense code because we cannot put adsense code directly in the xml.So parse it using AdParser.
After parsing, your adsense code should look like this screenshot:

Log in to your Dashboard--Layout--Edit HTML
Click on "Expand Widget Templates"
Scroll down to where you see this line:
<data:post.body/>


Now Copy below code and paste it before the above line:

<b:if cond ='data:blog.pageType == "item"'>
<!-- Your Adsense Parsed code -->
</b:if>
Note : You must replace  this line Your Adsense Parsed code.
Now save your template.

0 comments:

Post a Comment