
內容簡介
Gutenberg 是一個很棒的編輯器,但有時你可能想要在頁面、文章或其他文章類型中停用它。Gutenberg Manager 讓你在想停用的地方啟用或停用編輯器。為什麼要在頁面上停用編輯器呢?也許你想使用像 Visual Composer 或 Elementor 這樣的頁面建構器!
Gutenberg 編輯器很可能會包含在下一個 WordPress 的重要版本 (5.0) 中,因此 Gutenberg Manager 會非常有用。使用 Manager,你還可以決定是否在編輯器中停用特定區塊。
如果你正在開發或編輯一個主題/外掛,所有功能也可以透過 Hooks 使用,因此你可以將 Gutenberg Manager 外掛包含在你的主題中,並在不使用選項面板的情況下使用它。
如果你喜歡這個外掛,請給予五顆星鼓勵未來的改善。
使用方式
在你的儀表板中的「Gutenberg」選單下,你會找到一個新的按鈕「Gutenberg Manager」。這是我們外掛的選項面板。現在,它包括 4 個選項區域:
設定
預設區塊
其他區塊
API/Hooks
設定
在這裡,你可以全域停用 Gutenberg 編輯器或管理不同文章類型中編輯器的可見性。
預設區塊
在這裡,你可以在編輯器中停用預設區塊。
其他區塊
在這裡,你可以在編輯器中啟用我們的其他區塊。
此區域正在建設中
API/Hooks
這裡列出了一個可用於自定義主題/外掛的 Hooks 列表!
註:有一個動作可用於停用 Gutenberg Manager 的選項面板,因此我們的外掛將對最終使用者隱藏,但主題/外掛開發人員可以使用外掛的所有功能。
外掛標籤
開發者團隊
原文外掛簡介
Gutenberg is a great editor but sometime you could want to disable it for Pages, Posts or other post types. Gutenberg Manager allow you to enable/disable the editor where you want. Why would you want to disable the editor on pages? Maybe you would like to use a page builder like Visual Composer or Elementor instead!
Gutenberg Editor will be probably included in the next great release of WordPress (5.0) so Gutenberg Manager will be really useful. With the Manager you can also decide to disable specific blocks in the editor if you don’t need them.
If you are developing or editing a theme/plugin all features are also available via Hooks so you can include Gutenberg Manager plugin inside your theme and use it without the Option Panel.
If you like this plugin, please give us 5 star to encourage for future improvement.
How to use
Under “Gutenberg” menu in your dashboard you’ll find a new button “Gutenberg Manager”. This is the Option Panel of our plugin. For now it includes 4 options areas:
Settings
Default Blocks
Additional Blocks
API/Hooks
SETTINGS
Here you can globally disable Gutenberg Editor or manage the visibility of editor in the different post types.
DEFAULT BLOCKS
Here you can disable the default blocks in the Editor.
ADDITIONAL BLOCKS
Here you can enable our additional blocks in the Editor.
This section is under construction
API/HOOKS
Here you find a list of Hooks to use in your custom Theme/Plugin!
Note: there is an action to disable the Option Panel of Gutenberg Manager so our plugin will be hidden for the final user but the theme/plugin developer can use all the plugin’s features.
