-->

Understanding Latest Version of Blogger Conditional Tags

All Blogger Globally Conditional Tags - NEW Version - Every time we see the latest developments in tech and these developments have brought a revolution in web development. The developers are continuously improving the programming languages and one of the biggest change that they have made in; are blogger conditional tags. Blogger conditional tags perform the many functions in theme creation like we can use these tags to wrap the certain code of the templates.

Blogger Conditional Tags

Read Also: How to Add Multiple Column to Blogger Post

As we know, BlogSpot conditional tags play a major role in template development. These tags are not only responsible for theme creation but they have a very close relation to Blogger search engine optimization (SEO). Even we cannot expect 0% of SEO and template development without conditional tags.

Pay Attention: How to Add Social Media Widget to Blogger Sidebar

So, today i decided why not to share the new version of conditional tags with you which Developers have made in recent times. Lets get started!


Homepage

Old Version

<b:if cond='data:blog.url == data:blog.homepageUrl'> … </b:if>

New Version

<b:if cond='data:view.isHomepage'> … </b:if>

Index Page

Old Version

<b:if cond='data:blog.pageType == "index"'> … </b:if>

New Version

<b:if cond='data:view.isMultipleItems'> … </b:if>

Item Page

Old Version

<b:if cond='data:blog.pageType in ["item", "static_page"]'> … </b:if>

New Version

<b:if cond='data:view.isSingleItem'> … </b:if>

Post Pages

Old Version

<b:if cond='data:blog.pageType == "item"'> … </b:if>

New Version

<b:if cond='data:view.isPost'> … </b:if>

Static Page

Old Version

<b:if cond='data:blog.pageType == "static_page"'> … </b:if>

New Version

<b:if cond='data:view.isPage'> … </b:if>

Label Page

Old Version

<b:if cond='data:blog.searchLabel'> … </b:if>

New Version

<b:if cond='data:view.isLabelSearch'> … </b:if>

Archive Page

Old Version

<b:if cond='data:blog.pageType == "archive"'> … </b:if>

New Version

<b:if cond='data:view.isArchive'> … </b:if>

Search Page

Old Version

<b:if cond='data:blog.searchQuery'> … </b:if>

New Version

<b:if cond='data:view.isSearch'> … </b:if>

Error Page

Old Version

<b:if cond='data:blog.pageType == "error_page"'> … </b:if>

New Version

<b:if cond='data:view.isError'> … </b:if>

The conditional tag begins with <b:if> and the ends with </b:if> and they can be used to show or hide the specific widgets on template.

0 Response to "Understanding Latest Version of Blogger Conditional Tags"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel