By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
BlogbeastBlogbeast
  • Adsense
  • Blogger
  • WordPress
  • Social Media
  • SEO
  • Tips
  • Offbeat
BlogbeastBlogbeast
Search
  • Adsense
  • Blogger
  • WordPress
  • Social Media
  • SEO
  • Tips
  • Offbeat
© 2026 Blogbeast. All rights reserved.
BloggerTutorials

Essential Conditional Tags For Blogger

Last updated: 27/08/2022 6:03 PM
By admin

There are a few tricks to hide elements from the blogger blog, You can hide elements in the homepage, posts, and static pages by adding conditional tags.

here are some essential conditional tags for you to hide your elements

Showing widget only on the home page:

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

View the widget only on post pages:

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

Displays widgets only on specific pages:

<b:if cond='data:blog.url == "URL of the page"'>
Your_widget_code_here
</b:if>

Note: Change your URL in the address you want.

Hiding widgets only on specific pages:

<b:if cond='data:blog.url != " URL of the page "'>
Your_widget_code_here
</b:if>

Displaying widgets on the static page:

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

Hide the widget on a static page:

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

widget displays only on archive pages:

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

After you add the conditional tags above, save the template and view the results. This conditional tags not limited to the widgets, with the help of conditional tags you can wrap the other elements such as Script, CSS, and HTML.

Read More

How to create responsive sitemap static page in blogger 2020
How to add Google In-Feed Ads in blogger – Easy method
How to Add Links To Detect Adblock On Blogger Blog Using JavaScript
How To Create a Material Design Dialog Box On Blogspot Blogger
How to write a post on blogger – Blogging tutorials for beginners
Share This Article
Facebook Email Print
YoutubeSubscribe

Popular Posts

What is blogging and how to make money from it?
Offbeat

What is blogging and how to make money from it?

How To Make Money from Blogging
Monetization

8 Fastest ways on How To Make Money from Blogging

What is wordpress plugin
Wordpress

20 Best WordPress Plugins for your Websites in 2022

How to Uninstall Wordpress Plugins manually
Wordpress

How to Uninstall WordPress Plugins completely with Shortcode

What is wordpress plugin
Wordpress

What is wordpress plugin ? How to install WordPress plugin in 4 easy methods?

You Might Also Like

Social MediaTutorials

How to Permanently Delete Snapchat Account

By admin
05/03/2022
BloggerWidgets

How to add Facebook Page like box on your blog – Blogger tips for beginners

By admin
17/09/2019
OffbeatTutorials

How to fix bad corrupt memory card

By admin
05/03/2022
BloggerWidgets

How To Display Estimated Post Reading Time On Blogger

By admin
01/02/2022
BloggerTutorials

Create Privacy Policy Page For Blog To Get Google Adsense Approval

By admin
01/02/2022
Blogger

How To Show/Hide Widgets On Specific Pages In Blogger

By admin
15/05/2018
Blogbeast

Welcome to BlogBeast, the place where blogging meets earning,and ideas turn into something big.

Quick Links

  • About
  • Contact Us
  • Subscribe

Useful Links

  • Disclaimer
  • Privacy Policy
  • Sitemap
© 2026 Blogbeast. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?