How To View Adsense only on Blogger Homepage | Share To World

Sunday, March 1, 2015

How To View Adsense only on Blogger Homepage

  admin       Sunday, March 1, 2015
Adsense can only display 3 Adsenses in a page. So, if we place Adsense in sidebar, post, footer, or header, we must arrange it so that only 3 Adsenses in a page. Adsense can only display in single post, or in homepage.

To display Adsense in blogger homepage only (main page), follow the steps below,

Google Adsense Only On HOmepage

1. Login to blogger
2. Go to Layout  >>  Edit HTML  >>  Click on Expand Widget Template. Find Adsense widget. For example, Adsense is placed with widget id HTML3.
<b:widget id='HTML3' locked='false' title='' type='HTML'>
3. Add code with bold text.
<b:widget id='HTML3' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div style='float: left;padding:20px 0px 40px 0'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
<div class='widget-content'>
<b:include name='quickedit'/>
4. Save Template.

Thanks for reading How To View Adsense only on Blogger Homepage

« Prev Post


  1. I believe that there would be very good opportunities for those who are coming around this area.
    Best Online Software Training Institute | Doubleclick for Publishers Training