Advertisements

I’ve shared Labnol like Blogger template , in that many of you’ve mailed how to make adsense ads appear only on post pages since the template is made to display the ad on homepage as well .

Advertisements

This guide is not only applicable for labnol blogger template but also will work for all other template if that made similar to the template .

You can also use this trick on blogger default templates ( in case if you are using them ) since they do need manual change in the template .

Simple ! if you don’t want to show ads on homepage but on posts page ,then this post will help you .

Display Adsense only on Blog Posts :

Here is simple steps to Enable Adsense on Blog Posts only .

1. Goto Blogger Dashboard > Template > Edit HTML > Enable ” Expand Widgets Template “

2. Now using CTRL+F , find the code given below in blue color

<div class='post-body entry-content'>
</div>

3. Now Copy the below code and paste it after the above code .

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<!-- Paste Google Ads Code  -- >
</b:if>

4. It should look like the image given below,

blogger,adsense,display ads below post,display ads only on post

5. Preview , if you don’t see the Ads on Homepage then you’ve done it . Just Save it and make sure everything is ok .

Have any doubts , do post your comments . Don’t forgot to share with your friends ..

ShoutMeLoud Template |  Mashable Template | How to Install a blogger Template