跳到内容

Maintenance Switch

v1.7.3

Fugu Design · 2015年7月24日 上架

Customize easily and switch in one-click to (native) maintenance mode from your backend or frontend.

正在使用
900+
评分
5.0 / 5
累计下载
4.5 万
最近更新
2026年8月14日
12 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

A button is added to the admin bar for simple toggling in maintenance mode.
A button is added to the admin bar for simple toggling in maintenance mode.
The "Display" tab of the settings page allow you to define the entire HTML code of your maintenance page, or use a custom file in your theme.
The "Display" tab of the settings page allow you to define the entire HTML code of your maintenance page, or use a custom file in your theme.
The "Permissions" tab of the settings page allow you to define which user roles can bypass the maintenance mode (to visit the website when maintenance mode is on).
The "Permissions" tab of the settings page allow you to define which user roles can bypass the maintenance mode (to visit the website when maintenance mode is on).
The "Behavior" tab of the settings page allow you to change the http error code returned by the maintenance page.
The "Behavior" tab of the settings page allow you to change the http error code returned by the maintenance page.

One-click maintenance mode

This plugin adds a button to the admin bar for toggling the builtin maintenance mode.

Core maintenance mode

A .maintenance file is generated and copied to the WordPress installation folder when turning on the maintenance mode.
A maintenance.php file is generated and added to the wp-content folder for custom HTML code.

Your custom maintenance page will also be active during the core, plugins and themes updates.

Special Features

  • set which roles can switch the maintenance mode

  • set which roles can bypass the maintenance mode on the frontend

  • set the entire HTML code used for the maintenance page

  • preview the maintenance page before saving

  • enable the theme file support, so you can create in each your themes a maintenance.php file to customize the maintenance page

  • restore all default settings

  • restore default HTML code

  • create/delete the maintenance file in the active WP theme

Translations

  • English – default, always included
  • French

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums