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
© 2025 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 a Material Design Dialog Box On Blogspot Blogger
Do you also invest in Cryptocurrency? Know about top currency here
Difference between Blogger and WordPress | Best blogging platform in 2022
How to Permanently Delete Snapchat Account
How to make a Biolink for Instagram on Blogger
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

OffbeatTutorials

How to find any Wi-Fi password ?

By admin
05/03/2022
BloggerWidgets

How to add a cookie consent notification to Blogger

By admin
23/07/2022
Blogger

How To Show/Hide Widgets On Specific Pages In Blogger

By admin
15/05/2018
Blogger

How to create a free blog on Blogger in 2022 – Blogging tutorial for beginners

By admin
21/03/2018
Blogger

Show/Hide widgets on mobile

By admin
24/08/2020
Blogger

How to create responsive sitemap static page in blogger 2020

By admin
03/09/2020
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
© 2025 Blogbeast. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?