Block Visibility allows you to dynamically control which blocks are visible on your WordPress website and who can see them, which includes the ability to schedule blocks.
Block Visibility is built exclusively for the WordPress Editor (Gutenberg) and is designed to work with any WordPress block. This includes blocks natively provided by WordPress, third-party blocks, and even block-based widgets.
Watch the Plugin Overview demo video to get started with Block Visibility.
Block Visibility also includes direct integrations for the following third-party services.
- Make sure you are running the latest version of WordPress, and you are using the Block Editor
- Download Block Visibility from the WordPress plugin directory.
- WordPress 6.5+
- PHP 7.4+
- Set up a local WordPress environment.
- In the
wp-content/plugins
folder, clone the GitHub repository:https://github.com/ndiego/block-visibility.git
- Navigate to the
wp-content/plugins/block-visibility
folder in the command line. - Run the
npm install
command to install the plugin's dependencies within a/node_modules/
folder. - Run the
composer install
command to install the additional WordPress composer tools within a/vendor/
folder. - Run the
npm run start
command to compile and watch source files for changes while developing.