Blogger blog is wonderful content management tools in the internet world. In blogger blog two things are more important one is post pages and another one is widgets. Here we going to learn about how to hide a widget in a static page. Some time you don't want to show widgets on some pages or it wont be related to those pages. For that situation this blogger trick will help you to find the right way to hide widgets in static pages.
The below steps will help you to hide a widget only in a static page:
Step 1: Log in to Blogger Blog
Step 2: Open template and click Edit Template.
Step 3: Search for widget id that you want to hide only in a static page.
Step 4: Here assume your id is HTML2 and replace the below code with the existing one and place the static page URL in the highlighted quotes.(that you want to hide)
Step 5: Save your template and refresh your website.
Yes, now you wont see this widget on specific static page. Now Everything looks fine. I hope this tutorial is helpful for you.
Please leave comment if you like it!
Thanks!!!
How to divide a Label into two Parts/Coulmns in Blogger Blog
How to - Remove Sidebar from the Static Pages in Blogger Blog
How to show Blogger Widget Only in Post Pages
How to show the Widget in a Specific Page in Blogger Blog
How To Show Widgets Only in Static Pages in Blogger Blog
How to Add Google+ Badge with Profile Image and Follow Button
How To Show The Widgets Only On Homepage of The Blogger Blog
How to Remove Or Disable Navbar From The Blogger BlogSpot
How to Remove "Home" Link Permanently From the Blogger Blog Post Page
The below steps will help you to hide a widget only in a static page:
Step 1: Log in to Blogger Blog
Step 2: Open template and click Edit Template.
Step 3: Search for widget id that you want to hide only in a static page.
Step 4: Here assume your id is HTML2 and replace the below code with the existing one and place the static page URL in the highlighted quotes.(that you want to hide)
<b:widget id='HTML2' locked='false' title='Recent Posts' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType != "static_page"'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>
<b:includable id='main'>
<b:if cond='data:blog.pageType != "static_page"'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:if>
</b:includable>
</b:widget>
Step 5: Save your template and refresh your website.
Yes, now you wont see this widget on specific static page. Now Everything looks fine. I hope this tutorial is helpful for you.
Please leave comment if you like it!
Thanks!!!
Related Links
How to hide a Widget Only In a Particular Page in Blogger BlogHow to divide a Label into two Parts/Coulmns in Blogger Blog
How to - Remove Sidebar from the Static Pages in Blogger Blog
How to show Blogger Widget Only in Post Pages
How to show the Widget in a Specific Page in Blogger Blog
How To Show Widgets Only in Static Pages in Blogger Blog
How to Add Google+ Badge with Profile Image and Follow Button
How To Show The Widgets Only On Homepage of The Blogger Blog
How to Remove Or Disable Navbar From The Blogger BlogSpot
How to Remove "Home" Link Permanently From the Blogger Blog Post Page
No comments:
Post a Comment