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

Very basic content restriction

描述

This plugin redirects non authenticated users to a page of your choice or, as per default, to the login page.
Posts, categories, feeds, tags, taxonomies, author pages and search results are restricted to authenticated (connected) users.
Only pages are public. So if you have a homepage defined, then this page will be accessible.

安装

  1. Upload very-basic-content-restriction to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the redirection link on the options page. If left empty, users will be redirected to your default WP login page.

常见问题

Q: Can i restrict only some pages and allow others?
A: No, a per page or per category configuration is not possible.

评价

阅读所有3条评价

贡献者及开发者

「Very basic content restriction」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Initial release

1.1

  • Added is_archive() to forbidden pages.

1.2

  • Compatibility with WP 3.8

1.3

  • Better sanitization

1.4

  • Simple code improvements
  • retrieve wp-login URL automatically, so that this would also work with plugin which modify the default URL