As a blogger template developer or customizer, you must need to know about blogger conditional tags. By using conditional tags, you can specify part of your template to specific place under certain condition. Example: Using conditional tags, you can hide/show content on specific post/page/label/sidebar etc.
![]() |
| Blogger Conditional. |
Blogger Conditional Tags
In this tutorial, i will share or update all blogger conditional tags and how to use them properly in your template.1. Conditional Tag Use
First you need to know how to use them. See below example:The conditional tags syntax start with <b:if> tags and a cond attributes. Condition need to write as the value of cond attribute. Every opening <b:if> tag need to be closed with a closing </b:if> tag.
2. All Blogger Conditional Tags List
Below i have listed all blogger conditional tags. Recently blogger released new condition tags for specific label, i also added this.Applying Conditional Tags
To apply a conditional tag to a content, you need to put your content between the opening <b:if cond..> and closing </b:if>. Example see belowApplying Multiple Conditional Tags
By putting <b:else/>Above example means that execute content-1 in post page. If it's not post page then execute content-2.
Applying Reverse Conditional Tags
In the example above, the content will appear all of pages except post page. Remember that you can not apply this method to Label-Search and First Post conditionals.
Example:
I Use Tags <b: if cond = 'data: post.featuredImage'> Code </ b: if>![]() |
| Tags. |
<B: if cond = 'data: blog.pageType == "item"'>
Code-1 EXECUTE IF TRUE
<B: else />
Code-2 EXECUTE IF FALSE
</ B: if>
The Mean Tag is A Directory Or / Path. Example If This Code Wants to appear in Home Index / Front Then Use Tag <b: if cond = 'data: blog.url == data: blog.homepageUrl'>
Code
</ B: if>
And If You Want Post Articles Want In Front Of Or Index Page Then Use The Above Tag As A Simple Template Belongs To Google. So Conclusion Tags Is A Path or Directory.

