Provides single sign-on service for Wild Apricot members to provide access to restricted Wild Apricot content.
The Wild Apricot Login plugin allows you to restrict content on your WordPress to your Wild Apricot members, and provide access to restricted Wild Apricot content such as member directories and member-only events. Any restricted Wild Apricot content – embedded using Wild Apricot widgets – can be accessed without further authentication.
You can display a login button for single sign-on by adding a widget – installed along with the Wild Apricot Login plugin – to the header in your WordPress theme layout, or by inserting a shortcode in your page content. A shortcode can be added to a WordPress page to restrict WordPress content to Wild Apricot members. As well, you can use the plugin to add Wild Apricot membership levels as WordPress roles.
There are two ways to install the Wild Apricot Login plugin: automatically and manually.
To install the plugin automatically, follow these steps:
To install the plugin manually, follow these steps:
You can display a login button for single sign-on by adding a widget – installed along with the Wild Apricot Login plugin – to the header in your WordPress theme layout, or by inserting a shortcode in your page content.
To display the login button within your WordPress theme header – which can appear as a sidebar for some themes – follow these steps:
To display the login button for single sign-on on a WordPress page, add the following shortcode to a page in either visual or HTML mode:
[wa_login login_label=”Login” logout_label=’Logout’ redirect_page=”/”]
where the following attributes are optional:
login_label – The label appearing on the login button
logout_label – The label appearing on the logout button
redirect_page – The WordPress to redirect the member to after logging in
To restrict WordPress content to Wild Apricot members, add the following shortcode to a page or custom menu:
[wa_restricted roles=”Gold, Silver” message=”Log on to view restricted content.”]
Restricted content.
[/wa_restricted]
where the following attributes are optional:
roles – WordPress roles corresponding to Wild Apricot membership levels to which you want the content restricted
message – Message appear in place of the restricted content. A login button will appear below the message
The content between the open and close tags will only appear to authorized users. You can include widget code to display restricted Wild Apricot content.
You can add a not: operator at the start of the roles attribute to specify all roles other than those specified. And use ‘all’ to specify all roles.
[wa_restricted roles=”not:Bronze” message=”Log on to view restricted content.”]
Restricted content.
[/wa_restricted]