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:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to print (Opens in new window) Print
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to email a link to a friend (Opens in new window) Email

Related

June 30, 2009 Ritesh Sanap Blogger Tutorials Blogger Hacks

Comments

  1. Jainesh says

    October 13, 2009 at 5:00 am

    hey this is so cool. You think this is the trick we can employ to also use a 'login' feature for our blogs? or is there some way to have a login feature like most commercial sites have. You can view some pages only if you login…Can we do that in a blog?

    Reply
  2. Ritesh Sanap says

    April 19, 2010 at 12:49 pm

    @jainesh
    see all tricks works as you apply if you apply them with innovation your site will be innovative.

    Reply
  3. Gia says

    September 18, 2011 at 4:21 am

    OMG. Thanksss for this!! I hated my linkwithin widget appearing after every post on my homepage. Now Thanks to you, it only appears on the post page! THANKS!! :D

    Reply
  4. Abhishek says

    January 20, 2013 at 8:52 pm

    Thanks for this post… i got a lots of help from this.. From this article i showed latest jobs and latest exam results sample papers of bank exams separated on my blog….
    thanks again
    http://abhicareer.blogspot.com

    Reply
    • Ritesh Sanap says

      January 20, 2013 at 10:41 pm

      I m happy that this post is been helpful for you

      Reply
  5. Gaurav Kumar says

    November 30, 2017 at 10:08 pm

    Thanks Ritesh. Its really helpful and working very effectively.

    Reply

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

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

Currently Trending

  • How to download Specific parts of YouTube videos
    How to download Specific parts of YouTube videos
  • Windows Vista CD key
    Windows Vista CD key
  • How to retrieve my Demonoid username
    How to retrieve my Demonoid username
  • How to add Logo to Thesis theme
    How to add Logo to Thesis theme
  • How to Delete Feedbacks from JetPack Contact Form
    How to Delete Feedbacks from JetPack Contact Form
  • List Of All 255 Keyboard All Alt Key Codes
    List Of All 255 Keyboard All Alt Key Codes
  • h4x0r ( Hacker ) - Blogger Template
    h4x0r ( Hacker ) - Blogger Template

Get Latest post in your Inbox

Random Posts

Hacking DSL Router

January 16, 2008 By Ritesh Sanap Leave a Comment

Read More hack for Blogger with automatic Thumbnail creator script

May 17, 2009 By Ritesh Sanap 5 Comments

How to specify the Auto save Interval

April 20, 2012 By Ritesh Sanap Leave a Comment

Adspress – Blogger Template

July 18, 2010 By Ritesh Sanap 2 Comments

Find Location, Operating System, Browser Details Of Anyone On Internet With This Simplest Method

February 27, 2009 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

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