Wednesday, 9 January 2008

Adsense Code in Post Page Blogger

I have found a way to display my adsense ads on my posts while your viewing the individual post page and not when your on the home page. As you may know blogger doesn't give you control of the template for each page, I have found a very simple way around this. Before I show you how, I want you to go over to Tips for New Bloggers, there you'll learn how to actually put ads on your posts. Once you have your code simply add the following two red lines and your done.

<b:if cond='data:blog.pageType == "item"'>
Your code here


As you can see it's working fine on my site, let me know if it works for you.


Post a Comment