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

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.

屏幕截图

  • 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.

评价

2017 年 10 月 28 日
The button to switch the maintenance mode is so convenient that this extension deserves 5 stars.
阅读所有1条评价

贡献者及开发者

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

贡献者

将“WP Maintenance Switch”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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