Set up a Premium group↑ Back to top
Below we are giving an example using a group named Premium and its associated capability premium. Note that you can use any group and capability name, we just use Premium here because it underlines a pretty common use case.
2.1 The Quick Way
This is the recommended way. It generates our Premium group on the fly while you create your protected content.
Next publish your post and the Access restrictions will show that this post is protected so that members of the Premium group only can view it.
2.2 Step by Step
If you have already created a protect post using the quick way above, you can skip this section and head on to 3. Set up a Premium Membership Product. Another example is provided under 4. Set up a page for “Tutorials” members only
Go to Groups > Options and choose the premium capability under Access restrictions > Capabilities and click Save at the end of the page. You will now be able to protect your posts with the premium capability. Only members of the Premium group will have access to these.
Set up a page for “Tutorials” members only ↑ Back to top
Go to Pages > Add New to create a new page:
In the Access restrictions tab enter Tutorials so that the Tutorials group and capability are created automatically and click Publish to create the page.
This page is now only accessible to members of the Premium group.
If you want to restrict access to a page based on an existing group, select it under Access restrictions.
For more options to protect your content please refer to the Groups Plugin and Groups Documentation.