-->

Insert ads into the posts on Blogspot

There you are a web design blog on the Blogger platform and want to make money from the ads you place on your blog. On the blog there are so...



There you are a web design blog on the Blogger platform and want to make money from the ads you place on your blog. On the blog there are so many positions so you can place the ad code, but to place ads between posts on the blog, not everyone knows. This article I would like to share the tips that Fandung can recommend to help you place the ad code in the middle of the content or any location you want in the post on blogspot. At the top or bottom of the article, the simple insertion and you may already know, this article focuses insert ads into a new spot that you want in your article.
»Begin tips

1. Log in to your Blogger
account 2. In the design (Design)
3. Choose to edit the HTML (HTML Edit)
4. Select expand widget templates (Expand Widget Templates)
5. Find the code below

<data:post.body/>
6. Change the code just to find code below
<div expr:id='"aim1" + data:post.id'> </ div> 
<div style="clear:both; margin:5px ;"> your ad code here
</ 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 Forums (/ \ x3C! - ads - - \ x3E/igm);
if (r> 0) {obj0.innerHTML = s.substr (0, r); obj1.innerHTML = s.substr (r +16);}
</ script>

7. Save your template to display ads in the position you want in your post, when you post, please insert the code below into the position you want to display ads. When you insert the code below, it will be replaced by your ad in the position you insert it, you have to insert the correct code, you can display advertising is. And here's the code to insert into your post

<! - Ads ->

I wish you success!

No comments: