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

LH Restricted Post Status

描述

This plugin creates an additional post status ‘restricted’. This status functions similarly to setting a post, page, or cpt to private. However with this plugin you can specify which roles have access to restricted posts

This is required because natively WordPress follows a publishing/editorial paradigm and therefore the ‘read_private_posts’ capability is only granted to admins and editors.

安装

  1. Upload the entire lh-restricted-post-status folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings->Restricted Post Status and set the roles that can access restricted posts.

常见问题

How does this plugin work?

It creates a custom post status ‘restrict’ and a custom capability ‘read_restricted_posts’.

评价

此插件暂无评价。

贡献者及开发者

「LH Restricted Post Status」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.00 January 20, 2017
* Initial release

1.01 January 23, 2017
* Better documentation

1.02 July 29, 2017
* Added class check

1.03 December 17, 2017
* used wp_status library