LH Restricted Post Status

Description

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.

Installation

  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.

FAQ

Installation Instructions
  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’.

Contributors & Developers

“LH Restricted Post Status” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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