描述
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.
安装
- Upload the entire
lh-restricted-post-statusfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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’.
评价
此插件暂无评价。
贡献者及开发者
更新日志
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
