الجمعة، 30 سبتمبر، 2011

How To Remove AdSense Ads from the Homepage

Posted by islam ibrahim 6:41 م, under | 1 comment

This post explains how to hide Google Adsense Ads In Home Page And display them only Inside Post pages Alone.
If you want to hide Google Adsense Ads In Home Page ,follow the steps below.
1.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 ad code Should look like this.
2.Log in to your dashboard--> layout- -> Edit HTML
3.Click on "Expand Widget Templates"

4.Scroll down to where you see this:
<data:post.body/>

5.Now Copy below code and paste it before the above line.
<b:if cond ='data:blog.pageType == "item"'>

<!-- Your AdSense code here -->

</b:if>

Note : You must you must replace <!-- Your AdSense code here --> with Your Adsense Parsed code.
6.Now save your template and you are done.
http://bit.ly/4w36zA

1 التعليقات:

thanks sir good post Demo Here free-mobile-solutions.blogspot.in/

إرسال تعليق