I have received an e-mail from a Blogger user asking me how I did to place Google AdSense inside every post without showing it on the first page. This means that the Google AdSense is only shown when you are on the article page
.
I haven’t answered this guy but this article will be my answer.
First, go to your Layout, Edit your template and Expand Widget Templates.
Search for the following snippet:
Just before the "data:post.body", you should add your Google AdSense script as the following:
The if statement is used to show your sponsored links only into the single post and not in the home page for example.
This is a nice and clean way to give more visibility to your sponsored links.
I haven’t answered this guy but this article will be my answer.
First, go to your Layout, Edit your template and Expand Widget Templates.
Search for the following snippet:
<p><data:post.body/></p>
Just before the "data:post.body", you should add your Google AdSense script as the following:
<b:if cond='data:blog.pageType == "item"'>
<!-- Your Google Adsense Script -->
</b:if><data:post.body/>
The if statement is used to show your sponsored links only into the single post and not in the home page for example.
This is a nice and clean way to give more visibility to your sponsored links.
How to encourage this blog if you like it:
- Promote our sponsors;
- Add any kind of comment or critic;
- Ask me directly by email if you prefer.
This is useful cheers.