Recent post :
Welcome to ab-alwanblog.blogspot.com

Search with Google

Hide the widget from Home

Friday, October 12, 20120 comments

There are times when we just want to show the widget only in the post pages / articles and hide it from the home page / homepage. How to show a widget only in page article / posting it pretty easy, just opposite of the way of feature articles on the home page are today had we write on this blog. How do I hide the widget from the home page?

You are ready to follow the tutorial how to hide the widget from the home page? Let's move on.

1.Login to blogger dashboard
2.Masuk to the tab "Design" (Layout / Design)
3.Pilih "Edit HTML" and check the "Expand Widget Templates"
4.Cari widgets to be edited (CTRL + F), if the widget is entitled will be easier to find by simply typing the title of the widget. For example, recent comment widget called "comments", then just type the title.
5.If you have found, add red color code as follows:

<b:widget id="HTML1" locked="false" title="" type="statistik">
<b:includable id="main">
<b:if cond='data:blog.pageType == "item"'>
<!-- only display title if it's non-empty -->
<b:if cond="data:title != """>
</b:if></b:if></b:includable></b:widget><h2 class="title"><data:title></data:title></h2>
<div class="widget-content">
<data:content>
></data:content>
</div>
<b:include name="quickedit">
</b:if>
</b:includable>
</b:widget>


With only display the widget on the right, in addition to useful in terms of aesthetics, it will also speed up loading blog. Hope it helps.
Share this article :

Post a Comment

 
Support : Cara Gampang | Creating Website | Johny Template | Mas Templatea | Pusat Promosi
Copyright © 2011. Alwan Blog - All Rights Reserved
Template Created by Creating Website Modify by CaraGampang.Com
Proudly powered by Blogger