How to - Show the Widget in a Specific Page in Blogger Blog

When comes to the blogger blog handling widgets is very important. Without widget blogger blog nothing. Always use more quality widget on your blogger blog. Every widget must be related to the current page and this is very recommended, then only people can view your widget links. Here I'm going to tell how to show a widget in a specific page. If you had written a wonderful article and do you want to show related widget to that article, you can use this blogger trick to do that.

The below steps will help you to show the widget only on specific blogger 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 show only on specific blogger page.

Step 4: Here assume your id is HTML1 and replace the below code with the existing one and place the specific URL in the highlighted quotes.

<b:widget id='HTML1' locked='false' title='Recent Posts' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == "URL of the 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.

Now everything looks fine. You can view this widget only on specific blogger page. It wont get visible on rest of the parts. I hope this will be helpful for you.

Please leave comment if you like it!

Thanks!!!

No comments:

Post a Comment