How to put Google Adsense below blog title |
Google Adsense in your blog. In this post, I will show you how to put Google adsense under your post title.
Adsense
As you can see, my Google Adsense is placed nicely under the post title and on the left of my content. But do not worry, you can do it also, just follow a few simple steps below.
Before add Google Adsense, you must encode the Google Adsense scripts, otherwise, Google Adsense would not work. Click here to encode Google Adsense. Now, you are ready to add Google Adsense under your post title.
1. Go to Design / Layout
2. Click Edit HTML
3. Tick the "Expand Widget Templates" box
4. Click on Download Full Template to Back-up your template (it's important)
5. Find the tag <data:post.body/>
6. Replace <data:post.body/> with the the following code:
<b:if cond='data:blog.pageType == "item"'>
.....Insert Your Encoded Adsense Code here.....
</b:if>
<p><data:post.body/></p>
7. Click Save Template
Optional Steps: If you want to place Google Adsense on the left of your post, follow these steps:
8. Add this code to step 6
0 comments:
Post a Comment