Conditional Block Visibility

plugin banner

Manage block visibility based on user roles, login status, or device type.

Author:Sanad Qazi (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:6.7.2
Plugin version:1.0.3
Added to WordPress repository:16-02-2025
Last updated:28-02-2025
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:808
plugin download
Click to start download

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.


Screenshots
FAQ
ChangeLog