If you are using Blogspot (Blogger), you will notice that Google gives you a few option of how to place your adsense but it doesn't show you how to place in between the title and post. For other bloggers using other ads Networks like Chitika, Infolinks then you just have to put the code manually.
First you need to convert the code that you got from Chitika or Google Adsense to XHTML. There are so many programs on the internet that you can use to do this but one that I like and I have used is Eblogtemplate and Cstnetwork. Simply copy and paste your code from Chitika or Adsense then click on convert. No need to worry since Google won't penalize you for doing this.
Putting your Chitika or Adsense code ad in between the title and the post body:
- Go to Blogger - Dashboard - Design- Edit HTML
- Click on Expand Widget Templates
- Using Control + F
- Search for <data:post.body/>
- Go back to the program that you used to convert your code and copy the Chitika or the Adsense code.
- Just before or above <data:post.body/> . Copy and paste the following codes;
<b:if cond='data:blog.pageType == "item"'>
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
<div style="float:left;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
</b:if>
<data:post.body/>
- You done successfully.
Insert Ad Code Between Post Title and Body (Example Screen shot) |
..:: OR ::..
If you want to show Advertisement (Ad) on Left side:
<b:if cond='data:blog.pageType == "item"'><div style="float:left;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
If you want to show Advertisement (Ad) on Right side:
<b:if cond='data:blog.pageType == "item"'>
<div style="float:right;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
<div style="float:right;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
If you want to show Advertisement (Ad) at the Center:
<b:if cond='data:blog.pageType == "item"'>
<div style="float:center;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
HappyBloggingBloggers ♥ ♥ ♥Earn More
<div style="float:center;">
followed by Your Converted Chitika or Adsense code
</b:if>
<data:post.body/>
HappyBloggingBloggers ♥ ♥ ♥Earn More
No comments
Post a Comment