Skip to content

ndiego/block-visibility

Repository files navigation

Block Visibility

Block Visibility

Active Installs Playground Demo Link

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.

Integrations

Block Visibility also includes direct integrations for the following third-party services.

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.

Requirements

  • WordPress 6.5+
  • PHP 7.4+

Development

  1. Set up 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.