How To Place Adsense Ad Between the Blog Post

Posted by: Shahabz Malik on 28 February 2013 Under:
How to put adsense between article
Finally we have successfully find a way to integrate Adsense code between all the post automatically. As before we launched a article which describes a trick to add Adsense ad in between a single article and you have to place ad code on all the post to appear ad on all post that's why it is a time consuming trick but today we have got the idea that allows you to place your Adsense ad once that further allows this code to appear in between all the post. 

WordPress offers several plugins like Quick Adsense or Easy Adsense that allows you to easily place Adsense ad code anywhere in the blog, that's why we are going to sharing a simple technique that will allow the blogger user also to increase their ad CTR by displaying ad in between the post.

What Is the Idea?

The idea behind this article relate to jump break tag or more tag that shows on homepage of the blog. We are just trying to place Adsense code just before the more tag which result to display Adsense ad between the post.

How to Add Adsense code within the Post

  1. Log in to Blogger dashboard.
  2. Go to Template and take backup your template then click Edit HTML.
  3. Paste the following code just above the </head>
<script type='text/javascript'>
$(document).ready(function(){

$(&#39;a[name=&quot;more&quot;]&#39;).before($(&#39;#abtadsense&#39;).html());

});
</script>
  1. Now search for <data:post.body/> and paste the following code just below it. 
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='abtadsense'>
<br/>
<center>
Place Adsense Code Here </center>
<br/>
</div>
</b:if> 
That's it, now you have to make some modification to correct working of this code.

Modification

  • You have to pass your Adsense code from HTML encoder tool for its correct working.
  •  And then place that code in place of Place Adsense Code Here.

Credits

This wonderful script is given by Ahmed Nasir, who works for My Blogger Tricks as a script handler.

If you have further query or suggestion regarding this widget, you can easily clear it by commenting below. 
If you enjoyed this article then kindly take 5 seconds to share it!!

5 comments for How To Place Adsense Ad Between the Blog Post

  1. That is great article for SEO friendly person. Actually all details include there in clearly.

    ReplyDelete
  2. can you tell me problem with this url,why ad is causing gap with respect to picture
    http://technocrazepro.blogspot.in/2013/01/How-to-See-Who-Is-Online-On-Facebook-While-Remaining-Offline.html

    ReplyDelete
    Replies
    1. Everything is working fine in your blog.

      Delete
  3. HI,
    I find many useful things herewith. It is really amazing for us. Where ever we are, just click on the website and Take advantages regarding place your ads.Your article impressed me very heartily. From a last decade I was searching such type of web site. Thanks for giving me a space in your blog. I refer this to my close friends who are already seeking for the same .

    ReplyDelete
  4. Very useful post i rely on posting like this as i do all my SEO my self, and information on tricky subjects invaluable, thanks for posting.

    ReplyDelete