Content Restriction: Introduction
Some pages may be designed for a specific audience (such as having a membership site). Due to this, ThryvHive, via Groundhogg, provides the functionality to stop users from viewing certain pages.
Create or open a page for edit. We will walk through the process of Content Restriction:
- If you are using the WordPress default editor, which is what we have in use in ThryvHive, you will be looking underneath the page, after your content.
- Scroll down until you find the Content Restriction Tab:
- Make sure the Content Restriction Section is filled out correctly
1. You must have the Enable Content Restriction box checked
2. You are not required to check the box #2, the restriction is controlled by tags listed in #3
3. Select the tags that must be applied to contact before they are able to see the hidden content. You could create a tag for membership levels and show content based on the levels tag
4. If you use more than one tag, you need to decide if all tags must apply before the content is shown or if any tag applied allows them to view the content.
5. In this area, you need to place a URL to which users who are not allowed to see the content are sent. This url can be your normal website URL. When someone attempts to open the page but does not have permission, they’ll be automatically sent to this URL.
Anyone IN these filters will see the content
Administrators bypass the content restriction
You can also use this plugin to check whether a user is logged in or not.
Note: Groundhogg uses the tracking cookie or contact details for this operation. So, if you are checking for a specific tag the user’s cookies need to be set.