Home Page Conditional Tags
<b:if cond='data:view.isHomepage'> Code Here </b:if>
Page Post / Article Conditional Tag
<b:if cond='data:view.isPost'> Code Here </b:if>
Static Page Conditional Tags
<b:if cond='data:view.isPage'> Code Here </b:if>
Label Page Conditional Tags
<b:if cond='data:view.isLabelSearch'> Code Here </b:if>
Archive Page Conditional Tags
<b:if cond='data:view.isArchive'> Code Here </b:if>
Search Page Conditional Tags
<!-- Includes a label search page -->
<b:if cond='data:view.isSearch'> Code Here </b:if>
<!-- Only a search page -->
<b:if cond='data:view.isSearch and !data:view.isLabelSearch'> Code Here </b:if>
Error Page Conditional Tag
<b:if cond='data:view.isError'> Code Here </b:if>
Page Preview / Article Preview Conditional Tags
<b:if cond='data:view.isPreview'> Code Here </b:if>
Conditional Tag For Mobile Devices (Smartphone / Tablet)
<b:if cond='data:blog.isMobile == "true"'> Code Here </b:if>
Conditional Tags with Negative Traits
<!-- Only works other than on the Home page -->
<b:if cond='!data:view.isHomepage'> Code Here </b:if>
<!-- Only works other than on the Posts / Articles page -->
<b:if cond='!data:view.isPost'> Code Here </b:if>
<!-- Only works other than on the Static page -->
<b:if cond='!data:view.isPage'> Code Here </b:if>
Combines 2 conditional tags in 1 <b: if>
<!-- Only works on post pages and static pages -->
<b:if cond='data:view.isPost and data:view.isPage'> Code Here </b:if>
<!-- Only works on post pages and static pages -->
<b:if cond='data:view.isPost and data:view.isPage'> Code Here </b:if>
Let's Customize
<!-- Only works on the home page and other than on article pages, and static pages -->
<b:if cond='data:view.isHomepage and !data:view.isPost and !data:view.isPage'> Code Here </b:if>
Post a Comment
If You Have Any Problems Regarding To This Information Then Feel Free To Ask Here.