[WordPress] 外掛分享: Disable Customizer

前言介紹

  • 這款 WordPress 外掛「Disable Customizer」是 2021-12-06 上架。
  • 目前有 300 個安裝啟用數。
  • 上一次更新是 2024-04-04,距離現在已有 395 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pmgllc | joppuyo | peterdog | parallelus |

外掛標籤

hide | remove | disable | customiser | customizer |

內容簡介

Disable Customizer 可以完全禁用 WordPress 網站上的 Customizer。這在您開發不使用 Customizer 的自定義網站或佈景主題時非常有用。刪除一個並沒有實際用途的額外「設定」按鈕可以簡化 WordPress 管理介面的使用體驗。

這個外掛的代碼是基於 Jesse Petersen 和 Andy Wilkerson 所製作的 Customizer Remove All Parts。

相較於原始外掛的改進點

我已經新增了自動化測試,以確保該外掛可在 WordPress 和 PHP 的新版本上運行。
藉由自動化測試所提供的協助,我已經測試過該外掛可在 WordPress 5.0 以上版本運行,而原始外掛只被測試到 WordPress 4.4。
自動化測試還可以確保該外掛可在 PHP 7 和 8 上運行,而原始外掛只被測試到 PHP 5。
由於「Customizer Remove All Parts」已被官方插件網站刪除,因為該外掛已經被認為是「無用的」。因此,「Disable Customizer」可以在官方插件網站上使用,這樣可以輕鬆安裝和維護該外掛的版本。

在改進過程中,我已經放棄了對舊版 WordPress 和 PHP 的支援。我本來想繼續支援這些版本的,但是支援太多版本的 WordPress 和 PHP 將變得越來越困難。優點是由於測試已經自動化,我可以非常確定所聲稱要支援的版本實際上可以支援。根據 wordpress.org 的統計數據,WordPress 5.0 和 PHP 7 應涵蓋 WordPress 用戶的約 90%。

支援本外掛

維護 WordPress 外掛需要大量的工作。如果您喜歡這個外掛,請考慮在 WordPress.org 上評價它。謝謝!

如果您感興趣,您還可以查看我的其他 WordPress 外掛:

Disable Media Pages
Disable Drop Cap
ACF Image Aspect Ratio Crop

原文外掛簡介

Disable Customizer lets you completely disable Customizer on your WordPress site. This is useful in cases where you develop custom sites or themes that don’t use Customizer. Removing the extra “Customize” button that doesn’t actually do anything useful simplifies the WordPress admin user experience.
The code is based on Customizer Remove All Parts by Jesse Petersen and Andy Wilkerson.
Improvements compared to the original plugin

I’ve added automated tests that ensure plugin works in new versions of WordPress and PHP.
With the help of the automated tests, I’ve tested that the plugin works in WordPress 5.0 and later. The original plugin was only tested up to WordPress 4.4.
The automated tests also ensure that the plugin works in PHP 7 and 8. The original plugin was only tested with PHP 5.
Customizer Remove All Parts was removed from the plugin directory due to being “unused”, presumably since it hasn’t been updated in 5 years. Disable Customizer is available in the plugin directory so it can be easily installed and kept up to date

In the process, I’ve dropped support for old versions of WordPress and PHP. I would have liked the continue supporting these but supporting a very wide range of WordPress and PHP versions becomes increasingly difficult. The upside is that since the tests are automated, I can be very certain that the versions claim to be supported are actually so. According to wordpress.org statistics WordPress 5.0 and PHP 7 should cover around 90% of WordPress users.
Support the plugin
Maintaining a WordPress plugin is a lot of work. If you like the plugin, please consider rating it on WordPress.org. Thank you!
If you are interested, you can also check out my other WordPress plugins:

Disable Media Pages
Disable Drop Cap
ACF Image Aspect Ratio Crop

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Disable Customizer」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.0.0 | 2.1.0 | 2.2.0 | 2.2.1 | 2.2.2 | 2.2.3 | 2.2.4 | 2.2.5 | 2.2.6 | 2.2.7 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Ghost (Hide My WP Ghost) – Security & Firewall 》Hide My WP Ghost 是一個 WordPress 安全外掛,透過強大且易於使用的功能,提供最佳的安全解決方案。它可以在不改變任何目錄或檔案的情況下,將網站的安全性...。
  • Email Encoder – Protect Email Addresses and Phone Numbers 》專門為電子郵件地址設計的全站保護外掛,可防止垃圾郵件機器人、電子郵件收割機和其他機器人攻擊。無需任何配置。, 此外,使用我們集成的[eeb_protect_conten...。
  • If Menu – Visibility control for Menus 》藉由可見度規則,您可以控制網站訪客看到哪些選單項目。以下是一些範例:, , 僅顯示選單項目,當 使用者已登入, 當裝置為行動裝置時,隱藏選單, 顯示選單 給...。
  • Dynamic Visibility for Elementor 》Dynamic Visibility 擴充套件讓您可以隱藏小工具、欄位、容器、區段或頁面。, 當您正在建立不想向所有人展示的內容時,這尤其有用。, 這是一個 Elementor 的...。
  • Hide/Remove Metadata 》Hide/Remove Metadata是一款免費、簡單而非常實用的WordPress外掛,能夠幫助您輕鬆地隱藏或刪除網站上的作者和發布日期。該外掛非常容易使用,僅提供隱藏或移...。
  • Hide Admin Bar 》這個 WordPress 外掛可以隱藏 WordPress 3.1+ 的管理員工具列,感謝 Yoast 和 Pete Mall 的貢獻。如果你喜歡這個外掛,可以考慮請買我一杯咖啡。。
  • WordPress Hide Posts 》這個外掛可以讓你隱藏首頁、分類頁、搜索頁、標籤頁、作者頁、RSS Feed、REST API、文章導覽和原生最近文章小工具的任何文章。, 試試看 Demo, 功能:, , 使用...。
  • Hide My Site 》選擇一個密碼以保護整個 WordPress 網站,只有知道此密碼的訪客才能存取您的 WordPress 網站。這是一個完美的工具,適合建立 WordPress 網站開發版本或者任何...。
  • Hide Featured Image 》有些情況下,我們可能想在某個單獨的文章頁面上顯示特色圖片,但另一些文章頁面則不想顯示。, 這個外掛可以讓您在單獨的文章頁面上顯示或隱藏特色圖片,同時...。
  • WP-ShowHide 》預設情況下,內容是隱藏的,使用者必須點擊「顯示內容」連結來切換內容。與 Engadget 為他們的新聞稿所做的方式相似。範例用法:[showhide type="pressreleas...。
  • WP Mailto Links – Protect Email Addresses 》這個外掛可以安全地保護和編碼電子郵件地址,以防止垃圾郵件機器人、亂發郵件和其他機器人。此外,它很容易使用,不需要進行任何配置即可使用。, 功能, , 全...。
  • WP Hide Post 》這個外掛強在幫助你完全控制文章的顯示方式。在 WordPress 網誌上,一般加入的文章會顯示在首頁中,通常是第一篇位置,也會同樣顯示在分類、標籤、存檔頁面等...。
  • Hide Shipping Method For WooCommerce 》s offering “Free Shipping” and “Local Pickup” on the cart page. With the Hide Shipping Method for WooCommerce plugin, you can hide all other shippi...。
  • Hide Categories and Products for Woocommerce 》這個外掛可以讓你隱藏選定的類別上的店鋪產品,並隱藏類別本身,無論是在列表還是單獨頁面中。, 它可以與 Storefront(主題)短代碼兼容。, 使用方式, , 前往...。
  • Disable Media Pages 》這個 WordPress 外掛完全停用「附件」頁面。, 預設情況下,WordPress 會為每個附件建立一個頁面。這可能會有兩個不利因素:, 搜尋引擎優化, 附件頁面除了一張...。

文章
Filter
Apply Filters
Mastodon