How to set up and style the Display Conditions extension in Elementor.
Display Conditions decides on the server whether a widget, container, section or column is printed. Build a list of conditions about the visitor, date, address, page, custom fields, ACF fields, dynamic tags, shortcodes and WooCommerce, then show or hide the element when they are met. A message or a saved template can take its place.
Part of: Bright Addons Pro. Before you start: Nothing for most conditions. The WooCommerce conditions appear only when WooCommerce is active, and template else content needs a saved template.
These options are in the Advanced tab of the element.
| Option | What it does |
|---|---|
| Display Conditions | Switches the conditions on for this element. |
| When the Conditions Are Met | Show this element or Hide this element. |
| Conditions Are Met When | All of them are true (AND) or Any of them is true (OR). |
| Conditions | The list of condition rows. Up to 60 rows are checked, and an empty list never hides anything. |
| Condition | The type of the row. Logic: OR (start a new group). Visitor: Login status, User role, Specific users, User field (user meta), Days since registration, Device, Browser, Operating system, Browser language, Cookie. Date and time: Between two dates, Time of day, Day of the week. Address: Address parameter (?key=value), Current address, Came from (referrer). Page: Kind of page, Post type, Specific posts or pages, Category, tag or other term, Post author, Post has. Fields and dynamic data: Custom field (post meta), ACF field, Dynamic tag, Shortcode output. WooCommerce (only when WooCommerce is active): Cart is empty, Cart total, Items in the cart, Product in the cart, Product category in the cart, Customer bought a product, Number of orders of the customer, Total spent by the customer, Current product is, Current product price. |
| Visitor Is | Logged in or Logged out, for Login status. |
| Roles | One or more user roles. The logged in visitor must have one of them. |
| Devices | Desktop, Tablet or Phone, worked out on the server from the browser identification. |
| Browsers | Chrome, Firefox, Safari, Edge, Opera or Samsung Internet. |
| Systems | Windows, macOS, Linux, Android or iOS. |
| Days | The days of the week that count. |
| From | Start of the date range, in the site time zone. Leave one side empty for an open range. |
| Until | End of the date range. |
| From (24 hour clock) | Start of the daily time window, for example 09:00. |
| Until (24 hour clock) | End of the time window. An end before the start runs past midnight. |
| Pages | Front page, Blog page, Any single post or page, Any archive, Category archive, Tag archive, Author archive, Date archive, Search results, 404 page, or Page 2 and later. |
| Post Types | The public post types that count. |
| The Current Post Has | A featured image, A hand written excerpt, Comments, Comments open, Sticky status, A parent page, Child pages or A password. |
| The Current Product Is | On sale, In stock, On backorder, Featured, Virtual, Downloadable, Reviewed, or a simple, variable, external or grouped product. |
| Name | The field name, meta key, cookie name, address parameter or taxonomy (for example category, post_tag, product_cat). |
| Field Belongs To | Source of the ACF field: The current post or page, The logged in user, The author of the post, The category or term being viewed, or An options page. |
| Dynamic Value | A dynamic tag picked with the stack icon. |
| Shortcode | A shortcode such as [my_shortcode]. Its output, without HTML, is compared. |
| Compare | Is, Is not, Contains, Does not contain, Starts with, Ends with, Greater than, Greater than or equal to, Less than, Less than or equal to, Is one of (comma separated), Has a value, Is empty. |
| Value | What to compare with. Lists use commas: IDs for users, posts and products, slugs or IDs for terms. |
| Reverse (NOT) | The condition counts when it is not true. |
| Otherwise (Else) Show | What replaces an element that is not shown: Nothing, A message or A saved template. |
| Message | The else text, with dynamic tag support. |
| Template | A published saved template used as the else content. |
One license gives you every Pro widget, all 10 extensions, the Theme Builder and priority support. From $10 a year, with a 14-day money-back guarantee.
Choose All of them are true (AND) and put a row of the type OR (start a new group) between the groups. Rows inside a group must all be true, and one true group is enough: (A and B) or (C and D).
Usually a page cache from a plugin, the host or a CDN serves the same saved page to everyone. Exclude the page from the cache or split the cache per visitor.
Only administrators and editors, the people WordPress trusts with unfiltered HTML. When someone else saves the page, new or changed rows of these two kinds are not saved. The same rule protects Custom CSS.
Any field by its name or field key, from the five sources in Field Belongs To. Without ACF the same row reads the plain custom field.
Check the troubleshooting guide, or contact support with the page address and what you expected to happen.
Troubleshooting guideYearly and lifetime plans. Use this code at checkout:
14-day money-back guarantee. Ends Monday 30 November at 23:59.