Conditional Tag for Blogger starts with <b:if and is followed by the desired condition. Below is the latest version of the Blogger Conditional Tag that you can use on your Blogger Template.
Universal Conditional Tags
1. Display widgets only on Homepage<b:if cond='data:view.isHomepage'>
<!--some code -->
</b:if>
2. Conditional Tag for Index
<b:if cond='data:view.isMultipleItems'>
<!--some code -->
</b:if>
3. Conditional Tag Item
<b:if cond='data:view.isSingleItem'>
<!--some code -->
</b:if>
4. Conditional tag for Post<b:if cond='data:view.isPost'>
<!--some code -->
</b:if>
5. Conditional Tag for Static Page
<b:if cond='data:view.isPage'>
<!--some code -->
</b:if>
6. Conditional Tag for Label
<b:if cond='data:view.isLabelSearch'>
<!--some code -->
</b:if>
7. Conditional Tag for Search Result Page
<b:if cond='data:view.isSearch'>
<!--some code -->
</b:if>
8. Conditional Tag for Archive Page
<b:if cond='data:view.isArchive'>
<!--some code -->
</b:if>
9. Conditional Tag for 404 Page (Page Not Found)<b:if cond='data:view.isError'>
<!--some code -->
</b:if>
10. Conditional Tag for Preview page
<b:if cond='data:view.isPreview'>
<!--some code -->
</b:if>
NOT, AND, OR
1. NOTThis condition is used if the widget wants to be displayed other than at that place.
<b:if cond='!data:view.isPost'>
<!--some code -->
</b:if>
2. AND
Conditions if both are correct. Add AND.
<b:if cond='!data:view.isPost AND data:view.isMultipleItems'>
<!--some code -->
</b:if>
3. ORThe condition if one of them is correct. Add OR.
<b:if cond='data:view.isPost OR data:view.isMultipleItems'>
<!--some code -->
</b:if>
That's some of the newest Conditional Tags for Blogger. May be useful :)
source: https://www.amp-blogger.com/2019/08/hot-latest-blogger-conditional-tags-2019.html
0 Comments
<strong></strong>
or<b></b>
.<em></em>
or<i></i>
.<u></u>
.<strike></strike>
.<code></code>
or<pre></pre>
or<pre><code></code></pre>
.And use parse tool below to easy get the style.
strong em u strike
pre code pre code spoiler
embed