How to add Ad Codes below first post on blogger

How to add Ad Codes below first post on blogger

In this tutorial, i will teach you how to add Adsense ad codes, or any other ad codes, below your first blogger posts.

Now to get started, if you want to show adsense ad or other ads below your first post, you will have to parse the ad codes first. Then copy the parsed code
to your clipboard and follow the following steps below.

Step 1
Login to your blogger dashboard

Step 2
Click on Theme/Template

Related: How to add “Read More” to blog posts


Step 3
Click “Edit HTML”

Step 4
Now inside the template html box, press Ctrl F on your keyboard and search for

<b:include data='post' name='post'/>

Step 5
Now paste the following code with your parsed ad code below it


<b:if cond='data:post.isFirstPost'>
<div align="center" style=" margin:10px auto;">
Your code goes Here</div>
</b:if>

Note: Replace “Your code goes Here” with the parsed ad code.

Step 6
Finally Save Template

Now you have successfully added an ad code below your first post on your blogger blog.

Post a Comment

0 Comments