Unlike WordPress, Blogger doesn’t have much flexibility. Hence, most times the Edit Template becomes our best friend since we can do so little with Blogger’s GUI. In this post, we will learn Insert Adsense After Blogger First Post by adding some codes to the template file.
Must Read: How To Force Blogger Links Open In New Tab
Insert Adsense After Blogger First Post: Take Action
1. Login to Blogger Dashboard
2. Locate Template > Edit HTML
3. Use Ctr.F to locate the line of code below
<b:include data=’post’ name=’post’/>
4. Insert the following code below just before the code above
<b:if cond=’data:post.isFirstPost’>
<div align=”center” style=”margin-top:0px; margin-bottom:10px;”>
Adsense Code Here
</div>
</b:if>
5. Save and Refresh your blogger template.
Hint: Replace Adsene Code Here with your Parse Adsense code.
Use this HTML parse tool to enable your blogger template to output the code. If you followed all the steps correctly, you should see Adsense right after your Blogger first post.
Hot:
10 Comments
Aly Mansour
great post but i have a little question i want to add adsense ads under title of the post how can i do that
Nosa E Nosa
Hi Aly, Thanks.
In your Blogger template, Press Ctrl+F and search for
div class='post-header-line-1'
Now paste below code just under it.
< b:if cond='data:blog.pageType == "item"' >
PLACE YOUR AD CODE HERE
< /b:if >
Remove spaces before and after the conditional tags
seo service
i am seo person
you can contact to me for your website Google first page ranking.
i have experience in this work and do all work in legal ways.
visit my website and let me know how can i do your help.
daayur
nice post…very informative
Mazhar Shahzad
Nice post can you tell me please how we can add targeted keywords add on our yellow pages website, i saw some ads like google adwords on diffrent websites
w3seoexpert
thanx for this information it is really helpful for me thanx
ispindus.com
this is really helpful and cool for me thanx for this information
Saju
Nice codes and working fine too but one problem is there, in Home page, Archive page and Label pages this working fine as I said but in the post pages and static pages the same code is appearing in the bottom of post you can check it in my blog http://www.hinditracks.in So, how to hide it in post pages??
Shajee Fareedi
Nice and Helpful !! Thank you so much for such a great post
Kamila T.
This works great for me. But this code is also made that the ad is displayed at the bottom of each post. What can I do to hide advertising in post pages? I want this ad only under the first post on the home page, category pages and archive. Can you help me?