The [non_affiliate_content]
shortcode allows you to display content exclusively for non-affiliates. This means that anyone who is not registered as an affiliate will be able to see the enclosed content, while logged-in affiliates will not.
This shortcode is particularly useful for encouraging users to sign up for your affiliate program, displaying promotional messages, or providing information only relevant to non-affiliates.
Using [non_affiliate_content] Shortcode
To use this shortcode, simply wrap the content you want to restrict to non-affiliates inside the [non_affiliate_content]
shortcode, like this:
[non_affiliate_content]This content is only visible to non-affiliates.[/non_affiliate_content]
Example Use Case
Encouraging Users to Join the Affiliate Program
[non_affiliate_content]
Want to earn commissions by promoting our products? <a href="/affiliate-signup">Join our affiliate program today!</a>
[/non_affiliate_content]
In this example, only non-affiliates will see the invitation to join the affiliate program.
The [non_affiliate_content]
shortcode is a simple yet powerful way to target non-affiliates with custom messages and promotions. Whether you want to encourage signups, display exclusive offers, or differentiate content for affiliates and non-affiliates, this shortcode provides a flexible solution.