Using Conditional Tags in Blogger
Conditional tags in Blogger are used to tell browsers what to do in certain conditions . It is a great way to do certain things like hiding widgets or gadgets or your share buttons in Blogger. For example, when we want to show “Hello world” on post pages and “Goodbye Cruel World” on every other page then we can use it as: <b:if cond='data:blog.pageType == "item"'> Hello world <b:else/> Goodbye Cruel World </b:if> A conditional tag comes handy when you are designing your Blogger blogs and customizing and editing it from the scratch. But first you need to know how many type of pages are there in Blogger and then how to use these conditional tags respective to that type of page. In this tutorial I will try to cover most of it, so let’s start.