How to add adsense code inside  or middle your post in blogger?


Step 1: Copy adsense code, 

- Step 2: Convert adsense code or replace  async async='async'

- replace  async='async'


Step 3: Login  Blogger-> (Edit HTML)

- Step 4.  Click  Ctrl + F => Find <data post body>


Step 5: Replace code:




<div expr:id='"adsmiddle1" + data:post.id'></div>

<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div style="clear:both; margin:10px 0">
<!-- Adsense code converted -->
</div>
</b:if>
</b:if>
<div expr:id='"adsmiddle2" + data:post.id'>
<data:post.body/>
</div>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<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>
Step 6: Save
Bước 7: when you post, add code any where you want.
<!-- adsense -->
For example: 

0 nhận xét Blogger 0 Facebook

Subscribe to: Posts (Atom)

 
Tech - Scien - Health - Computer - Economy - Trade - Cars - Auto - Story ©Email: tailieuchogiaovien@gmail.com. All Rights Reserved. Powered by Inluon.net
LINK:Bantintuvan|tailieusupham|khoahocsupham|SKKN hay|Soidiemchontruong|dayvahoctot|diemthivao10hoctrenmobile|tradiemthituyensinh|How to best|How to best|Loans-Cars-Auto|Free VPN-Free socks
Top