跳到内容

Disable Block – Hide blocks in the frontend

v1.3.2

landwire · 2022年9月29日 上架

Disable Block adds a simple button to the editor to disable the block on the frontend, hiding it from viewers.

正在使用
80+
评分
5.0 / 5
累计下载
2,430
最近更新
2025年7月13日
1 条评价需要 WordPress 5.0+已测试到 6.8.13PHP 7.4+

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums