前言介紹
- 這款 WordPress 外掛「Dismiss Gutenberg Nag」是 2017-11-04 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2018-11-25,距離現在已有 2352 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
gutenberg | luciano-croce | dismiss-gutenberg-nag | dismiss-dashboard-widget | dismiss-gutenberg-widget |
內容簡介
="ugc">Dismiss Gutenberg Nag 是一個 WordPress 外掛,啟用時可以隱藏與新版 WordPress 編輯器 Guttenberg 有關的提示。如果該外掛在 mu-plugins 目錄中啟用,那麼 Guttenberg 提示將自動隱藏。Dismiss Gutenberg Nag的開發專案可於 GitHub 和 Travis CI 查看。它與 Dismiss Welcome Panel Nag 和 Dismiss Browser Update Nag 兼容。兼容使用 GlotPress 翻譯系統的 翻譯。適用於單站和多站點安裝。該外掛已於 2017年11月5日在 WordPress 官方外掛庫中獲得核准。
請注意,WP 4.9-beta3 中有一個預覽版 Guttenberg 編輯器,但後來在 WP 4.9.5-beta1-42869 和 WP 4.9.8-beta1-43502 中分別被移除,之後分別在 WP 4.9-beta4、 WP 4.9-RC1、 WP 4.9-RC2、 WP 4.9-RC3、 WP 4.9.0、 WP 4.9.1、 WP 4.9.2、 WP 4.9.3、 WP 4.9.4、 WP 4.9.5-beta1-42883、 WP 4.9.5、 WP 4.9.6、 WP 4.9.7、 WP 4.9.9、 WP 5.0-alpha 和 WP 5.1-alpha 中出現,並於 WP 4.9.8 和 WP 5.0+ 中作為其核心功能之一。 票 和 票。
未來的 1.0.6 版本將禁用 Guttenberg 編輯器並將其替換為經典編輯器。這個外掛不會向 WordPress 添加自己的代碼,僅限於管理和配置其功能,以提供最大的使用體驗,避免可能的問題。
該外掛默認僅在具有管理員許可權的用戶中顯示 Guttenberg 提示,但當啟用 Guttenberg 外掛時會顯示給所有使用者。配置選項已添加到「設定」>「撰寫」選單中,可根據需要設置提示顯示方式。更多詳情請參閱截圖。
裝在 /wp-content/mu-plugins/ 目錄下單個文件 dismiss-gutenberg-nag.php(如果不存在,請創建該目錄)是一個方便的技巧,這樣你甚至不需要啟用它,並且會被默認加載,也適用於 WordPress 安裝的第一步!
本外掛不同於其他類似的外掛,因為它使用過濾器鉤子,而不是動作鉤子。過濾器應該過濾信息,因此接收信息/數據,應用過濾器,返回信息/數據,然後使用。但過濾器仍然是動作鉤子。WordPress 將 add_filter/remove_filter 定義為「將功能鉤住到特定過濾器操作」,而 add_action/remove_action 則定義為「將功能鉤住到特定動作上」。
此外掛適用於繁體中文語系的 WordPress 系統。
原文外掛簡介
Dismiss try Gutenberg nag, dashboard widget, and demo menu, when it is activated, or automatically, if it is in mu-plugins directory. Development for this plugin, takes place at GitHub, and Travis CI. Dismiss Gutenberg Nag is the best companion of Dismiss Welcome Panel Nag, and Dismiss Browser Update Nag. Compatible with GlotPress translations. Work with Single and Multisite installation. Plugin approved in the repository of the plugin directory on 2017-11-05
This is not a replacement but just a tool for those who need it.
To date, try Gutenberg, preliminarily introduced in WP 4.9-beta3, in WP 4.9.5-beta1-42869, and WP 4.9.8-beta1-43502, respectively removed in WP 4.9-beta4, in WP 4.9-RC1, in WP 4.9-RC2, in WP 4.9-RC3, in WP 4.9.0, in WP 4.9.1, in WP 4.9.2, in WP 4.9.3, in WP 4.9.4, in WP 4.9.5-beta1-42883, in WP 4.9.5, in WP 4.9.6, in WP 4.9.7, in WP 4.9.9, in WP 5.0-alpha, and in WP 5.1-alpha, is embedded in core of WP 4.9.8 and WP 5.0+ according with this ticket and this ticket.
This plugin use Semantic Versioning MAJOR.MINOR.PATCH
Future version 1.0.6 disable Gutenberg Editor and replace it with Classic Editor.
Please note that this plugin does not add its custom code to WordPress (just to not create unexpected incompatibilities with Gutenberg or Classic Editor), but is limited only to the management and configuration of its functions, to offer the maximum of its experience of use, without introducing possible additional problems. Enjoy!
How Work?
By default try Gutenberg is displayed only for users with administrator capability in WordPress 4.9.8 but when the Gutenberg plugin is installed and activated, is displayed for all user capability type.
An option configuration page is added to the settings -> writing menu so that you can set the callout display according to your needs. Stick to the screenshots for more details.
Tips
A neat trick, is to put this single file dismiss-gutenberg-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
Explanation
This, is different from the other similar plugins, because uses the filter hook, and not the action hook. Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used. However, filters are still action hooks. WordPress defines add_filter/remove_filter as “hooks a function to a specific filter action”, and add_action/remove_action as “hooks a function on to a specific action”.
What is Gutenberg?
Gutenberg is new block editor editing experience for WordPress 5.0+
About it
The code of this plugin, is not written with a php framework, but with a simple php editor, manually, compatible UTF-8 without BOM, and Unix LF. To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor.
Translation
Translated by: Luciano Croce
This is a stable project, but it is still in full development (in progress). The translations in the various languages will be done only for all the parts that certainly will not be changed several times in this phase.
Available soon in: American, Australian, Belgian FR, Brazilian, Canadian EN, Canadian FR, Catalan, Chilean, Colombian, English, French, German, Italian, New Zealander, Peruvian, Portuguese, Spanish, Swiss DE, Venezuelan, and more other languages in becoming.
Acknowledgements
Thanks to Andrea Gandino for preliminary Italian translation approval, before I became italian PTE of my plugins.
Thanks to Garrett Hyder for English (Canada) translation approval, and code contributions.
Thanks to Pascal Birchler for code contributions.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dismiss Gutenberg Nag」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Dismiss Welcome Panel Nag Dashboard Widget 》啟用此外掛後,Dismiss Welcome Panel nag 可以自動關閉儀表板小工具,或在 mu-plugins 目錄中發現時自動關閉。這個外掛的開發在 GitHub 和 Travis CI 上進行...。
Dismiss Core Update Nag Dashboard Widget 》在儀表板上消除「核心更新」提醒,在管理選單上消除「指標」,在管理列或工具列上消除「維護模式」,如果在 mu-plugins 目錄中啟用,則自動消除。, 提示, 一...。
Dismiss Privacy Tools 》當啟用時,禁用並刪除隱私工具(從版本4.9.6開始 — 完全關閉 GDPR),並將選項重置為預設值,或者如果它位於mu-plugins目錄中。, 開發在GitHub和Travis...。
Dismiss Privacy Nag 》Dismiss Privacy Pointer Nag(4.9.6 版本中新增 — 部分 GDPR OFF)和管理通知,啟用時,或者如果它位於 mu-plugins 目錄中則不顯示。, 開發位於GitHub...。
Dismiss Browser Update Nag Dashboard Widget 》啟用此外掛後,可以解除瀏覽器更新 nag,並從儀表板 widget 中移除它,如果該外掛位於 mu-plugins 目錄內,也可以自動完成。此外掛的開發在GitHub和Travis CI...。
Admin Footer Version (rebranded) 》版權說明:本 WordPress 外掛用於管理後台,用戶可設定顯示客製化版本號碼。 根據 GNU 通用公共許可證,本程式是"依據現狀"基礎提供,沒有任何明示或暗示的擔...。
Dismiss WSoD Protection 》啟用這個外掛時,解除即將推出的 "WSoD"(白屏死亡)保護功能,或如果它在 mu-plugins 目錄中,也會解除保護。, 開發在 GitHub 和 Travis CI 上進行。, 與 Gl...。
Dismiss Serve Happy Nag 》當啟用了這個外掛或者它在 mu-plugins 目錄中,這個外掛會自動移除"即將推出"的 "Serve Happy" 煩人提醒 PHP 儀表板小工具。, , 這個外掛使用語意化版本號碼...。