Title: Website Open/Closed Toggle
Author: RS
Published: <strong>2015 年 11 月 27 日</strong>
Last modified: 2026 年 6 月 7 日

---

搜索插件

![](https://ps.w.org/website-openclosed-toggle/assets/banner-772x250.jpg?rev=1295954)

![](https://ps.w.org/website-openclosed-toggle/assets/icon-256x256.jpg?rev=1295887)

# Website Open/Closed Toggle

 作者：[RS](https://profiles.wordpress.org/rsdotscot/)

[下载](https://downloads.wordpress.org/plugin/website-openclosed-toggle.zip)

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

 [支持](https://wordpress.org/support/plugin/website-openclosed-toggle/)

## 描述

This plugin allows you to easily open and close your website and display a custom
message or HTML page when closed.

 * Simple _yes/no_ toggle to open/close your website.
 * Display your own _closed.php_ within your theme.
 * Display your own custom HTML markup, pasted directly into the plugin settings.
 * Display a basic message informing your visitors that your website is closed.
 * Set paths which bypass the closed page entirely.
 * Set a bypass GET parameter which will allow anyone you give the URL to to browse
   the website as normal while the site is closed.
 * Automatically clears any caches for W3 Total Cache and WP Super Cache.

## 屏幕截图

[⌊The admin interface.⌉⌊The admin interface.⌉[

The admin interface.

[⌊A basic 'closed' message.⌉⌊A basic 'closed' message.⌉[

A basic ‘closed’ message.

[[

## 安装

 1. Download the zip file and decompress it.
 2. Upload “website-openclosed-toggle” to the “/wp-content/plugins/” directory.
 3. Activate the plugin through the “Plugins” menu in WordPress.
 4. Click _Open/Closed_ in the admin menu.

## 常见问题

No questions asked yet. I’ll update this once I’ve had some feedback.

## 评价

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

### 󠀁[Simply effective](https://wordpress.org/support/topic/simply-effective-12/)󠁿

 [Florenz Villegas](https://profiles.wordpress.org/flovi/) 2022 年 2 月 12 日

[WP 5.9] Very easy to setup. You can choose between a simple ‘Stay away’ one liner
or a complete handmade HTML page with some ‘I am so sorry stickers’ or whatever.
No problems with 5.9 so far.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/website-openclosed-toggle/reviews/)

## 贡献者及开发者

「Website Open/Closed Toggle」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ RS ](https://profiles.wordpress.org/rsdotscot/)

[帮助将「Website Open/Closed Toggle」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/website-openclosed-toggle)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.3.9.2

 * Fixed a PHP warning caused by starting the session after headers had already 
   been sent. Session handling now runs on template_redirect with a headers_sent()
   safety check.

#### 0.3.9.1

 * Bug fixing.

#### 0.3.9

 * Testing with WordPress 6.4.2.

#### 0.3.8

 * Testing with WordPress 6.0.

#### 0.3.7

 * Testing with WordPress 5.3.

#### 0.3.6

 * Testing with WordPress 5.1.

#### 0.3.5

 * Testing with WordPress 4.7.2.

#### 0.3.4

 * Added a redirect option.

#### 0.3.3

 * Adding nonce to settings update.

#### 0.3.2

 * Various tidying up fixes.

#### 0.3.1

 * CSS Bug fixes.

#### 0.3

 * Bug fixes.

#### 0.2

 * Tidying up.

#### 0.1

 * Initial release.

## 额外信息

 *  版本 **0.3.9.2**
 *  最后更新：**3 天前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 4.3 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/website-openclosed-toggle/)
 * 标签
 * [close](https://cn.wordpress.org/plugins/tags/close/)[closed](https://cn.wordpress.org/plugins/tags/closed/)
   [Open](https://cn.wordpress.org/plugins/tags/open/)[website](https://cn.wordpress.org/plugins/tags/website/)
 *  [高级视图](https://cn.wordpress.org/plugins/website-openclosed-toggle/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/website-openclosed-toggle/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/website-openclosed-toggle/reviews/)

## 贡献者

 *   [ RS ](https://profiles.wordpress.org/rsdotscot/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/website-openclosed-toggle/)

## 捐助

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

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