這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Disable Core Block Patterns 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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