This plugin create shortcodes to restrict the download to Visitors Members or role.
You can use the parameters 'is and 'msg If you not specify them the default value will be use instead..
The paramater 'is is use it with the shortcode to recheck for that user.
And 'msg is the message the system is going to show.
Examples.. content visible to visitors... content visible to members... content visible for administrators... content visible for authors...
Upload members-restricted-access. php to the wp-content plugins directory.
Activate the plugin through 'Plugins in WordPress...
Despite the fact that it has not been updated for two years it works ticket with the recent and version of WordPress 4.9.4 at the time of this writing.
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Add the parameters for message in the members visitors and showifrole shortcodes..
Read more