[WordPress] 外掛分享: MSBD Maintenance Mode

首頁外掛目錄 › MSBD Maintenance Mode
WordPress 外掛 MSBD Maintenance Mode 的封面圖片
全新外掛
安裝啟用
尚無評分
44 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.3 上架:2026-07-17

內容簡介

MSBD Maintenance Mode 是一款輕量級的 WordPress 維護模式外掛,當啟用時,會為未登入的訪客及低權限的登入用戶顯示簡單的維護頁面,而管理員則可以正常瀏覽網站。

【主要功能】
• 顯示維護頁面給訪客及非管理員登入用戶
• 允許管理員繞過維護模式
• 支援多網站環境的管理設定
• 提供維護徽章及標題欄位
• 支援自訂樣式與模板覆寫

外掛標籤

開發者團隊

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

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

原文外掛簡介

MSBD Maintenance Mode is a lightweight maintenance mode plugin for WordPress. When active, the plugin replaces the public frontend template with a simple maintenance page for logged-out visitors and lower-role logged-in users.
Administrators can continue browsing the real website normally while maintenance mode is active.
Main features

Shows a maintenance page to visitors and non-admin logged-in users.
Allows site administrators to bypass maintenance mode with the manage_options capability.
Allows network administrators and super admins to bypass maintenance mode on WordPress multisite.
Supports a Media Library logo.
Supports a direct HTTP/HTTPS logo URL.
Provides required maintenance badge and title fields plus an optional message field.
Allows only , , , and
formatting in the maintenance message.
Uses clean template and stylesheet override paths for theme developers.
Excludes admin, login, AJAX, cron, REST API, WP-CLI, and Customizer preview requests.
Includes WordPress nonce verification and capability checks for settings forms.
Sanitizes saved settings and escapes template/admin output.
Includes internationalization support with the msbd-maintenance-mode text domain and /languages domain path.

Multisite support
On WordPress multisite:

Network Admin > MSBD Maintenance manages network-level default settings from a top-level network admin menu.
Each subsite admin can use the top-level MSBD Maintenance menu to manage that subsite’s own settings.
Subsite settings override network defaults after they are saved.

Request exclusions
The plugin does not replace these request types:

WordPress admin area
Login and registration pages
AJAX requests
Cron requests
REST API requests
WP-CLI requests
Customizer preview requests

Template customization
Theme developers can override the public maintenance page without editing the plugin by adding either or both files to the active theme or child theme:
msbd-maintenance-mode/main.php
msbd-maintenance-mode/style.css

Template lookup priority is:

Child theme: msbd-maintenance-mode/main.php
Parent theme: msbd-maintenance-mode/main.php
Plugin fallback: wp-content/plugins/msbd-maintenance-mode/tpl/main.php

Stylesheet lookup priority is:

Child theme: msbd-maintenance-mode/style.css
Parent theme: msbd-maintenance-mode/style.css
Plugin fallback: wp-content/plugins/msbd-maintenance-mode/assets/css/maintenance.css

The selected stylesheet is loaded with wp_enqueue_style(). The default plugin template sends a 503 Service Unavailable response, adds no-cache headers, and outputs a noindex meta tag.
Privacy
The plugin does not collect, store, or transmit personal data. It does not connect to external services.
If an administrator enters an external logo URL, visitors’ browsers may request that image from the external URL provider.

延伸相關外掛

文章
Filter
Mastodon