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

Search with Google

How to Display Widget Only In Home

Friday, October 12, 20120 comments

Widget is an indispensable blog completion in order to support the appearance and quality of the blog. There are widgets that can increase the visitors feel at home and linger on the blog, for example, recent articles widget (recent post) or popular articles. There is a widget that serves display statistics blog. And there is also a widget that only serves as a supplement / sweetener blog. And, proper placement of widgets needed for aesthetics and performance blog. There are only suitable widget displayed on the home page (home page), there should be installed on any web page, and there is a matching fitted on all pages.The following tutorial will discuss how to display the widget only on the home page only. View more.By default, each widget that we add will be seen in all the pages, both the home page and article pages and static pages. So how do I display the widget only on the home page only? Here's the tutorial.1.Login to blogger dashboard2.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 Feedjit widget called "statistics", 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.homepageUrl == data:blog.url'>
<!-- 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 home page only, your web pages will be free from unnecessary widgets that loading pages faster. 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