ProLavish | Blogger GuruProLavish

A blog provide Blogging Ethics

Show Blogger Widgets on Specific Pages


t How To show Blogger Widgets on Specific Pages. Blogger show widgets by default all pages. like homepage, posts page ,archive,static page etc.

Welcome readers in our previous post we shared how to remove a threadedn comment system on blogger.Now move on our next post about How To show Blogger Widgets on Specific Pages. Blogger show widgets by default all pages. like homepage, posts page ,archive,static page etc. 

How To show Blogger Widgets on Specific Pages?
How To show Blogger Widgets on Specific Pages?

Part 1


  1. Go to blogger Layout  
  2. Click On Add a gadget  
  3. Ahead To Html/java Script
  4.  Give it a new unique name like test widget  or title 

Part 2

  1. Go to Template 
  2.  Click on Edit HTML
  3.  Find the name of the widget by using CTRL+F.  
  4. You will  see  a similar code like below one


<b:widget id='HTML1' locked='false' title='test_post' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<!-- 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>  

Part 3


  1. Add the following conditional tags marked with red just below and above to it.
  2. Click on save template
  3.  See your blog.

For Homepage (show)


<b:if cond='data:blog.url == data:blog.homepageUrl'> 
   Replace this line by your Content 
</b:if>  



For post pages (show)



    <b:if cond='data:blog.pageType == "item"'>

  Replace this line by your Content

</b:if> 



For  specific page  (Show)

<b:if cond='data:blog.url == "URL of the page"'>
          Replace this line by your Content  </b:if>   
For  specific page  (hide)


<b:if cond='data:blog.url == "URL of the page"'>
          Replace this line by your Content
</b:if> 


For static pages  (Show)


<b:if cond='data:blog.pageType == "static_page"'>
          Replace this line by your Content 
</b:if>     




For static pages  (Hide)
.


<b:if cond='data:blog.pageType == "static_page"'>
          Replace this line by your Content

  </b:if>     


Now Save your Template and View your Blog.


Have Questions?

If you need help with respect to any concept do post your comment below..We are happy to help you  

Gaurav dudeja

Gaurav Dudeja has 3 years of blogger experience.He wasthe only owner of prolavish .He does internet blogging and sharingblogging ethics,widgets,quality tips based on blogging.Having More than 50 followersand 250 people subscribed his blog Join me . Prolavish receives 1 thousand Pageviews/month and has over 32K subscribers

You can find us on

Read Comment Policy ▼
  We have Zero Tolerance to Spam. Chessy Comments & Links' will be deleted immediately

Comments are moderated and may take some time to appear.
If you ask a question make sure you tick the Notify Me option

No comments:     Post Yours!