Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to Show sidebar or widgets only on Home page or Post page

Hi to all of you today after many days i am making an article i am making this because my next post will be depended on this trick. So you have seen many blogs with showing some widgets only at homepage and some at posts page hows it possible you might have think its to easy.

1. Login in your Blogger Dashboard.
2. Then Click on Layout.
3. Click on Edit HTML.
4. Click on Expand Widget Templates.

Now Find for the widget you want to show only on homepage or post page only . if you have added any title for it then search for the title.

Just below that widget id link, You can see a b:includable tag like this..

<b:includable id=’main’>

Then Just Below it add this code to Display it only on homepage :

<b:if cond=’data:blog.url == data:blog.homepageUrl’>

To display it only on Post page add :

<b:if cond=’data:blog.pageType == “item”‘>

To Display it on any specific page then add :

<b:if cond=’data:blog.url == “Blog Post URL“‘>

Now Replace the Word in Green colors with the link.

Now we have to close b:if tag

so now before </b:includable> add this code:

</b:if>

Thats All it Enjoys friends and Wait for the Next post by me That will So much Splendid

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

June 30, 2009 Ritesh Sanap Blogger Tutorials Blogger Hacks

Post navigation

Previous Previous post: Tips and Tricks Hunt for the Author
Next Next post: BizFresh Blogger Template – Free Blogger Template

Currently Trending

  • You might also like this Widget for blogger or Related post widget
  • How to Change the Welcome/Login Screen in Windows XP ?
  • How to download Specific parts of YouTube videos
  • h4x0r ( Hacker ) - Blogger Template
  • Advanced What should we Write about next? - WordPress Plugin
  • Windows Vista CD key
  • How to add Attribution widget in blogger
  • Free Online Angry Birds game
  • How to retrieve my Demonoid username
  • ZooZooo - Vodafone Logos

Random Posts

Fixed Side Menu For Blogger

March 19, 2009 By Ritesh Sanap 1 Comment

Easily Publish your web content around the world

April 21, 2010 By Ritesh Sanap Leave a Comment

Team Viewer

June 7, 2009 By Ritesh Sanap 5 Comments

Top 5 Jquery Slide Gallery

June 12, 2010 By Ritesh Sanap 2 Comments

Samanta Blogger Template

November 30, 2010 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2022 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.