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.
Built for the Block (Gutenberg) Editor, this plugin was designed to work with any WordPress block. This includes blocks natively provided by WordPress as well as third-party blocks.
To get started with Block Visibility, watch the Plugin Overview demo video.
- 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.
- Setup 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.