Trick How to Display or Hide a Widget In Blog - You have a lot of widgets that appear on your blog? Blog widget that too many of course will reduce the speed of loading of our own blog. However, if the widget it was important for you and still wants to maintain its existence it helps you do the settings on any page you want to show the blog. A widget for example, will you show it only on Homepage orvice versa. You also can display a widget only on specific URLs.
1. How do I show only widgets only on Homepage
=> Place the widget code between the following code
<b:if cond='data:blog.url == data:blog.homepageUrl'>
Advertise YOUR CODE HERE
</ B: if>
2. How do I hide a widget from our Homepage
=> Place the widget code between the following code
<b:if cond='data:blog.pageType == "item"'>
Advertise YOUR CODE HERE
</ B: if>
3. How do I show widgets only on pages Static Page
=> Place the widget code between the following code
<b:if cond='data:blog.pageType == "static_page"'>
Advertise YOUR CODE HERE
</ B: if>
4. How do I hide the widget from the page Static Page
=> Place the widget code between the following code
<b:if cond='data:blog.pageType != "static_page"'>
Advertise YOUR CODE HERE
</ B: if>
5. How to display the widget only on specific URLs
=> Place the widget code between the following code
<b:if cond='data:blog.url Your Choice == "URL disini"'>
Advertise YOUR CODE HERE
</ B: if>
6. How do I hide certain widgets from the URL
=> Place the widget code between the following code
<b:if cond='data:blog.url != disini"'> "URL Your Choice
Advertise YOUR CODE HERE
</ B: if>
So how do I show or hide the default widget from blogger yourself? such as About me, Archive, Label and so forth.
Usually the blogger default code will look like this
<b:widget id='HTML' locked='false' title='JUDUL WIDGET ANDA' type='Profile'>
<b:includable id='main'>
WIDGET CODE DEFAULT YOUR BLOGGER
</ B: includable>
</ B: widget>
To control this widget you just need to insert control codes according to what you want.Suppose you want to show widgets only on Homepage only, then put the code on the No. 1 above as below
<b:widget id='HTML' locked='false' title='JUDUL WIDGET ANDA' type='Profile'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
YOUR WIDGET CODE
</ B: if>
</ B: includable> </ b: widget>
I havе been exρlоring for a little for any hіgh-quаlity artiсles oг weblog posts οn thiѕ kind of house . Exρlorіng in Υahoο I eѵеntually ѕtumbled upοn thіs web sitе. Rеading thiѕ information So i am glad to eхhіbit that I've an incredibly excellent uncanny feeling I discovered just what I needed.
ReplyDeletewebsite design