This plugin is outdated and might not be supported anymore
Members Restricted Access

Members Restricted Access

Details
View on WordPress

This plugin create shortcodes to restrict the access to Visitors, Members or specific role. You can create sections in your page/post only visible to members (logged users), visitors or for an specific role.

To use you need to create the content and wrap it with these shortcodes: [visitor], [member] or [showifrole].

  • 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 [showifrole] to check for that specific user. The default value is ‘administrator’.
  • And ‘msg’ is the message the system is going to show. You can use html code with single apostrophes (‘). The default value is null.

Examples:

‘[visitor]
content only visible to visitors
[/visitor]

[member msg=”You need to Login to see this content.”]
content only visible to members
[/member]

[showifrole is=administrator]
content only visible for administrators
[/showifrole]

[showifrole is=author msg=”You don’t have the required role.”]
content only visible for authors
[showifrole]’

Details

Plugin code:
members-restricted-access
Plugin version:
3.0
Outdated:
Yes
WP version:
3.0.1 or higher
PHP version:
or higher
Test up to WP version:
4.4.33
Total installations:
100
Last updated:
2016-03-03
Rating:
Times rated:
4
members
restric-by-role
restrict-access
visitor