How To Add Adsense Code In The Middle Of The Post For Blogger

How To Add Adsense Code In The Middle Of The Post For Blogger

In me preceding article we portion you a tutorial that How To Add Adsense Anywhere in Below Title Posts For Blogger which could process your adsense CTR and but as from the galore times any websites OR whatsoever blogs put their adsense in the intermediate of the posts, that is also process the CTR of your adsense earning.

Adding Adsense In The Middle Of The Post

  • Login to Blogger > Dashborad
  • Click on Drop Down Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML > Proceed >   Expand Widget Templates
  • Press Ctrl + F and search the code shown below.
<data:post.body/> 

If you will find two times <data:post.body/> code and You have to Replace it With the Second One!

  • Now replace that code with below code.
<div expr:id='&quot;aim1&quot; + data:post.id'/>
<div style='clear:both; margin:10px 0'>

Your Adsense Converted Code Here

</div>

<div expr:id='&quot;aim2&quot; + data:post.id'>
<data:post.body/>
</div> 
<script type='text/javascript'>
var obj0=document.getElementById(&quot;aim1<data:post.id/>&quot;);var obj1=document.getElementById(&quot;aim2<data:post.id/>&quot;);var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf(&quot;&quot;);if(r&gt;0){obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1)}
</script>

You Have to Convert First the Adsense Code into the Compartible Form!

Click Here To Convert Adsense Code

  • Now just replace Your Adsense Converted Code Here with your Own Asense Codes.
  • Now Save Your template.

If you enjoy this post! Please take 5 seconds to share it.

Note:- Hello There!Happy for reading the article and don't forget share this article on your social network.Thanks You ^_^



share this article to: Facebook Twitter Google+ Linkedin Technorati Digg
Posted by Admin ID-Netblog, Published at 9:15 PM and have 0 comments

Writed by : Admin ID-Netblog

Blogger Heroe My friend was reading the article onHow To Add Adsense Code In The Middle Of The Post For Blogger. Admin, buddy permitted copying and pasting or disseminate this article, but do not forget to put the source link below.

ARTIKEL TERKAIT:

No comments:

Post a Comment