Overview概览

This Plugin allows you to make your blog temporarily unavailable to your users (with custom message).此插件可以让您,使您的博客暂时无法向您的用户(与自订讯息) 。 It is still accessible by the administrators.它仍是进入的管理员。

It does one thing and does it well.但这一件事,是否良好。 It belongs to the class of zero-configuration plugins.它属于一类零配置插件。 In other words even your grandmother can use it.在其他的话,甚至您的祖母可以使用它。

Download下载

Download下载 and follow the instructions in the next section for installation.并按照指示在下一节中进行安装。

Installation安装

http://codex.wordpress.org/Managing_plugins#Installing_a_plugin http://codex.wordpress.org/managing_plugins # installing_a_plugin

Note: This Plugin supports one-click-install through WordPress Plugin Manager and is also available from 注意:此插件支持一点击安装通过wordpress插件经理和也可以从 WordPress Plugin DB wordpress插件分贝 .

  1. Upload unavailable.php to your wp-content/plugins directory.上传unavailable.php到您的wp-content/plugins目录。 At this point you are done unless you want to make your site unavailable now.在这一点上你是这样做,除非您想要让您的网站现在无法使用。 Then read on.然后阅读。
  2. Log in to WordPress.请登录到的WordPress 。
  3. Click Plugins from the main menu.点击插件从主菜单。
  4. Scroll to find the name of the plugin - Site Unavailable , and click Activate whenever you want to make your site unavailable.向下滚动才能找到的名称,该插件-网站无法使用,并点击激活时,您想要让您的网站无法使用。

Configuration and Usage配置和使用

Install and activate the plugin as described above.安装并启用该插件如上文所述。 You are done!你这样做!

Now your site is unavailable to all of your users, till the time you decide to deactivate the plugin.现在您的网站是无法使用您的所有用户,到时候你决定要关闭插件。

To reiterate the site will remain unavailable to all your users while this plugin is activated .要重申, 该网站仍无法将您的所有用户,而此插件被激活

The Feeds and Trackback requests will be sent HTTP Code 503 indicating that the Server is Unavailable and they will be asked to retry after an hour (configurable).饲料和跟踪的要求,将被发送的HTTP代码503表明该服务器不可用,他们将被要求重试后一小时(配置) 。

Administrators can access the administrative section even while this plugin is activated.管理员可以访问行政科,甚至而此插件被激活。

Advanced先进

You do not need to read this section.您不需要阅读本节规定。 The plugin will work fine without any changes at all.插件工作将罚款不作任何改变,在所有。 However if you are compulsive and feel the urge to tinker then read on.不过如果你是强迫和感受的冲动修饰,然后阅读。

To change the default message ( This blog is currently undergoing scheduled maintenance. Please try after 60 minutes. Sorry for the inconvenience. ) use the plugin editor to edit the plugin.要更改默认的邮件( 此博客是目前正在进行定期维修,请重试后60分钟。不便表示抱歉。 )使用插件编辑器编辑插件。 Change the line where $message is specified to a message of your choice.改变行,其中美元的信息是指定到一个讯息,您的选择。

You can change the Retry-After hint given to Feed and Trackback requests by changing $retry_after.你可以改变重试后的提示,给饲料和跟踪的要求,通过改变美元retry_after 。 The value is in minutes.价值是在分钟。 The default is 60 minutes.预设值是60分钟。 It also tells the users of the site when to retry again.它也告诉用户该网站时,再次重试。

This is very useful when you do a scheduled maintenance and you want your users to come back after a fixed time.这是非常有用的当您执行定期维修,和您希望您的用户回来后,一个固定的时间。
Remember this is a hint.请记住,这是一个暗示。 It has no bearing with when you make your site actually available ( by deactivating the plugin ).它没有轴承,当您,使您的网站,其实可用的(由停用插件) 。

Deactivate the plugin from the Plugin screen停用插件从插件屏幕 to make the site available again to the world.使网站可以再次向世界。


Uninstallation卸载

  1. Log in to WordPress.请登录到的WordPress 。
  2. Click Plugins from the main menu.点击插件从主菜单。
  3. Scroll to find the name of the plugin - Site Unavailable , and click Deactivate.向下滚动才能找到的名称,该插件-网站无法使用,并点击关闭。 This disables the plugin and makes the site available again to all.这将禁用插件,使网站可以再次向所有。

You can also delete the unavailable.php file from wp-content/plugins directory for permanent removal.您也可以删除unavailable.php文件从wp-content/plugins目录为永久删除。

Cost成本

This plugin is free.此插件是免费的。 However a linkback will be deeply appreciated.不过, linkback会深表赞赏。 Think of it as a LinkWare.认为这是作为一个linkware 。

Comments, feedbacks and suggestions are welcome.评论,意见和建议,是值得欢迎的。