[WordPress] 外掛分享: INN Maintenance Mode | INN 维护模式

首頁外掛目錄 › INN Maintenance Mode | INN 维护模式
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
1541 天前
最後更新
問題解決
WordPress 4.9.9+ PHP 7.3.0+ v5.0.0 上架:2018-08-06

內容簡介

啟用網站維護模式。
Enable site maintenance-mode.

自訂遠端頁面 Custom remote page

將代碼添加到wp-config.php 文件:

Add code into wp-config.php file:

`php
\define(‘INN_MAINTENANCE_MODE_REMOTE_URL’, ‘https://YOUR_DOMAIN/PAGE.html’);
`
自訂服務器位置頁面 Custom server location page

在 WordPress 根目錄中創建一個名為maintenance的新文件。

Create a new file and name maintenance in WordPress root dir.

自訂刷新分鐘數 Custom refresh minutes

將代碼添加到wp-config.php 文件:

Add code into wp-config.php file:

`php
\define(‘INN_MAINTENANCE_MODE_REFRESH_MINUTES’, 5);
`

外掛標籤

開發者團隊

⬇ 下載最新版 (v5.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「INN Maintenance Mode | INN 维护模式」→ 直接安裝(推薦)

原文外掛簡介

开启站点维护模式。
Enable site maintenance-mode.

Custom remote page 自定义远程页面

Add code into wp-config.php file:
添加以下代码到 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 maintenance in WordPress root dir.
在 WordPress 根目录里创建一个新文件并且命名为 maintenance。

Custom refresh minutes 自定义刷新分钟数

Add code into wp-config.php file:
添加以下代码到 wp-config.php 文件:

`php

\define(‘INN_MAINTENANCE_MODE_REFRESH_MINUTES’, 5);
`

延伸相關外掛

文章
Filter
Apply Filters
Mastodon