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
how to show and hide widget blogger

TUTORIAL HOW TO SHOW AND HIDE WIDGET

To show and hide widget’s display is you must put this code widget between two pieces of code as shown in each control codes below

HOW TO SHOW WIDGET ON HOMEPAGES

<b:if cond=’data:blog.url == &quot;data:blog.homepageUrl&quot;’>

YOUR WIDGET CODE
</b:if>

HOW TO SHOW WIDGET EXCEPT OF ON HOMEPAGES

<b:if cond=’data:blog.url != &quot;data:blog.homepageUrl&quot;’>

YOUR WIDGET CODE
</b:if>

HOW TO HIDE WIDGET ON HOMEPAGES

<b:if cond=’data:blog.pageType == &quot;item&quot;’>
YOUR WIDGET CODE
</b:if>

HOW TO SHOW WIDGET ON STATIC PAGES

<b:if cond=’data:blog.pageType == &quot;static_page&quot;’>
YOUR WIDGET CODE
</b:if>

HOW TO SHOW WIDGET EXCEPT OF ON STATIC PAGES

<b:if cond=’data:blog.pageType != &quot;static_page&quot;’>
YOUR WIDGET CODE
</b:if>

HOW TO SHOW WIDGET ON SPECIFIC POST

<b:if cond=’data:blog.url == &quot;YOUR-POST-URL&quot;’>
YOUR WIDGET CODE
</b:if>

HOW TO PUT THIS CODE ABOVE IN YOUR BLOG

  1. Go To Blogger > TEMPLATE > Edit HTML
  2. Check the Expand Widgets Templates Box
  3. Search for the title of the widget you want to control
  4. 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 == &quot;YOUR-POST-URL&quot;’>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

Leave a Reply

Your email address will not be published. Required fields are marked *

No Live Link Please! and Leave a Relevant Comment