If you want to display AdSense in the middle of Post, follow 8 simple Steps :
- Go to Blogger's Template.
- Click on Edit HTML button.
- Attention! Take Backup your blog template before doing any changes. (Copy all the template code and paste it to notepad file, save it)
- Press Ctrl+F and search for <data:post.body/>
- Then find the line, which is above <data:post.body/>
- Paste your encoded Adsense code bettwen these lines. Before this step You need covert your AdSense code - you can use this Convert
- You get:
<div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
Your encoded AdSense code
<data:post.body/>
- Click on save template button (This will be visible on all the pages)
Note: If you don't get result, try with other <data:post.body/> in Templates code.
If you want to wrap text around Google Adsense ads like this
Then paste below code to Templates code (this will be visible on all the pages)
<div style=”float:left; margin:10px 25px 10px 0px;”>
Your encoded AdSense code </div>
If you want to show Adsense only on posts pages, insert this code
<b:if cond='data:blog.pageType == "item"'><div style=”float:left; margin:10px;”>
Your encoded AdSense code </div>
</b:if>
Комментариев нет:
Отправить комментарий