Jirale.com - Blogger Conditional Tags (Conditional Tags) is an HTML-based programming language found on the Blogger platform that functions to load and display certain widgets from Blogger. As the name suggests, this tag is almost the same as if else in JavaScript, PHP, or other languages.
The way Blogger Conditional Tags work is very easy. When you want to display a widget only on the blog's Homepage, you just need to insert a condition in the HTML tag. Then the widget will only appear on the front page of the blog. What if you want to display only on static pages or others? There are several conditional tags that you can apply to various specific conditions. So, by using conditional tags, you don't need to bother writing lines of JavaScript code which is certainly not easy and makes the blog heavy. Especially with other languages, such as PHP. As we know, until now Blogger does not support the PHP language.
So, how do you insert a condition tag in Blogger? Inserting condition tags in Blogger is quite as easy as inserting attributes in HTML tags. For certain conditions, you only need to use Blogger Conditional Tags according to their role. Blogger Conditional Tags have an important role in displaying logic in HTML tags. This tag is also often used in the world of blogging, especially for creating templates. As the world of blogging develops quite rapidly, Google is starting to adjust the features of Blogger to make it more comfortable and easier to operate. They have updated several features including the Blogger Conditional Tag. As we know Blogger Conditional Tags are longer than the current ones which have become slimmer.
Latest Blogger Conditional Tags
There are several Blogger Conditional Tags with different roles. There are those whose role is to display the main page on the mobile page. The following are Blogger Conditional Tags and the results of their application to blogs.
Understanding Blogger Conditional Tags
Advantages of Blogger Conditional Tags
Inserting Conditional Tags in Blogger
Evolution of Blogger Conditional Tags
Main Page (Homepage)
<b:if cond='data:view.isHomepage'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
- https://www.jirale.com
Index Page (Index)
<b:if cond='data:view.isMultipleItems'>
<b:if cond='data:blog.pageType == "index"'>
- https://www.jirale.com
- https://www.jirale.com/search?q=query
- https://www.jirale.com/search/label/Blogger
- https://www.jirale.com/search?label=Blogger
- https://www.jirale.com/2022
- and others.
Item Pages (Post and Page)
<b:if cond='data:view.isSingleItem'>
<b:if cond='data:blog.pageType in ["item", "static_page"]'>
- https://www.jirale.com/2024/02/2024-latest-blogger-conditional-tags.html
- https://www.jirale.com/p/about-us.html
Single Article Page (Post)
<b:if cond='data:view.isPost'>
<b:if cond='data:blog.pageType == "item"'>
Static Page (Page)
<b:if cond='data:view.isPage'>
<b:if cond='data:blog.pageType == "static_page"'>
- https://www.jirale.com/p/about-us.html
Label Page (Label)
<b:if cond='data:view.isLabelSearch'>
<b:if cond='data:blog.searchLabel'>
- https://www.jirale.com/search/label/NAME
- https://www.jirale.com/search?label=NAME
Search Page (Search)
<b:if cond='data:view.isSearch and !data:view.isLabelSearch'>
- https://www.jirale.com/search?q=query
<b:if cond='data:view.isSearch'>
<b:if cond='data:blog.searchQuery'>
- https://www.jirale.com/search?q=query
- https://www.jirale.com/search/label/Blogger
- https://www.jirale.com/search?label=Blogger
Archive Page (Archive)
<b:if cond='data:view.isArchive'>
<b:if cond='data:blog.pageType == "archive"'>
- https://www.jirale.com/2024
- https://www.jirale.com/2023/12
- https://www.jirale.com/2023_12_14_archive.html
Error Page 404 (Page Not Found)
<b:if cond='data:view.isError'>
<b:if cond='data:blog.pageType == "error_page"'>
- https://www.jirale.com/404.html
Mobile Page (Mobile)
<b:if cond='data:blog.isMobileRequest'>
- https://www.jirale.com?m=1
Preview Page (Preview)
<b:if cond='data:view.isPreview'>
Specific URL Page
<b:if cond='data:view.url == " <Page URL> "'>
<b:if cond='data:view.url == data:blog.homepageUrl path " <Page URL> "'>
- <b:if cond='data:view.url == "https://www.jirale.com/p/about-us.html"'>
- <b:if cond='data:view.url == data:blog.homepageUrl path "/p/about-us.html"'>
Edit Layout Page in Dashboard
<b:if cond='data:view.url == data:blog.homepageUrl path " <Page URL> "'>
NOT, AND, OR declarations
NOT
<b:if cond='!data:view.isPost'>
AND
<b:if cond='!data:view.isPost and data:view.isMultipleItems'>
OR
<b:if cond='data:view.isPost or data:view.isMultipleItems'>
Telegram
CONCLUSION
In this article, I shared with you Latest 2024 Blogger Conditional Tags by (Jirale.com). I hope you have liked It. Please do share it with your friends and follow our blog for more.
If you face any problems in Demo, Download or have any questions so feel free to ask me in comments section or join our Telegram Channel to get the lastest posts updates daily.
Our All Posts Are Protected By DMCA. So Don't Try To Copy Our Posts And Reproduction In Any Way Is Strictly Prohibited! Or else Legal Actions Will Be Taken.
©Copyright: Jirale.com™