Plugin info

Total downloads: 1,538
Active installs: 50
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/13/2025 (171 days ago)
Added to WordPress: 9/29/2022 (3 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.8.3
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Maintained • Last updated 171 days ago • 1 reviews

52/100

Is Disable Block – Hide blocks in the frontend abandoned?

Likely maintained (last update 171 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.8.3
Requires PHP: 7.4

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Block Editor Disabler
Rating 0.0/5 (0 reviews)Active installs 0

Description

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.
Now it also adds some markings in the list view of the editor.

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.

Installation

No installation instructions available

Frequently Asked Questions

Can I change the styling in the admin that marks which blocks are hidden?

Yes, of course this is possible with a filter.
Ideally do not change the “content: attr(data-spk-block-disabled);” as it creates the text for the labelling.

function change_css_styles_example_function($css)
        {
            $css = '[data-spk-block-disabled]:before {
                      color: #fff;
                      content: attr(data-spk-block-disabled);
                      z-index: 2;
                      background: #8b0000;
                      padding: 2px 6px;
                      font-size: 12px;
                      font-weight: 700;
                      position: absolute;
                      top: 0;
                      transform: translateY(calc(-100% + 1px));
                      right: 0;
                    }
                    [data-spk-block-disabled]:after {
                      content: '';
                      z-index: 1;
                      border-top: 5px solid #8b0000;
                      border-right: 5px solid #8b0000;
                      border-radius: 0;
                      position: absolute;
                      inset: 0;
                    }';

            return $css;
        }

 add_filter('disable_block_admin_styles', 'change_css_styles_example_function', 10);

Review feed

No reviews available

Screenshots

  1. The 'Disable Block' button at work in the block editor.

    The 'Disable Block' button at work in the block editor.

Changelog

1.3.2

  • Fixed CSS styling and updated readme

1.3.1

  • Fixed asset bundling

1.3.0

  • Added listview support

1.2.1

  • Updated asset loading for changes introduced in WordPress 6.3
  • Fixed typo in CSS

1.2.0

  • Fixed return type for render_block filter

1.1.0

  • Added “disable_block_admin_styles” filter, so that developers can control the styling of the hidden block markings in the editor.

1.0.0

  • Initial Release of the plugin