Header Ads

put ads between postes in blogger


you need first make a backup to do that go to them > backup/restore > download theme

now open that file using text editor then search for



<data:post.body/> or <span expr:id='data:post.id'>

will get  3 or 4 becouse that you will need to try all of them, in mustly that will be 2 or 3

now go here and convert the ad script then copy it
past it befor <data:post.body/> if yo need the ad be in first of post or befor to befor post


<div expr:id='"aim1" + data:post.id'>
</div>
<div  style="clear:both; margin:10px 0">
 type here the ad script
</div>
<div  expr:id='"aim2" + data:post.id'>
<data:post.body/>
</div>
<script  type="text/javascript">
var  obj0=document.getElementById("aim1<data:post.id/>");
var  obj1=document.getElementById("aim2<data:post.id/>");
var  s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0)  {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>


this is all!

No comments: