How To Show A Blogger Widget On A Specific Page

Socialize: 

Today there are available different beautiful themes for the Blogger blogs. These themes or templates gives beauty and attraction to the Blog and are user friendly too. Besides different magnificent color combinations, multidimensional widgets and clear user interference they also have ease of access.

Blogger Widget

The last one the ease of access is one of the most important tools for the increasing traffics to your blog. A viewer will only stay on the blog if he finds what he want to find on the page he is visiting. These premium quality templates provides their clients with availability of different widgets on the pages at which they are needed and removing them form other pages where they have no or little importance.

Today I am going to share this technique of showing or hiding a blogger widget on a specific blog page. This technique can be used for other purposes also that I will post later. The widget that I am using in this post is the Blog Archive Widget, and I am going to make it visible on the main page only.

All the widgets in a Blogger blog have some coding like this. (This one is for the Blog Archive Widget).

Code

<b:widget id='BlogArchive1' locked='false' title=Blog Archive' type='BlogArchive'>
<b:includable id='main'>
<! -- 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:includable>

Now look at the code given above. There are two important things to be consider, one is the id of the widget that in the case is BlogArchive1, and second the widget code actually starts from <b:includable and ends at </b:includable.

In order to hide or show a widget the first thing you will need is it id. You can find it by opening the widget from the Layout page of the Blogger dashboard and searching it in the address bar of the widget setting window.

Once you get the required widget id search it in the main HTML code of the blog by going to Template and then to Edit HTML. Once you find the code as shown above with your widget id in it just paste the code given below there. The first line of the code will be placed after the <b:includable and the second line of the code will be placed before the end of the b:includable tag i.e. before</b:includable.

Code

<b:if cond='data:blog.url == "URL OF YOUR DESIRED PAGE"'>

</b:if>

When you are done with the copy pasting replace the URL OF YOUR DESIRED PAGE with the URL of the page at which you want the widget to be shown. After completion your code will look something like this.

Code

<b:widget id='BlogArchive1' locked='false' title=Blog Archive' type='BlogArchive'>
<b:includable id='main'>
<b:if cond='data:blog.url == "http://www.netzspot.blogspot.com"'>
<! -- 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>

    You may also like...

  • How to Change Favicon Icon Of Blog In BlogSpot

    How to Change Favicon Icon Of Blog In BlogSpot

    Now In Simple Steps.Go To Design And Click Edit On Favicon Icon Gadget Then Upload Your Image…

  • MultiLevel DropDown Floating Menu WithOut J-Query (Only HTML-CSS)

    MultiLevel DropDown Floating Menu WithOut J-Query (Only HTML-CSS)

    I’ve had a few requests from readers asking how to install a dropdown menu without j-query due to…

  • Simple Google Image Search Engine Widget For Blog & Website

    Simple Google Image Search Engine Widget For Blog & Website

    Google image search is an image search engine owned by Google Inc. This image search engine was…

  • Google Plus Page Like Widget For Blog And Website

    Google Plus Page Like Widget For Blog And Website

    ...This Is Not An Official Widget...First Find Your Page ID...How do I find my Google+ Id?Go to…

  • How To Add A Simple "Scroll To Top" Button In Blog (With Jquery Or Without Jquery))

    How To Add A Simple "Scroll To Top" Button In Blog (With Jquery Or Without Jquery))

    Scroll to Top button control is a great addition for blogs with long posts. You can see a button…

  • How To Add Meta Tags For Each Post In Blog?

    How To Add Meta Tags For Each Post In Blog?

    Inability to add Meta Tags (Meta Description , Meta Keyword) to each post of Blogger blog is always…

  • How To Add Animated Stylish Navigation Menu With Jquery To Blogger

    How To Add Animated Stylish Navigation Menu With Jquery To Blogger

    Animated Fancy Navigation Menu with Jquery for Blogger. Every One has trying to add a beautiful…

2 comments:

  1. I have been looking for this for a couple of an hour,and I am so glad that you post this information in this page.

    ReplyDelete
  2. This information really helps me alot especially in manipulating the widget. .

    ReplyDelete

About Me

Hi, I am Muhammad Saalim, Co-Founder of EXEIdeas International and CEO of bord4banned. I am here to share my experiences with you and to help those who can help themselves.

Follow Me



Join Our Official FaceBook Group To Stay With Us.

Caution!

All data, codes, articles, tips and tricks etc, posted here are copyright work of MyTutspot.Blogspot, and are protected with DMCA. Any one, found to be thefting any data, will be under LEGAL ACTION.

My Tutspot.Blogspot 2018 All Rights Reserved
Designed by born4banned | A Project of EXEIdeas International