HOW TO SHOW AND HIDE WIDGET IN BLOGSPOT
HOW TO SHOW AND HIDE WIDGET IN BLOGSPOT – I will explaint you about how to show and hide widget blogger in this post. Some people didn’t know how to change this thing. For some esthetic reason we need to show a widget in home page, static page or several post in blogspot.
![]() |
how to show and hide widget blogger |
TUTORIAL HOW TO SHOW AND HIDE WIDGET
HOW TO SHOW WIDGET ON HOMEPAGES
<b:if cond=’data:blog.url == "data:blog.homepageUrl"’>
YOUR WIDGET CODE
</b:if>
HOW TO SHOW WIDGET EXCEPT OF ON HOMEPAGES
<b:if cond=’data:blog.url != "data:blog.homepageUrl"’>
YOUR WIDGET CODE
</b:if>
HOW TO HIDE WIDGET ON HOMEPAGES
<b:if cond=’data:blog.pageType == "item"’>
YOUR WIDGET CODE
</b:if>
HOW TO SHOW WIDGET ON STATIC PAGES
<b:if cond=’data:blog.pageType == "static_page"’>
YOUR WIDGET CODE
</b:if>
HOW TO SHOW WIDGET EXCEPT OF ON STATIC PAGES
<b:if cond=’data:blog.pageType != "static_page"’>
YOUR WIDGET CODE
</b:if>
HOW TO SHOW WIDGET ON SPECIFIC POST
<b:if cond=’data:blog.url == "YOUR-POST-URL"’>
YOUR WIDGET CODE
</b:if>
HOW TO PUT THIS CODE ABOVE IN YOUR BLOG
- Go To Blogger > TEMPLATE > Edit HTML
- Check the Expand Widgets Templates Box
- Search for the title of the widget you want to control
- The code for the widget will look something similar to this one,
<b:widget id=’HTML’ locked=’false’ title=’YOUR-WIDGET-TITLE’ type=’Profile’>
<b:includable id=’main’>
YOUR WIDGET CODE
</b:includable>
</b:widget>
Then add your code
<b:widget id=’HTML’ locked=’false’ title=’YOUR-WIDGET-TITLE’ type=’Profile’>
<b:includable id=’main’>
<b:if cond=’data:blog.url == "YOUR-POST-URL"’>YOUR WIDGET CODE
</b:if></b:includable>
</b:widget>
Thanks for reading this tutorial i wish you are statisfied whith my explanation thanks for all