---
title: "How to Set Elementor Display Condition Based on Single Page Template?"
url: https://theplusaddons.com/docs/set-elementor-display-condition-based-on-single-page-template/
date: 2023-06-23
modified: 2026-09-28
lang: en
author: "Aditya Sharma"
description: "Display conditions give you control over which widgets appear on specific pages without building a separate template for each page. You can show a contact number only in the header..."
image: https://theplusaddons.com/wp-content/uploads/2023/06/How-to-Set-Elementor-Display-Condition-Based-on-Single-Page-Template_-1024x536.jpg
word_count: 1599
---

# How to Set Elementor Display Condition Based on Single Page Template?

## 

- The Plus Addons for Elementor Display Condition extension sets visibility rules for single page templates, including pages, posts, post types, and terms.
- Display Condition appears in the Advanced tab of any Elementor widget, section, or container, and it is off by default under The Plus Addons > Extensions.
- Keep HTML stays on by default, so unmet elements are still sent to the browser and hidden with CSS; turning it off stops private content from being sent at all.
- Page rules use Is or Not with page names, and the post example shows a contact number only on the Contact Us page header.
- Static Page, Post Type, and Term rules control shared templates such as headers, sidebars, and footers, with examples including a different logo on the Static Homepage, a banner for the Book post type, and an author bio for specific authors of the Author taxonomy.

Display conditions give you control over which widgets appear on specific pages without building a separate template for each page. You can show a contact number only in the header on the Contact page, display a lead magnet in the sidebar on a specific post, or show a different logo variant on the homepage only.

The Display Condition extension of The Plus Addons for Elementor lets you set different visibility rules for single page templates including pages, posts, post types, and terms. These conditions apply to widgets inside common templates such as headers, footers, and sidebars.

**Best Used For:**

- Agency and business websites: show a different CTA widget in the header on the Contact page only

- Blog and magazine sites: display a targeted lead magnet in the sidebar on specific posts or categories

- WooCommerce and multi-purpose sites: show a unique banner or widget on the static homepage only

> *Note: These display conditions should be applied to the content in common templates like Header, Footer, Sidebar or Specific template.*

*To check the complete feature overview documentation of The Plus Addons for Elementor Display Condition extension, [click here](/docs/display-conditions-settings-overview/).*

***Requirement - This extension is a part of The Plus Addons for Elementor. Make sure it is installed and activated.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-extras/display-conditions/?utm_source=tpae&utm_medium=docs&utm_campaign=text)

## Before You Start

- **Edition:** **Pro** — Display Condition is part of The Plus Addons for Elementor Pro. It does not exist in the free plugin.- **Switch it on.** It is off by default. Go to **The Plus Addons > Extensions** and turn on **Display Condition**.- **Where it appears:** the **Advanced** tab of any Elementor widget, section or container — not only The Plus Addons widgets.

> ***The editor always shows everything.** Conditions are applied only on the published page, so check the result in a private window — logged out if the rule is about login status.*

> **Note:** If a display condition does not appear to take effect, confirm that you have saved your changes and refreshed the page. Also verify that the correct template (Header, Footer, or Sidebar) is assigned to the right location in your theme settings.

To add display conditions for single page templates, add any Elementor widget on the page.

1. Go to **Advanced** > **Display Condition**.

2. Turn on the **Display Condition** toggle.

Now you will see **Keep HTML**, which is on by default. While it is on, an element whose conditions are not met is still sent to the browser and hidden with CSS, so its content can be read in the page source. Turn it **off** for anything private — members-only details, prices for logged-in customers — so the element is not sent at all.

3. After selecting the appropriate option from the **Display When** dropdown, go to the **Rules** section. Here you set the actual display condition. You can add one or multiple conditions.

4. Click on the **Rule** tab. Here you will find different options under the **Single** label.

## How to Set Elementor Display Condition Based on Pages?

With this option, you can set display conditions for a widget on specific pages of your website.

To set display conditions for specific pages:

1. Select **Page** from the first dropdown under the **Rule** tab.

2. In the second dropdown, choose one of two options:

**Is** - The rule passes when the condition is met.

**Not** - Reverses the rule: it passes when the condition is not met.

3. In the last field, add the page names.

For example, to show a contact number only in the Contact Us page header, go to the header template and select the widget with the contact number.

After selecting **Page** from the first dropdown, choose **Is** from the second dropdown.

Then in the last field, add the Contact Us page.

This shows the contact number only on the Contact Us page.

If you set the option to **Not** in the second dropdown, it reverses the condition.

> *Note: You can add multiple pages together.*

Display conditions also work on popup templates. To show a popup on a specific page, apply the same Page condition to a popup template. See [Popup Builder — Elementor Widget Settings Overview](https://theplusaddons.com/docs/popup-builder-elementor-widget-settings-overview/) for popup setup details.

## How to Set Elementor Display Condition Based on Posts?

This option lets you show or hide a widget based on specific blog posts on your site. Use this when you want to display additional content on a particular post inside a common template such as a sidebar or header.

To set display conditions for specific posts:

1. Select **Post** from the first dropdown under the **Rule** tab.

2. In the second dropdown, choose one of two options:

**Is** - The rule passes when the condition is met.

**Not** - Reverses the rule: it passes when the condition is not met.

3. In the last field, add the post names.

For example, to offer a lead magnet in the sidebar on a specific post, go to the sidebar template and select the widget with the lead magnet offer.

After selecting **Post** from the first dropdown, choose **Is** from the second dropdown.

Then in the last field, add the specific post name.

This shows the lead magnet in the sidebar of that post only.

If you set the option to **Not** in the second dropdown, it reverses the condition.

> *Note: You can add multiple posts together.*

## How to Set Elementor Display Condition Based on Static Pages?

The Display Condition extension of The Plus Addons for Elementor lets you set display conditions based on different static pages of your website such as Homepage, Blog, and 404 Page.

To set display conditions for static pages:

1. Select **Static Page** from the first dropdown under the **Rule** tab.

2. In the second dropdown, choose one of two options:

**Is** - The rule passes when the condition is met.

**Not** - Reverses the rule: it passes when the condition is not met.

3. In the last dropdown, select your static page.

For example, to show a different version of the logo on the homepage only, go to the header template. You should have both versions of the logo there.

First, select the widget with the normal logo.

After selecting **Static Page** from the first dropdown, choose **Not** from the second dropdown.

Then in the last dropdown, select **Static Homepage**.

This hides the normal logo on the homepage.

Then select the other version of the logo and follow the same process, but choose **Is** from the second dropdown instead.

This shows the different version of the logo on the homepage only.

> *Note: Default Homepage is the default homepage set by WordPress itself.*

To trigger a popup on page load on a specific static page instead of controlling widget visibility, see [How to Trigger a Popup on Page Load in Elementor](https://theplusaddons.com/docs/trigger-popup-on-page-load-in-elementor/).

## How to Set Elementor Display Condition Based on Post Type?

With this option, you can set display conditions based on different post types such as pages, posts, and custom post types. Use this when you want to show additional content across all entries of a specific post type.

To set display conditions for specific post types:

1. Select **Post Type** from the first dropdown under the **Rule** tab.

2. In the second dropdown, choose one of two options:

**Is** - The rule passes when the condition is met.

**Not** - Reverses the rule: it passes when the condition is not met.

3. In the last field, add the post type names.

> *Note: If left blank, it will be applied to all post types.*

For example, to show a specific banner in the sidebar of a custom post type called Book, go to the sidebar template and select the image.

After selecting **Post Type** from the first dropdown, choose **Is** from the second dropdown.

Then in the last field, add the post type as Book.

This shows the image in the sidebar of all posts in the CPT Book only.

If you set the option to **Not** in the second dropdown, it reverses the condition.

> *Note: You can add multiple posts types together.*

## How to Set Elementor Display Condition Based on Terms?

With this option, you can set display conditions based on terms such as categories, tags, and custom taxonomies. Use this when you want to show additional content for all posts or pages that belong to a specific term.

To set display conditions for terms:

1. Select **Term** from the first dropdown under the **Rule** tab.

2. In the second dropdown, choose one of two options:

**Is** - The rule passes when the condition is met.

**Not** - Reverses the rule: it passes when the condition is not met.

3. In the last field, add the term names.

> *Note: If left blank, it will be applied to all terms.*

For example, to show an author bio in the sidebar for specific authors of the Author taxonomy, go to the sidebar template and select the widget.

After selecting **Term** from the first dropdown, choose **Is** from the second dropdown.

Then in the last field, add the author name.

If you set the option to **Not** in the second dropdown, it reverses the condition.

> *Note: You can add multiple terms together.*

Also, read [How to Set Elementor Display Condition Based on Archive Page Content](https://theplusaddons.com/docs/set-elementor-display-condition-based-on-archive-page/).

## Limitations

- **Best in shared templates.** These rules are most useful in a header, footer or single template shared by many pages; on a single page you can simply edit that page.- **Pro only.** Display Condition is not in the free plugin.

## Troubleshooting

### The element shows everywhere

Check the page is published and the rule's **Is**/**Not** choice. The editor ignores conditions, so test on the published page.

## Frequently Asked Questions

**Q: Why is my Elementor display condition showing on every page instead of one page template?**
A: The most common cause is testing in the editor, because the editor always shows everything and conditions only apply on the published page. The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH also requires the correct Is/Not choice in the rule. If it still looks wrong, save your changes, refresh the page, and confirm the right template such as Header, Footer, or Sidebar is assigned in your theme settings.

**Q: Can I use display conditions in a header, footer, sidebar, or popup template?**
A: That is exactly where this feature is meant to be used. The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH applies display conditions to widgets inside common templates like headers, footers, sidebars, and specific templates. It also works on popup templates for page-specific popups. That shared-template setup matters because one widget can change behavior across many pages without building separate templates for each page.

**Q: What is the difference between Page and Static Page display conditions?**
A: Page targets specific individual pages by name, while Static Page targets WordPress static pages such as Homepage, Blog, and 404 Page. That difference matters when you want one widget to appear on a single content page versus a site-wide system page like the homepage. The tutorial also notes that Default Homepage means the default homepage set by WordPress itself.

**Q: How do I hide one logo on the homepage and show another version instead?**
A: Static Page conditions are built for that kind of swap. The tutorial uses two logo widgets in the header: one gets Static Page set to Not with Static Homepage selected so it stays hidden on the homepage, and the other gets Static Page set to Is with Static Homepage selected so it appears only there. This is cleaner than editing a separate header just for one page.

**Q: What should I use if I want a widget to appear only on one blog post or one custom post type?**
A: Use Post when you want a widget tied to specific posts by name, and use Post Type when you want it across all entries of a type such as a custom post type like Book. That distinction saves time: Post is for one-off targeting, while Post Type covers every item in that content type. The page also says leaving Post Type blank applies it to all post types.

**Q: What are the main limitations of Elementor display conditions in this tutorial?**
A: The big limitation is that these rules are best in shared templates like headers, footers, sidebars, or single templates used by many pages. On a single page, it is usually simpler to edit that page directly. Another limitation is licensing: Display Condition is part of The Plus Addons for Elementor Pro and does not exist in the free plugin.
