Linux 软件免费装
Banner图

MSBD Maintenance Mode

开发者 shahalom
microsolutions
更新时间 2026年7月19日 04:46
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

under construction coming soon maintenance mode msbd

下载

1.0.3

详情介绍:

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 Multisite support On WordPress multisite: Request exclusions The plugin does not replace these request types: 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:
  1. Child theme: msbd-maintenance-mode/main.php
  2. Parent theme: msbd-maintenance-mode/main.php
  3. Plugin fallback: wp-content/plugins/msbd-maintenance-mode/tpl/main.php
Stylesheet lookup priority is:
  1. Child theme: msbd-maintenance-mode/style.css
  2. Parent theme: msbd-maintenance-mode/style.css
  3. 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.

安装:

  1. Upload the msbd-maintenance-mode folder to /wp-content/plugins/.
  2. Activate MSBD Maintenance Mode from the Plugins screen.
  3. For single-site WordPress, go to the top-level MSBD Maintenance admin menu.
  4. For multisite network defaults, go to Network Admin > MSBD Maintenance.
  5. For multisite subsite settings, go to the subsite dashboard, then the top-level MSBD Maintenance menu.
  6. Customize the required maintenance badge and title, and optionally customize or clear the message.
  7. Select a Media Library logo or paste a direct HTTP/HTTPS logo URL if you want to display a logo.
  8. Visit the frontend as a logged-out visitor or lower-role user to view the maintenance template.

屏幕截图:

  • Maintenance mode page featuring the site logo, custom title and message.
  • Multisite subsite settings page.

升级注意事项:

1.0.3 Adds configurable maintenance-page content, required badge/title values, restricted safe HTML formatting, and a theme stylesheet override. 1.0.2 Uses the WordPress enqueue system for the default maintenance template stylesheet. 1.0.0 Initial release.

常见问题:

Does the plugin have an enable/disable switch?

No. Activating the plugin enables maintenance mode. Deactivating the plugin disables maintenance mode.

Who can browse the real website while maintenance mode is active?

Site administrators can browse normally. On multisite, network administrators and super admins can also browse normally.

Can lower-role logged-in users browse the real website?

No. Logged-in users below administrator level see the maintenance template.

Can each multisite subsite use its own logo?

Yes. A subsite admin can save subsite-specific settings from the top-level MSBD Maintenance menu. Once saved, those settings override the network defaults for that subsite.

Which logo is displayed if both Media Library logo and Logo URL are set?

The direct Logo URL is displayed first. If the Logo URL field is empty, the Media Library logo is used.

Which HTML tags can I use in the maintenance message?

The message accepts <strong>, <i>, <em>, and <br> tags. Attributes and all other HTML tags are removed when the settings are saved.

Can I use an external image URL for the logo?

Yes. The Logo URL field accepts internal or external HTTP/HTTPS image URLs.

Does the plugin block wp-admin or wp-login.php?

No. Admin, login, AJAX, cron, REST API, WP-CLI, and Customizer preview requests are excluded.

Can I customize the maintenance page design?

Yes. Add msbd-maintenance-mode/main.php to override the template and/or msbd-maintenance-mode/style.css to override the stylesheet in your active theme or child theme.

Does the plugin use external services?

No. The plugin does not connect to external services. If you paste an external logo URL, the visitor's browser will request that image from the external URL.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0