Display private post content only to users of a specific role
|Author:||Aldo Latino (profile at wordpress.org)|
|WordPress version required:||3.0|
|WordPress version tested:||5.7|
|Added to WordPress repository:||24-11-2012|
|Total downloads:||76 793|
|Active installs:||10 000+|
Click to start download
Private Content provides a shortcode to display a small portion of a post content only to users of a specific role. For example, you can show the hidden text to Editors or to Authors or to any other WordPress role, even a custom role.
Private Content is not intended to be used as a memberhip plugin management, but instead it should be used to show small parts of a post only to certain users or roles.
I would like to say Thank You to all the people who helped me in making this plugin better and translated it into their respective languages.
This plugin does not collect any user data.
Many thanks to:
At the center of the screen, the shortcode is used in the WordPress editor. The text inside the shortcode will be displayed only to Authors and above roles.
The shortcode in action. On the left, the text revealed to Administrators only; on the right, the page as seen by lower roles (Editors, Authors, etc., or simply readers).
- Updated links to documentation.
The full changelog is documented in the changelog file released along with the plugin package and is hosted also on GitHub.