Overview #
Restrict access to pages, posts, WooCommerce products, courses, and any custom post type based on a user’s GHL tags. This is a core free feature.
Restriction Types #
- Has ANY of tags — User needs at least one of the specified tags.
- Has ALL of tags — User needs every specified tag.
- Does NOT have tags — User must not have any of the specified tags.
Setting Up Restrictions #
- Edit any page, post, or custom post type.
- Look for the GHL Content Restriction metabox in the sidebar.
- Select the restriction type.
- Choose the required tags using the Select2 tag picker.
- Configure what happens when access is denied:
- Redirect — Send the user to a specific URL.
- Message — Display a custom access-denied message with a login link.
- Publish or update the post.
Tag Matching #
Tag matching is case-insensitive, so “VIP Member” and “vip member” are treated as the same tag.
