ndiego / block-visibility

Conditional visibility controls for all WordPress blocks.
https://www.blockvisibilitywp.com
GNU General Public License v2.0
130 stars 10 forks source link

Allow for boolean *OR* conditions across multiple visibility controls #11

Closed ndiego closed 2 years ago

ndiego commented 3 years ago

What problem does this address?

"The default boolean boolean for multiple conditions is AND by default (ex : Schedule AND User Role).

It would be great to be able to choose the OR boolean operator.

Example: display from date1 to date2 OR user logged-out.

For the moment, I use the same block 2 times with different conditions. Not a big issue but it would be less error-prone to group all the conditions in the same block." - @mousstix

This issue was ported from the support forum on WordPress.org

ndiego commented 2 years ago

This is now possible in Block Visibility Pro with the implementation of Presets.