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

描述

Site Secrets is a simple plugin to keep your WordPress site private. When active, it will redirect all unauthenticated users to the login screen.

By default, Site Secrets requires that the user has been added to the site. You can broaden the permissions model to any logged-in users with the following snippet added to your theme’s functions.php file or a mu-plugin:

add_filter( 'site_secrets_requires_membership', '__return_false' );

We’re happy to receive feedback, questions, feature suggestions, and pull requests

安装

The easiest way to install this plugin is to go to Add New in the Plugins section of your blog admin and search for “Site Secrets.” On the far right side of the search results, click “Install.”

Activating the plugin will make your site private.

If the automatic process above fails, follow these simple steps to do a manual install:

  1. Extract the contents of the zip file into your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy the merits of a secret site!

常见问题

Feel free to ask a question in the forums!

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Site Secrets”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.2.0 (Dec. 29, 2016)

  • Requires authentication for REST API requests.

0.1 (Feb. 26, 2014)

  • Initial release with basic ability to make a WordPress site private.