Blogger Conditional Tags on 2019 - Conditional Tags are tags used to set a gadget / widget or a specific element to display or not to appea...
Blogger Conditional Tags on 2019 - Conditional Tags are tags used to set a gadget / widget or a specific element to display or not to appear in a specific page. For example on the main page we want to display the sidebar but when the visitor opens the article page then the sidebar is not displayed. Well, to set the sidebar appear and do not appear then used Conditional Tag.
Showing and hiding the sidebar and widgets on certain pages of blogs become the most fitting alternative for a friend who has many widgets on his blog. Because if too many widgets will reduce the loading speed of our blog. As a result other than a blog so heavy, visitors will also feel a little bored with the length of time required to load our blog.
Here is a new Blogger Conditional Tag that you can add to themes to wrap certain code.
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
Old Version
New Version
These are some of the latest versions of Conditional Tags for Blogger I've been sharing this time. Hopefully with this short enough article can be useful and useful for you all. Thank you for your visit.
source: https://s.id/7uIf9
Showing and hiding the sidebar and widgets on certain pages of blogs become the most fitting alternative for a friend who has many widgets on his blog. Because if too many widgets will reduce the loading speed of our blog. As a result other than a blog so heavy, visitors will also feel a little bored with the length of time required to load our blog.
Here is a new Blogger Conditional Tag that you can add to themes to wrap certain code.
Conditional Tags On Home Page
New Version
<b:if cond='data:view.isHomepage'> … </b:if>
Old Version
<b:if cond='data:blog.url == data:blog.homepageUrl'> … </b:if>
Conditional Tag on the Index Page
New Version
<b:if cond='data:view.isMultipleItems'> … </b:if>
Old Version
<b:if cond='data:blog.pageType == "index"'> … </b:if>
Conditional Tag on the Item Pages
New Version
<b:if cond='data:view.isSingleItem'> … </b:if>
Old Version
<b:if cond='data:blog.pageType in ["item", "static_page"]'> … </b:if>
Conditional Tag on the Post Pages
New Version
<b:if cond='data:view.isPost'> … </b:if>
Old Version
<b:if cond='data:blog.pageType == "item"'> … </b:if>
Conditional Tags on Static Pages
New Version
<b:if cond='data:view.isPage'> … </b:if>
Old Version
<b:if cond='data:blog.pageType == "static_page"'> … </b:if>
Conditional Tag on the Label Page
New Version
<b:if cond='data:view.isLabelSearch'> … </b:if>
Old Version
<b:if cond='data:blog.searchLabel'> … </b:if>
Conditional Tags on Archive Pages
New Version
<b:if cond='data:view.isArchive'> … </b:if>
Old Version
<b:if cond='data:blog.pageType == "archive"'> … </b:if>
Conditional Tags on Search Page
New Version
<! - Includes label search page ->
<b:if cond='data:view.isSearch'> … </b:if>
<! - Just the search page ->
<b:if cond='data:view.isSearch and !data:view.isLabelSearch'> … </b:if>
Old Version
<b:if cond='data:blog.searchQuery'> … </b:if>
Conditional Tag on Error Pages / Error 404
New Version
<b:if cond='data:view.isError'> … </b:if>
Old Version
<b:if cond='data:blog.pageType == "error_page"'> … </b:if>
Conditional Tags on Preview Page
New Version
<b:if cond='data:view.isPreview'> … </b:if>
These are some of the latest versions of Conditional Tags for Blogger I've been sharing this time. Hopefully with this short enough article can be useful and useful for you all. Thank you for your visit.
source: https://s.id/7uIf9