🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Conditional Block Visibility
Conditional Block Visibility

Conditional Block Visibility

0/5 (0 ratings) — active installs Updated Feb 28, 2025
<p><strong>Visibility Settings in the Editor</strong><br />
The plugin adds a "Visibility Settings" panel in the block settings sidebar for easy configuration.</p>

<p><strong>Visibility Settings in the Editor</strong><br /> The plugin adds a "Visibility Settings" panel in the block settings sidebar for easy configuration.</p>

Conditional Block Visibility allows you to manage the visibility of blocks based on:
User Roles: Show or hide blocks for specific roles like Administrator, Editor, Subscriber, etc.
Login Status: Display blocks only for logged-in or logged-out users.
Device Type: Control visibility for desktop, tablet, and mobile devices.

This plugin provides an easy-to-use interface in the block editor for adding visibility conditions to blocks, without requiring custom code.

Features

  • Dynamic User Roles: Automatically adapts to any custom roles added by other plugins.
  • Flexible Conditions: Combine multiple conditions for precise control.
  • Device-Based Control: Ensure content visibility is optimized for different screen sizes.
  • Visibility Based on Login Status: Set different content visibility for logged-in or logged-out users.
  • Lightweight and easy to use.

License

This plugin is licensed under the GPLv2 or later. See the GPLv2 license for details.