Home Plugins if block visibility control for blocks
If Block — Visibility control for Blocks logo

If Block — Visibility control for Blocks

by Mahdi Yazdani on WordPress.org

This block enables you to configure certain content to appear only if specified conditions are met.

(0)
Configuring block content to appear only if specified conditions are met.

Configuring block content to appear only if specified conditions are met.

This block enables you to configure certain content to appear only if specified conditions are met (or be hidden) by setting different visibility rules.

You can add any Gutenberg block inside an if-block, have it render on the front-end of your site only if specified conditions are met. This block also provides an additional area (else-block) that can optionally display an alternative content in place when defined conditions are not met.

The conditional logic of this block supports both AND and OR operators in conjunction with filtering a specif user role and also detecting visitor’s browser software as well.

Active installations0+
Weekly downloads
4-33.33%
Version1.2.0
Last updated6/14/2020
WordPress version5.2
Tested up to5.4.16
PHP version7.2
Tags
access-controlblock logicconditional logicif blockuser role