前言介紹
- 這款 WordPress 外掛「Dismiss Welcome Panel Nag Dashboard Widget」是 2017-11-08 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2018-06-12,距離現在已有 2518 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
luciano-croce | welcome panel | dismiss-welcome-nag | dismiss-welcome-widget | dismiss-dashboard-widget |
內容簡介
啟用此外掛後,Dismiss Welcome Panel nag 可以自動關閉儀表板小工具,或在 mu-plugins 目錄中發現時自動關閉。這個外掛的開發在 GitHub 和 Travis CI 上進行。 Dismiss Welcome Panel Nag 是 Dismiss Gutenberg Nag 和 Dismiss Browser Update Nag 的最佳夥伴。與 GlotPress 的翻譯兼容。該外掛已于2017年11月9日在外掛目錄的存儲庫中得到批准。
提示
巧妙的方法是將此單個文件dismiss-welcome-nag.php(而不是其父目錄)放在 /wp-content/mu-plugins/ 目錄中(如果不存在,創建它),這樣您甚至不需要啟用它,並且將通過默認加載,同時也是 WordPress 安裝設置的第一個步驟!
解釋
這個外掛和其他類似的外掛不同,因為它使用了過濾鉤子(hook),而不是操作鉤子(hook)。過濾應該過濾信息,因此接收信息/數據,應用過濾器並返回信息/數據,然後再使用。但是,過濾器仍然是操作鉤子。WordPress將 add_filter/remove_filter 定義為“將函數掛鉤到特定的過濾器操作”,而 add_action/remove_action 則定義為“將函數掛鉤到特定的操作”。
什麼是歡迎面板?
歡迎面板是 WordPress 3.5+ 的儀表板小工具體驗。
關於它
該插件的代碼不是使用 php 框架撰寫的,而是使用簡單的 php 編輯器手動撰寫的,兼容 UTF-8無 BOM,與 Unix LF。為了避免代碼損壞,請勿使用 WordPress內置的編輯器或任何不符合規格的編輯器進行編輯。
翻譯
由 Luciano Croce 翻譯。
感謝
感謝 Andrea Gandino (andg) 批准了 意大利語 的翻譯。
感謝 Garrett Hyder 批准了 英語(加拿大) 的翻譯。
原文外掛簡介
Dismiss Welcome Panel nag, dashboard widget, 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 Welcome Panel Nag is the best companion of Dismiss Gutenberg Nag, and Dismiss Browser Update Nag. Compatible with GlotPress translations. Plugin approved in the repository of the plugin directory on 2017-11-09
Tips
A neat trick, is to put this single file dismiss-welcome-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 Welcome Panel?
Welcome Panel is a dashboard widget experience for WordPress 3.5+
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
Acknowledgements
Thanks to Andrea Gandino (andg) for Italian translation approval.
Thanks to Garrett Hyder for English (Canada) translation approval.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dismiss Welcome Panel Nag Dashboard Widget」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Getting Started 》WP Getting Started 取代了WordPress歡迎面板(在安裝完WordPress後,您在儀表板上看到的面板),並提供了一個簡單的四步驟解說:選擇和/或自訂您的佈景主題...。
Hide Welcome Panel for Multisite 》WordPress 3.3 推出了一個新的歡迎面板,旨在為首次安裝 WordPress 的新用戶提供更好的體驗。該面板通常會顯示給網絡中新站點的所有者,但這對於所有網絡來說...。