How to Show Blogger Widgets in Post Pages Only

Posted by Lasantha Bandara on May 18th, 2009 File Under : background, change template, gadget, widget0 Comment

1.Log in to your dashboard--> layout- ->Page Elements 

2.Click on Add a Gadget on the sidebar. select the type of gadget you need and Save the Changes.Now you can see it top of the sidebar.

    For example I add a HTML/Javascript gadget to my sidebar.

3.Now go to Edit HTML."Without Expanding Widget Templates" Scroll down to where you see like this :

4.Copy the name of the first widget. In my case it is HTML2.

5.Now click on "Expand Widget Templates" and search the name you have copied in the above step.(In my case it is HTML2)

6.Copy and paste <b:if cond='data:blog.pageType == "item"'>  and </b:if> , EXACTLY at the same place as shown in the image below.

7.Now save your template and you are done.

File Under : background, change template, gadget, widget

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.