Bloggers conditional Tag

To make the bloggers theme more suitable as per the requirement of the blog, it is important to know the trick how to  show and hide widget or gadget in different type of bloggers state (actually targeting specific pages or URLs). Conditional template tags in Blogger template allows you to specify a part of your template code on specific types of pages or specific URLs.

Example: we must expect the different look of homepage than blog post or page. Similarly we may need different layout with customized CSS for different URL. You can hide sidebar on some pages, apply a meta tag to certain page or whatsoever.

Through conditional tag we can hide /show the widget or gadget also customize the layout  of the blog as per the requirement of our site.


1  Target specific page
2. Target Index/Home Page
3.. Target Item Page (Post)
4. Target Static Page
5. Target Error Page
6. Target Archive Page
7. Target Search Page
8. Target Label Page
9. Target specific URL


 In this post, I'll show you the possible conditional tags and their example usage.