Title: WP Maintenance Switch
Author: Mitch
Published: <strong>2017 年 2 月 19 日</strong>
Last modified: 2017 年 3 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-maintenance-switch/assets/icon-256x256.png?rev=1599902)

# WP Maintenance Switch

 作者：[Mitch](https://profiles.wordpress.org/lowest/)

[下载](https://downloads.wordpress.org/plugin/wp-maintenance-switch.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-maintenance-switch/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-maintenance-switch/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-maintenance-switch/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-maintenance-switch/#developers)

 [支持](https://wordpress.org/support/plugin/wp-maintenance-switch/)

## 描述

WP Maintenance Switch makes it easy to turn on maintenance mode while you are modifying
your website.

This light-weight plugin is designed for small operations, such as switching a theme.

If you would like to set up your own custom maintenance page, please [see the FAQ](https://cn.wordpress.org/plugins/wp-maintenance-switch/faq/?output_format=md).

## 屏幕截图

 * [[
 * Switch button
 * [[
 * Maintenance page

## 安装

 1. Upload the ‘wp-maintenance-switch’ folder to the /wp-content/plugins/ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Donzo! The switch has been added to your admin bar and you’re ready to go.

## 常见问题

  Is there a way to set up my own custom maintenance page?

If you want to set up your own maintenance page, log in using FTP and make your 
way over to `wp-content/` directory. From there, create a new file called `maintenance.
php`. In `maintenance.php`, you can add whatever you want and it’ll display when
you activate maintenance mode.

Please note you have to set up your own 503 headers in your custom maintenance file.

  Does this plugin have any configuration options?

No, WP Maintenance Switch does not have options to configure.

  Which user roles have the ability to switch on maintenance mode?

Only administrators have the ability to switch on maintenance mode. Administrators
also have access to the website while its under maintenance.

## 评价

![](https://secure.gravatar.com/avatar/9786181f2ac82df1c2b05de1899533eadab7a16b5e6f7462d0c11f6abe6af6bd?
s=60&d=retro&r=g)

### 󠀁[Great litlle plugin](https://wordpress.org/support/topic/great-litile-plugin/)󠁿

 [Li-An](https://profiles.wordpress.org/li-an/) 2017 年 10 月 28 日

The button to switch the maintenance mode is so convenient that this extension deserves
5 stars.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/)

## 贡献者及开发者

「WP Maintenance Switch」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Mitch ](https://profiles.wordpress.org/lowest/)

[帮助将「WP Maintenance Switch」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-maintenance-switch)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-maintenance-switch/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-maintenance-switch/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-maintenance-switch/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-maintenance-switch/)。

## 更新日志

#### 1.0.1

 * Added security measures
 * CSS fixes to maintenance page
 * The front-end switch button is now small
 * Lots of coding fixes

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-maintenance-switch/)
 * 标签
 * [maintenance](https://cn.wordpress.org/plugins/tags/maintenance/)[maintenance mode](https://cn.wordpress.org/plugins/tags/maintenance-mode/)
   [switch](https://cn.wordpress.org/plugins/tags/switch/)[wp maintenance](https://cn.wordpress.org/plugins/tags/wp-maintenance/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-maintenance-switch/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-maintenance-switch/reviews/)

## 贡献者

 *   [ Mitch ](https://profiles.wordpress.org/lowest/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-maintenance-switch/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC)