Friday, October 19, 2012

how to remove AdSense after each post having read more


 Using AdSense after each post is best way to increase your AdSense revenue. It helps in getting more clicks on ads. i explained you this in earlier post .how to insert adsense between posts

This is good for people who do not use expandable post hack. The problem is, ad appears on home page as well the post pages. Look at screen shot below…
If you are using expandable post hack then it doesn’t look good to show ads on homepage. You can avoid this by adding two lines of code around codes provided in earlier post…
<b:if cond='data:blog.pageType == "item"'>
"Modified Google AdSense Ad Code"
</b:if>
The above lines add a condition which prevent this hack from working on homepage, label(category) or archive pages. Look at following screenshot for some help…
That’s All! If you have any really good hack, please share via comments!
Thanks for reading… :-)

No comments:

Post a Comment