Hide Content For Non Users
This is a simple plugin that hides page content if the certain user roles if the user is not logged into your WordPress site.
User Role Content To Hide
It replaces the content with a placeholder that links to your sites login page then is redirected back to the current page to view the content.
You simple wrap any content you wish to be hidden from non logged in users inside a div with a class of “hcfnu-hidden-content” and the user role “Author” the plugin does the rest. Its that simple.
This wrapper is unwrapped from the content when the user logs in so you do not have to worry about it effecting your layouts.
Each role is allowed to see the lower roles content. So an Administrator will see all hidden content not just the hcfnu-hidden-content with administrator set.
Editors will see all hidden content except for the Administrator hidden content, so on and so forth down the line of permissions.