Beschrijving
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.
Voorbeeld:
‘[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]’
Installatie
To install this plugin just follow the standard procedure.
of
- Upload
members-restricted-access.php
to the/wp-content/plugins/
directory - Activeer de plug-in via het ‘Plugins’ menu in WordPress
FAQ
- Any question?
-
Send me an email at mcostales@jumptoweb.com and I will answer you as soon as I can.
Beoordelingen
Bijdragers & ontwikkelaars
“Members Restricted Access” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Members Restricted Access” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
3.0
- Now you can use nested shortcodes, so you can use a any shortcode inside our shortcode verification.
2.1
- Add the parameters for message in the members, visitors and showifrole shortcodes.
- Add a default value for ‘is’ and ‘msg’.
2.0
- Added the shortcode to check by role.
1.0
- Just launch the plugin!