> 开启站点维护模式。 > Enable site maintenance-mode.
| Author: | Km.Van (profile at wordpress.org) |
| WordPress version required: | 4.9.9 |
| WordPress version tested: | 5.9.99 |
| Plugin version: | 5.0.0 |
| Added to WordPress repository: | 07-08-2018 |
| Last updated: | 29-12-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | https://inn-studio.com/maintenance-mode |
| Total downloads: | 6 804 |
![]() Click to start download |
|
开启站点维护模式。
Enable site maintenance-mode.
Custom remote page 自定义远程页面
Add code into
wp-config.phpfile:添加以下代码到
wp-config.php文件:
`php
\define(‘INN_MAINTENANCE_MODE_REMOTE_URL’, ‘https://YOUR_DOMAIN/PAGE.html’);
`
Custom server location page 自定义服务器本地页面
Create a new file and name
maintenancein WordPress root dir.在
WordPress根目录里创建一个新文件并且命名为maintenance。
Custom refresh minutes 自定义刷新分钟数
Add code into
wp-config.phpfile:添加以下代码到
wp-config.php文件:
`php
\define(‘INN_MAINTENANCE_MODE_REFRESH_MINUTES’, 5);
`
ChangeLog
