items

Blogger Conditional Tags on 2020

Blogger Conditional Tags on 2020 - Conditional Tags are tags used to set a gadget / widget or a selected element to display or not to seem in a particular page. As an example on the principle web page we need to show the sidebar however while the visitor opens the item page then the sidebar isn't displayed. Properly, to set the sidebar seem and do not appear then used Conditional Tag.

Showing and hiding the sidebar and widgets on positive pages of blogs end up the maximum fitting alternative for a friend who has many widgets on his weblog. Due to the fact if too many widgets will reduce the loading velocity of our blog. As a end result other than a blog so heavy, visitors will even feel a touch bored with the length of time required to load our weblog.

Blogger Conditional Tags on 2020
Here's a new Blogger Conditional Tag that you can upload to subject matters 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 present day variations of Conditional Tags for Blogger i've been sharing this time. With a bit of luck with this short enough article may be useful and useful for you all. Thanks to your go to.

0/Post a Comment/Comments

Iklan Billboard 970x250

73745675015091643
Your Ads Here
[getBlock results="5" label="recent" type="block1"]