Configuring & Troubleshooting our WordPress User Roles Addon
What This Addon Does
This addon allows site owners to set specific WordPress user roles on a per-membership basis. Meaning you can assign different roles to your members based on the Subscription status. These roles are added in addition to the default role you have set up in your WordPress -> Settings -> General page.
This addon will automatically change the user's roles appropriately depending on their subscription status to your memberships. If the user has no memberships active, then their role will default back to the role set in your your WordPress settings as mentioned above.
What Can I Do With This?
There are a number of use-cases for this. But the most common would be to activate some additional features in other plugins based on the user's role. For example, you may have your forum plugin set up to allow users with certain roles to access forum groups that other users do not have access to. Or you might have an events plugin which allows you to allow members with certain roles to register at a discounted price. There are innumerable ways this can be used really - and we're excited to see what you come up with.
Installing & Configuring The Addon
Step 1 - Install the WordPress User Roles Addon
- Go to MemberPress -> Activate -> Addons to install and activate the addon.
- Now navigate to MemberPress -> Memberships -> where you'll now be able to see this addon taking effect in the Advance Tab of each of your Membership's Options .
Step 2 - Set the Desired User Roles for Each Membership
- As you can see in the image above, the addon will auto-populate with all of the standard WordPress user roles along with any custom ones that you or other plugins have set. Select the role(s) that you would like this particular membership to have. You can select more than one by holding the Control Key (Command Key on Macs).
- Repeat for as many memberships as you want.
MemberPress will do the rest from here.
Note: If you are unsure how to create your own custom user roles, then please reference the useful resources provided here by WordPress.
As always, feel free to shoot us an email from our support page if you need any assistance with this addon.