How To Show Gadgets in Specific Pages inBlogger

If you want to show a specific gadget in a Gadget in Specific pages , there is a way to do that. Now you may think , why should i hide my gadgets in some pages. Now here is the reason. if you are using tons of gadgets , it may slow down you blog's loading time. Specially if you are using Flash gadgets. So , hiding them in posts and showing them in the home page is a cool trick to boot up your blog's loading speed.

First of all , decide which gadget should you hide. It may be a Flash gadget or a Image gadget or any thing.Make your you have provided a name for it. I means, in the visitors gadget , you may have given a name as 'Visitors'.


Now, This trick will help you to show your gadget only in home page
Edit your Template and Search under press 'Ctrl' + F to open your browser's search box) that name.

And keep in mind , that if you have used any sign , marks like these , ' . < > " , you can't search them, just change them to another name without those marks temporary and search.

Now you will find some code lines as


<b:widget id='HTML13' locked='false' title=' Your Gadgets Name here ' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "index"'> 
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>

<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>

Now paste these code lines


<b:if cond='data:blog.pageType == "index" '> , </b:if> )

as shown below


<b:widget id='HTML13' locked='false' title=' Your Gadgets Name here ' type='HTML'>
<b:includable id='main'>


<b:if cond='data:blog.pageType == "index" '>


<b:if cond='data:blog.pageType == "index"'> 
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>

<b:include name='quickedit'/>


</b:if>


</b:if>
</b:includable>
</b:widget>

Now follow the Safety Saving Steps.

And 



If you want to show your gadget in all post pages but not in the home page , use


<b:if cond='data:blog.pageType == "item" '>

code line instead of using 

<b:if cond='data:blog.pageType == "index" '>

If you want to show your gadget in a specific page only , use code line 

<b:if cond='data:blog.pageType == " Paste your Page's URL here " '> 

instead of using 

<b:if cond='data:blog.pageType == "index" '>

And also , remember that even though the gadget is hidden , you may see some thing like this...

Share this article :
 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Blogger Templates - All Rights Reserved
Template Created by Creating Website Inspired by Sportapolis Shape5.com
Proudly powered by Blogger