[lcw_has_not_any_tags]
đźš« Shortcode: [lcw_has_not_any_tags]
Description
The [lcw_has_not_any_tags] shortcode allows you to hide content from users who have specific GoHighLevel (GHL) tags.
If a user has at least one of the tags listed, they will not see the content inside the shortcode.
Only users without any of those tags (or logged-out visitors) will see the content.
✨ Why Use It
This shortcode is ideal for showing content only to users who do not have certain tags — for example:
- Display promotional offers only to non-members or free users.
- Hide onboarding instructions from users who already have a “Member” or “Active” tag.
- Show upsell messages to users who don’t have premium access tags.
đź§© Usage
Wrap your content inside the shortcode and specify one or more tags:
[lcw_has_not_any_tags tags="Member, VIP"]
<h3>Join Our Premium Program!</h3>
<p>You’re seeing this because you don’t have the Member or VIP tag yet.</p>
[/lcw_has_not_any_tags]
Example 2: Show an image only for users without the “Gold” tag
[lcw_has_not_any_tags tags="Gold"]
<img src="https://example.com/join-gold-banner.jpg" alt="Join Gold Program">
[/lcw_has_not_any_tags]
⚙️ Attributes
tags– (required) Comma-separated list of tag names to check.
Example:tags="Member, VIP, Gold"
âś… When It Displays Content
The content inside the shortcode will be visible only if the user does not have any of the specified tags.
đźš« When It Hides Content
If the user has any of the listed tags, the enclosed content will be hidden.
