Display a portion of a post content only to users of a specific role or to a single user.
This plugin is not intended to be used in such way, but only in order to display a portion of a post to certain readers. Also, the hidden text must remain hidden, without the presence of an alternate text that could reveal the presence of the hidden text. Anyway, as of version 2.2, the plugin can display an alternate text, if it's necessary: you can use the
alt option to do that.
Also, this plugin was created only to show a small piece of text (i.e. a couple of lines) as a note to the post for particular readers.
If you need to show the entire post only to certain readers (i.e. readers who pay to read a post), you can use a plugin like Members.
Yes, you have to edit the CSS file of your current theme.
The shortcode generates a
<p> HTML tag with at most three classes in this order:
privateto stylize all private contents
[role]-contentto stylize the content for that specific [role].
[role]-content-onlyto stylize the content for that specific [role] only.
Requires: 3.0 or higher
Compatible up to: 4.3.1
Last Updated: 3 months ago
Active Installs: 7,000+
3 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?