Skip to content
NovaSpark Docs v1.0.0
Live Demo Support

Build

Display Conditions

Decide exactly where a Global Block appears, where it does not — without touching a single page.

A block with no conditions appears everywhere its type allows. Conditions narrow that down: this header on the shop, that popup only for logged-out visitors, this banner only until Friday.

You set them in the Display Conditions box while editing any Global Block.

What conditions do #

Each condition is one row: an action, a rule, and usually a value. Read a row as a sentence — Include · Single Post/Page · Contact means “show this on the Contact page”.

The Display Conditions box showing an Include row and an Exclude row, joined by an AND connector.
Global Block > Display Conditions > Set display conditions.

Rows are grouped. Within a group, every row must match. Between groups, any one group matching is enough. So one group is “and”, and adding a second group is “or”.

Include versus Exclude #

ActionMeaning
IncludeShow the block where this matches.
ExcludeDo not show it where this matches, whatever else says otherwise.

Exclude always wins. A block that is included site-wide and excluded on the checkout page will not appear on checkout — you never need to reorder rows to get that.

The common shape is one Include for the broad case and one or more Excludes for the exceptions:

You wantSet
EverywhereNo conditions at all.
Everywhere except the shopInclude Entire Site, Exclude the shop pages.
Only one pageInclude Single Post/Page, and pick the page.
Only blog postsInclude Single Post/Page set to Posts.
Only for signed-in visitorsInclude User, set to logged in.

The nine rule types #

RuleMatches on
LocationBroad areas of the site — the whole site, the front page, search results, the 404 page.
Single Post/PageA post type, or one specific post or page.
Post Type ArchiveThe listing page for a post type.
Taxonomy / TermA category, tag or custom taxonomy — or one term within it.
Page HierarchyA page’s parent or children, so a whole branch can share a design.
UserWhether someone is signed in, and their role or capability.
Date & ScheduleA date range, so a block can appear and retire on its own.
URL ParameterA query string in the address — useful for campaign landing variants.
Custom FieldThe value of a custom field on the current post.

When two blocks both match #

Only one header can be drawn, so if two headers both match, NovaSpark picks the more specific one. Specificity is counted like this:

ConditionCounts as
No conditions at all0
An Include rule1
An Include rule naming one specific page or term11
An Exclude rule0

So “on the Contact page” beats “on all Pages”, which beats a block with no conditions. That is usually what you want, and means you rarely have to think about it.

Excludes deliberately count as nothing. A block whose only conditions are Excludes stays tied with one that has no conditions — so your Theme Options default still wins the tie. Without that, adding an unrelated exclusion to a block would silently promote it over the default you actually chose.

Hiding one element, not a whole block #

Conditions place whole blocks. Any single element — a Container or a widget — has conditions of its own: select it, open the Advanced tab, and under NovaKit Settings → Display Conditions click Edit Conditions. The same rule builder opens, with Include and Exclude, groups and AND / OR, and every rule type above. Leave it empty and the element always shows.

An element also gets rules about the post it shows — inside a Card template, the card's own post:

RuleShows the element when
This PostThe post is of a post type, or has a term — a badge only on apps in “AI Agents”.
This Post's FieldAn ACF field is (or is not) a value, contains it, is not empty, or is more or less than a number. A True / False is 1 when on — a “Featured” ribbon only on featured posts.
Current ListingThe archive or search being viewed has posts, or (with Is not) has none — a “nothing here yet” note.
AccountThe visitor followed a valid password reset link.

An element set with the earlier single condition (signed in, signed out, role or capability) keeps working, and opens in the rule builder as the same rules.

This is layout, not security. A hidden element is genuinely not rendered, so its content never reaches the page — but it controls who sees an element, not who may reach the page it sits on. Do not use it to protect private content; restrict the page itself.

Elements stay visible in the Elementor editor whatever their condition, so you can keep working on something that will be hidden for you on the live site.

Esc