Design System is here - Read the release post

Learn GeneratePress

Block Conditions

The Block Conditions feature brings the advanced Display Conditions system to any block in the WordPress block editor. Now you can conditionally display any kind of content using the power of GenerateBlocks Pro Conditions.

Getting Started

  1. Select a Block in the Editor
  2. In the block Settings expand the Advanced panel.
  3. Choose a Display Condition to apply to the block

Display Condition Settings

Setting, Adding and Editing Conditions

By default the selection will be set to No condition, meaning the block will always be displayed.

Beside the Condition select box you have the option to either:

Add New condition

Edit selected condition

Either option will open a modal window so modify the conditions so you don’t have to leave the editor.

Invert Condition

Checking the Invert Condition box will allow you to Hide the block if the condition is met.

This is a workflow enhancement that saves time and removes the need to create separate inverted conditions.