How To Make Widget/Adsense Unit Appear On The Homepage Only
To do this, you need to first know your widget ID by following the steps below:
1. Log in to blogger
2. Go to Design and locate the widget you wish to appear at the homepage only
3. Right-click on the 'Edit' below the widget and copy link location

4. Paste the link to a notepad and locate the widget ID.
For an adsense unit, it should look like this:
http://www.blogger.com/rearrange?blogID=7243280908926933904&widgetType=AdSense&widgetId=AdSense2&action=editWidget§ionId=sidebarleft
For a HTML/Javascript widget, it should look like:
http://www.blogger.com/rearrange?blogID=7243280908926933904&widgetType=HTML&widgetId=HTML7&action=editWidget§ionId=sidebarleft
5. Copy out the widget ID (written in the example above in red)
6. Now go to Edit HTML and check the box labelled Expand Widget Template (I suggest you always back up your template before editing your template)
7. Press CTRL + F and find the widget ID you copied earlier.
8. In the line directly below that widget ID, you should see this piece of code:
<b:includable id='main'>
9. Immediately below this, paste the code below:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
10. Now scroll down a bit (maybe 5-10 lines) till you find this code:
</b:includable>
11. Just above this, paste this code:
</b:if>
The screenshot above shows what it should look like for an HTML widget.That's it. Save your template and you'll now see the widget only appears on the homepage so far you got the steps right.
How To Make Widget/Adsense Unit Appear On Blog Post URL
The process is similar to the one above but there's a litle difference in Step 9. you only need to replace:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
With this:
<b:if cond='data:blog.url == "Blog Post URL"'>
Be sure to replace Blog Post URL with the url you want the widget to appear. Save your changes and visit your blog.
How To Make Adsense Unit/Widget Display On List Pages (Homepage, Label Pages & Yearly Archive)
In step 9, use this code instead:
<b:if cond='data:blog.pageType == "index"'>
How To Make Widget Show On Post Pages Only
Use this code on step 9
<b:if cond='data:blog.pageType == "item"'>
Making Widget/ Display on Archive Pages Only
<b:if cond='data:blog.pageType == "archive"'>
Making Widget/Adsense Unit Display on Static Pages Only
<b:if cond='data:blog.pageType == "static_page"'>













Don Caprio's just another regular dude, an average person like everybody else and I live in The World's Most Populous Black Nation.
I started blogging late 2009, I'm still loving it and I'm the type of guy that'll love to have my computer inside my coffin when I die.Don't smile, it ain't no joke.
You can add me as friend on
19 comments:
Nice post for blogger users!!
Thanks Boss
buy ambien ambien taper - purchase ambien in canada
xanax pills xanax 8 weeks pregnant - 10mg xanax bars
buy zolpidem zolpidem cr online - ambien zolpidem tartrate same
buy valium online diazepam valium no prescription - buy valium aus
zolpidem drug discount pharma net ambien - sleepwalking talking ambien
online pharmacy for valium valium anxiety mri - effects expired valium
xanax anxiety xanax overdose signs - xanax bars drug info
alprazolam medication order xanax canada - http://www.xanax-effects.com
diazepam and dosage diazepam online new zealand - diazepam 10 mg half life
buy ativan online lorazepam 1mg tabletten - 90 mg ativan
order ambien online no prescription what is ambien pill for - ambien high snorting
buy soma carisoprodol buy online - buy soma cod overnight
valium anxiety buy cheap valium from india - where to buy valium online uk
buy valium india valium prescribed depression - valium over counter drug
buy generic ambien online how long should i sleep on ambien - ambien dosage 30 mg
diazepam online 5mg valium equivalent - valium under tongue
valium no rx cheap generic valium - valium with alcohol
Post a Comment