Sorry guys, wrong forum.
However, we tried the plugin and added the shortcode below and it’s not working
[private role=practitioner]<div class=”affiliate-text”>
Private content here.</div>[/private]
Is it wrong?
Thanks!
Hello @leslieannetd,
a custom role is used in this way:
[private role="custom" custom_role="practitioner"]Private content here[/private]
Let me know, please.
Hi @aldolat it works thank you!
Can your plugin hide a page based on the user role too?
Hi @aldolat it works thank you!
You’re very welcome! And thanks for the feedback. 🙂
Can your plugin hide a page based on the user role too?
This plugin has been developed for a specific need: hiding small portions of the post to some users and showing it to some others. Hiding an entire page requires another type of plugin.