
The importance of controlling your widgets is, at that topographic point are plug ins that are meant to move shown alone on homepages, or alone on post service pages. Through widget control. you lot exercise flexibility on your weblog together with balances each widget together with maximize its functions.
In blogger platform, installing a widget normally uses the "HTML/layout" constituent on layout. In lodge to control widget display we simply enclose around codes on the widget.
If you want to demonstrate together with enshroud your widgets, simply follow these unproblematic tricks:
Since we utilization the "add gadget" on installing widgets, we involve to search first where it is on your weblog template.
How to control widget display
Before we decease on brand certain you lot backed upwardly your template inwards instance you lot mess things up.
1. Log inwards to your dashboard.
2. Go to template> click edit HTML > together with click on expand widget templates
3. Then hold back for a code similar to this one
<b:widget id='HTML' locked='false' title='WIDGET-TITLE-HERE' type='Profile'>
<b:includable id='main'>
WIDGET CODE HERE
</b:includable>
</b:widget>
If you lot utilization a blank cite on your widget, endeavour renaming it that has no similarity hence become dorsum to edit HTML together with utilization ctrl + F to search for that widget title. After you lot searched for it you lot tin rename it dorsum to blank.
How to show widgets alone on homepage?
<b:if cond='data:blog.url == data:blog.homepageUrl'>
WIDGET CODE HERE
</b:if>
How to hide widgets on homepage?
<b:if cond='data:blog.pageType == "item"'>
WIDGET CODE GOES HERE
</b:if>
How to show widgets alone on static page?
<b:if cond='data:blog.pageType == "static_page"'>
WIDGET CODE GOES HERE
</b:if>
How to hide widgets on static pages?
<b:if cond='data:blog.pageType != "static_page"'>
WIDGET CODE GOES HERE
</b:if>
How to demonstrate a widget on selected post service only?
<b:if cond='data:blog.url == "URL OF Selected Post"'>
WIDGET CODE GOES HERE
</b:if>
How to hide widget on selected post service only?
<b:if cond='data:blog.url != "URL OF Selected Post"'>
WIDGET CODE GOES HERE
</b:if>
Note: Once you lot notice your widget simply select which code you will utilization to enshroud or show widgets.
For instance you want to show widgets alone on habitation pages, utilization this
<b:widget id='HTML' locked='false' title='WIDGET-TITLE-HERE' type='Profile'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
WIDGET CODE HERE
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
WIDGET CODE HERE
</b:if>
</b:includable>
</b:widget>
</b:includable>
</b:widget>
Do you lot similar it? got around problems? allow me read your thoughts