Skip to content

How to Add Display Rules in WordPress?

Key Takeaways

  • Nexter Blocks Display Rules añade condiciones a cualquier bloque Nexter para mostrarlo solo a visitantes con sesión iniciada, en fechas concretas o en páginas específicas, y permite combinar una o varias reglas.
  • Nexter Blocks Pro incluye todas las condiciones salvo Login Status, que funciona en Nexter Blocks gratis y en Nexter Blocks Pro; Date, Time, Page, Archive, ACF Text, Select, Button Group y User Role requieren Nexter Blocks Pro.
  • Display Rules elimina un bloque del HTML por completo cuando una regla falla, y Display When controla la lógica de combinación: All Rules are True oculta el bloque con dos reglas 1 verdadera y 1 falsa, mientras Any Rule is True lo muestra.
Table of Contents

Every block on a page shows to every visitor, all the time — until you decide it shouldn’t.

Display Rules adds conditions to any Nexter block: show it only to logged-in visitors, only on certain dates, only on certain pages, and more. One rule or several, combined however you choose.

Before You Start

  • Edition: Freemium — Login Status works in Nexter Blocks (free) and Nexter Blocks Pro. Every other condition (date, time, page, archive, custom fields and more) needs Nexter Blocks Pro.
  • Block to enable: Display Rules, switched on under Nexter > Blocks in your WordPress dashboard.

Steps

  1. Open the block you want to control, go to Advanced > Nexter : Display Rules, and switch on Display Rules.
The Display Rules toggle
  1. Set Rule to the condition you want to check.
The Rule setting
  1. Set Is/Not and fill in that rule’s own value.
  1. Add more rules with + Add Rules if you need more than one condition.
  1. If you have several rules, set Display When for how they combine.

A hidden block is removed from the page entirely, not just styled invisible — a failing rule replaces the block’s whole output with nothing. There is no empty gap left behind, and nothing for a visitor to find in the page’s own HTML.

What You Can Check

RuleEditionGuide
Login StatusFreeLogin status
Date, Time, Day of WeekProDate and time
Page, Post, Static PageProSingle page content
Taxonomy, Post Type, Author or Date ArchiveProArchive page content
ACF Text, Select, Button Group and moreProDynamic custom fields
User Role, Operating System, BrowserPro—

How It Behaves

  • A hidden block is removed from the page entirely, not just styled invisible — a failing rule replaces the block’s whole output with nothing. There is no empty gap left behind, and nothing for a visitor to find in the page’s own HTML.
  • Display When decides how several rules combine. Measured with two rules, one true and one false: All Rules are True hid the block, Any Rule is True showed it — ordinary AND/OR logic, confirmed rather than assumed.
  • Display Rules works on any Nexter block — it lives in the same Advanced tab panel regardless of which block you’re editing, so the same steps apply everywhere.
  • Each rule has its own Is/Not switch, so a single rule can check for a condition or its opposite without needing a second, separate rule.

Limitations

  • Login Status is the only Free condition — everything else needs Nexter Blocks Pro.
  • A hidden block is removed from the markup entirely, so anything that depended on it being present (a JavaScript selector, for instance) will not find it either.
  • There is no preview of a rule’s effect in the editor — check the published page to confirm a rule behaves the way you expect.

Troubleshooting

My block never shows up at all

Check Is/Not on each rule, and if you have more than one rule, check Display When — All Rules are True needs every single rule to pass.

The block shows for everyone when I only wanted one group to see it

Confirm Display Rules is actually switched on for that block, and that at least one rule is configured — with none, there is nothing to restrict.

The feature is missing from the Advanced tab

Switch Display Rules on under Nexter > Blocks.

Display Rules switched on in the Nexter Blocks list

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

Why is my WordPress block not showing at all after I add display rules?

A hidden block disappears from the page entirely when a rule fails, so the first thing to check is whether the rule logic is too strict. If you set more than one rule, All Rules are True means every rule has to pass. Nexter Blocks also removes the block from the HTML, so there is no empty gap left behind. That makes this feature clean for layout, but it also means a failed condition can make the block look like it vanished completely.

How do I show a WordPress block only to logged-in users?

Login Status is the free condition in Nexter Blocks, so it is the simplest way to gate content by visitor state. Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter provides this as part of Display Rules, and it works in both Nexter Blocks free and Nexter Blocks Pro. That makes it the right choice when you want member-only or account-only content without paying for the other conditions.

What conditions can I use with WordPress display rules?

Display Rules can check login status, date and time, day of week, page or post content, taxonomy, post type, author or date archive, ACF text and select fields, button group fields, user role, operating system, and browser. The key split is simple: Login Status works in free mode, while the rest need Nexter Blocks Pro. That matters because the same feature covers both content targeting and environment targeting.

How do multiple display rules work together in WordPress?

Display When controls how several rules combine, and the page confirms it behaves like ordinary AND or OR logic. With two rules where one is true and one is false, All Rules are True hid the block while Any Rule is True showed it. That means your choice changes whether every condition must match or just one of them. For complex targeting, this setting matters more than the individual rule values.

Why does a hidden block leave no empty space on the page?

Nexter Blocks removes a hidden block from the page entirely instead of just hiding it with CSS. The failing rule replaces the block’s whole output with nothing, so there is no empty gap in the layout and nothing left in the page’s own HTML for a visitor to inspect. That behavior is useful when you want clean output, but it also means scripts that depend on that markup will not find it.

Why is Display Rules missing from the Advanced tab in WordPress?

Display Rules has to be switched on under Nexter > Blocks before it appears in Advanced > Nexter : Display Rules. Once enabled there, it shows up on any Nexter block in the same Advanced tab panel. If you are checking a published page setup rather than the editor preview, that also matters because there is no preview of a rule’s effect inside the editor.

Last reviewed: September 17, 2026

Related Docs