/block-visibility

Conditional visibility controls for all WordPress blocks.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Block Visibility

License WordPress Plugin Active Installs

banner-1544x500

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.

Connect

Installation

  1. Make sure you are running the latest version of WordPress and you are using the Block Editor
  2. Download Block Visibility from the WordPress plugin directory.

Development

  1. Setup a local WordPress environment.
  2. In the wp-content/plugins folder, clone the GitHub repository: https://github.com/ndiego/block-visibility.git
  3. Navigate to the wp-content/plugins/block-visibility folder in the command line.
  4. Run the npm install command to install the plugin's dependencies within a /node_modules/ folder.
  5. Run the composer install command to install the additional WordPress composer tools within a /vendor/ folder.
  6. Run the npm run start command to compile and watch source files for changes while developing.