[WordPress] 外掛分享: Minimal Maintenance Mode

首頁外掛目錄 › Minimal Maintenance Mode
300+
安裝啟用
★★★★★
5/5 分(1 則評價)
81 天前
最後更新
問題解決
WordPress 5.3+ v1.0.2 上架:2023-10-08

內容簡介

WordPress 「Minimal Maintenance Mode」外掛是一個簡單且輕量級的解決方案,可以在您的 WordPress 網站上啟用維護模式。該外掛是免費、快速且可在幾分鐘內部署。
當維護模式啟用時,該外掛會為所有未登入的使用者顯示可自定義的訊息。
您可以設置一個自定義的密語,使用者可以將其附加到網站 URL 以獲取存取權,即使他們未登入。

主要特點:
- 啟用維護模式來限制對網站的存取。
- 自定義維護模式的訊息和標題。
- 登入的使用者和管理員可以自動繞過維護模式。
- 可選擇設定密語以通過 URL 參數繞過維護模式。

設定和使用方法:
1. 前往 WordPress 管理選單並點擊「維護模式」。
2. 自定義維護模式的標題和訊息。
3. (可選)選擇一個密語,讓未登入的使用者可以繞過維護模式。
4. 儲存設定並按下「儲存並啟用」以啟用維護模式。

繞過維護模式:
如果在維護模式時需要存取您的網站,您可以使用以下方法:
- 管理員和登入的使用者:登入的使用者可以正常訪問網站。此外,/wp-admin/ 頁面將不會被封鎖。
- 使用密語:在任何網址後面附加 ?[密語] 以便在一週內繞過維護模式。系統將在使用者的機器上放置一個功能型的 cookie 以實現此功能。如果密語被更改,使用舊的密語進行訪問立即被撤銷。密語可以在進階外掛設定中進行配置。

隱私通知:
此外掛不會:
- 追蹤使用者;
- 寫入任何使用者個人資料到資料庫;
- 傳送任何資料到外部伺服器。

支援:
請使用適當的論壇、Github 上的問題追蹤系統,或發送電子郵件取得支援。

貢獻:
該外掛程式意圖簡單。它是一種簡單、快速且尊重隱私的方式,供網站管理員啟用維護模式。該外掛程式不會擴充很多功能,例如模板和樣式選項;而有許多其他維護外掛可以提供這些選項。如果您仍然認為您可以對該外掛做出貢獻(例如提交錯誤修復),請提交一個拉取請求。

授權:
「Minimal Maintenance Mode」外掛以 GNU 通用公共授權條款版本 3.0 許可。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Minimal Maintenance Mode」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Minimal Maintenance Mode plugin is a simple and lightweight solution to enable a maintenance mode on your WordPress website. The plugin is free, fast, and can be deployed within minutes.
When the maintenance mode is active, the plugin displays a customizable message for all not-logged-in users.
It is possible to set a custom secret word that users can append to the website URL to get access, even if they are not logged in.
Features

Enable a maintenance mode to restrict access to your website.
Customize the maintenance mode message and heading.
Automatic bypass for logged-in users and administrators.
Option to set a secret word to bypass maintenance mode via URL parameter.

Configuration and usage
To enable maintenance mode and set the message displayed during maintenance, follow these steps:

Go to the WordPress admin menu and click on ‘Maintenance Mode’.
Customize the maintenance mode heading and message.
(Optional) Pick a secret word to let not-logged-in users bypass the maintenance mode.
Save the settings and activate the maintenance mode by pressing ‘Save and activate’.

Bypassing maintenance mode
If you need to access your website during maintenance mode, you can use the following methods:

For administrators and logged-in users: logged-in users can access the website normally. Also, the /wp-admin/ pages will not be blocked.
Using the secret word: Append ?[SECRET WORD] to any URL to bypass the maintenance mode for a week. A functional cookie is placed on the user’s machine to make this work. If the secret word is changed, access using the old secret word is revoked immediately. The secret word can be configured in the advanced plugin settings.

Privacy notices
This plugin does not:

track users;
write any user personal data to the database;
send any data to external servers.

Support
Please use the appropriate forums, issues on Github, or send an email.
Contributing
This plugin is deliberately simple. It is made as a foolproof, quick, and privacy-friendly way for site administrators to activate a maintenance mode. This plugin will not be extended with loads of features, such as templates and styling options; there are plenty of other maintenance plugins to pick that do offer these options. If you nevertheless think that you can contribute to the plugin (e.g. by submitting a bug fix), please open a pull request.
License
The Minimal Maintenance Mode plugin is licensed under the GNU General Public License v3.0.

延伸相關外掛

文章
Filter
Mastodon