Home » , » How To Place Adsense Ad Between the Blog Post

How To Place Adsense Ad Between the Blog Post


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.
      Share this article :

      0 comments:

      Post a Comment

       
      Copyright © Online Business - All Rights Reserved
      Proudly powered by Blogger