Adsense below the post title is known to give good CTR(Click-Through-Ratio). Here is how you can add adsense ads below every post title, only on inner pages and except the home page of your blog. [Yes, in a safe way!]
- Go to Dashboard > Edit HTML.
- Click on ‘Expand Widget Templates’.
- Search for <div class=’post-body’> and place your adsense code below this line.
- < with <
- > with >
- “ with "
- To show your adsense only on the inner pages and not on home page, add <b:if cond=’data:blog.pageType == "item"’> before the adsense code and </b:if> after the adsense code. You can also add <center> tags to center align your ads.
- The final code should look like this.
Regarding code changes that I have done, no need to worry about Adsense TOS violation. I have asked my Google adsense representative and according to her as long as any page’s source shows the same code as you copied from adsense account there is no problem. You can verify this by going to your page where you have put adsense. Right click and View Source (in IE) and View Page Source (In Firefox). Of course if you want to double verify this, you can always check with your adsense rep.
For those interested in testing and knowing which ad unit would perform best for them, can refer this excellent post on A/B testing from official adsense blog.
Free eBook: Important WordPress Plugins
An exhaustive list of all free, premium WordPress plugins we use across network of our wordpress sites.