How to Show any Widget on Homepage only for Blogger - Blogger Tutorial Company

July 1, 2018

How to Show any Widget on Homepage only for Blogger

We use many widgets on blogger. Some times we want to hide any particular widget on all posts and pages. We want to show that widget only on homepage. In this article I am going to show you how to show any widget on homepage only for blogger. Let's get started.

Show any Widget on Homepage only for Blogger:

Follow these simple steps:
  • Go to blogger
  • Click on Layout
  • Now check the widget id of the widget which you want to show on homepage
  • Now click on Theme
  • Click on Edit Html
  • Now press Ctrl+F and search the widget id
  • Now expand the widget
  • Add this html code 
<b:if cond='data:blog.url == data:blog.homepageUrl'>

  • After this html code

<b:includable id='main'>

See Image for better understand

  • Now close the code with </b:if>
  • Save the template and check the result.
Watch the video also:

If you have any question just paste a comment I will reply you as soon as possible. Thanks for reading my content. One more request to you share this article with your beloved ones. See you in the next tutorial.

No comments:

Post a Comment