Go back to surfing session

Subscribe to our feed!
First please read my previous posts about placing the adsense ads:
How to insert adsense ads between posts
Adsense ads inside blogger posts

Why remove ads between posts?
My reason to remove the them is the maximum number of 3 ads on a single page, the main page of the blog is the most visited page so better place those 3 ads more wiser.
Here is a way to remove the ads placed between posts without to remove the ads placed inside posts.


1. Go to Layout , Edit HTML , check the Expand Widget Templates checkbox

2. Find the following code in your template:

<b:if cond='data:post.includeAd'> <data:adEnd/>
<data:adCode/> <data:adStart/> </b:if>


3. Replace it with one of the following codes:
Probably you have noticed that if you use ads between posts the ads are visible at the bottom of the post pages under the comments, to remove these ads ,too replace the above code with the following one:adsense ads

<b:if cond='data:blog.url ==
&quot;http://seo-tips-blogger.blogspot.com/kaka.html&quot;'>
<b:if cond='data:post.includeAd'> <data:adEnd/>
<data:adCode/> <data:adStart/> </b:if>
</b:if>
If you want to keep that ad at the bottom of post pages use the following code:
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.includeAd'> <data:adEnd/>
<data:adCode/> <data:adStart/> </b:if>
</b:if>
3. Save your template!
Related tutorials:

0 comments:

Post a Comment