该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Disable Core Block Patterns

描述

This plugin will disable the Core Block Patterns, included with WordPress 5.5 (and higher versions). Even if your theme enables them, this plugin will overrule your theme and disable Core Block Patterns. It will not disable any custom or plugin Block Patterns. The plugin has no settings and should work in WordPress MU as well as single WordPress installations.

If this plugin meets your expectations and you use it commercially
please consider a donation to one of these organisations or your country’s equivalents:

Notes

Credits:

Icon in the WordPress plugin repository and found in /assets/icon* uses ‘To Build’ icon licensed under a Creative Commons Attribution 4.0 International License. Derived from the series ‘Afiado’ By Susana Passinhas

Thanks Susana Passinhas and to[icon] for sharing your work!

WordPress repository header image found in /assets:
‘A cropped elment from Fig 173 from page 359 of “Annual report of the Bureau of American Ethnology to the Secretary of the Smithsonian Institution” (1895)’. No known copyright restrictions. Cropped by BjornW.
Found via Flickr Commons – flickr.com/commons on Internet Archive.org (thanks!)

屏幕截图

  • After pressing the Plus (+) sign to select a new block or pattern to use in the Block (Gutenberg) editor.
  • Selecting the Block Patterns tab which is displaying Core Block Patterns only.
  • After activation of Disable Core Block Patterns, the patterns tab is gone. Note: if there are any non Core Block Patterns, the tab is shown including your patterns (excluding Core Block Patterns).

安装

  1. Upload disable-core-block-patterns to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

评价

2020 年 10 月 24 日
That clears things up! I hated these paterns you had to pass through every time kooking for my own!
阅读所有0条评价

贡献者及开发者

“Disable Core Block Patterns” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.2 October 27 2020

  • Fix “Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP” warning message.
    Although the method is not used as a constructor I’ve changed the code to prevent this warning from cluttering your debug log. No functional changes.

1.0.1 October 22 2020

  • renamed WP-Disable-Core-Block-Patterns into Disable Core Block Patterns

1.0 October 19 2020

  • First release