Disable Block – Hide blocks in the frontend

plugin banner

Disable Block adds a simple button to the editor to disable the block on the…

Author:Sascha Paukner (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.3.2
Plugin version:1.2.1
Added to WordPress repository:29-09-2022
Last updated:24-09-2023
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:544
Active installs:20+
plugin download
Click to start download

Disable Block adds a simple button to the editor to disable the block on the frontend, hiding it from viewers.
Perfect for blocks that are not ready to be viewed by the public, but you are working on in the backend.

It adds subtle markings in the editor, so that you can easily see which blocks are disabled.

Features

  • Show or hide blocks with one click
  • Adds subtle markings and block name, so you can see which block is disabled, leaving most of the design in the editor intact.

Limitations

Does not work with the Classic Block, Widget Block or Widget Area Block [‘core/freeform’, ‘core/legacy-widget’, ‘core/widget-area’], as the those blocks do not support block attributes. Does also not work with the HTML Block [‘core/html’] inside the Widget Screen, as this one also does not support block attributes there.

Configuration

Just activate the plugin. The “Disable Block” button will then appear in the toolbar of each block.


Screenshots
FAQ
ChangeLog