Access Settings

These shortcodes allow you to control content visibility based on guest status, login state, subscription status, email domains, and email lists.

For the following shortcodes:

  • [in_email_domain_list]

  • [not_in_email_domain_list]

  • [in_email_list]

  • [not_in_email_list]

Please read our documentation on Email Lists for further details.

They also all need the parameters lists="???, ???" with the IDs of the created Email List.


For the following shortcodes:

  • [subscriber]

  • [not_subscriber]

Need the content_id="???" with the ID of the event in the shortcode in order to work.

The attendance_mode parameter is also accepted and specifies the attendance mode a user needs to have in order to see the content between the shortcode.

Details:

  • Type: Text

  • Default Value: None

  • Usage:

    • attendance_mode="remote"

    • attendance_mode="in_person"


[guest]

Displays content only to users who are not logged in.

  • Usage:

[guest]
    Content for guests only.
[/guest]

[logged_in]

Displays content only to logged-in users.

  • Usage:

[logged_in]
    Content for logged-in users.
[/logged_in]

[subscriber]

Displays content only to users with an active subscription.

  • Usage:

[subscriber content_id="123"]
    Content for subscribers only.
[/subscriber]

[not_subscriber]

Displays content only to users without an active subscription.

  • Usage:

[not_subscriber content_id="123"]
    Content for non-subscribers.
[/not_subscriber]

[email_domain_allow]

Displays content to users whose email domain is explicitly allowed.

  • Parameters:

    • domain (optional): Specify a comma-separated list of allowed domains.

  • Usage:

[email_domain_allow domain="example.com,anotherdomain.com"]
    Content for specific email domains.
[/email_domain_allow]

[email_domain_not_allowed]

Displays content to users whose email domain is not in the allowed list.

  • Parameters:

    • domain (optional): Specify a comma-separated list of disallowed domains.

  • Usage:

[email_domain_not_allowed domain="restricted.com,blockeddomain.com"]
    Content restricted by email domains.
[/email_domain_not_allowed]

[in_email_domain_list]

Displays content if the user's email domain is in a predefined list.

  • Usage:

[in_email_domain_list]
    Content for users in the email domain list.
[/in_email_domain_list]

[not_in_email_domain_list]

Displays content if the user's email domain is not in a predefined list.

  • Usage:

[not_in_email_domain_list]
    Content for users not in the email domain list.
[/not_in_email_domain_list]

[in_email_list]

Displays content if the user's email is explicitly in a predefined list.

  • Usage:

[in_email_list]
    Content for users in the email list.
[/in_email_list]

[not_in_email_list]

Displays content if the user's email is not in a predefined list.

  • Usage:

[not_in_email_list]
    Content for users not in the email list.
[/not_in_email_list]

Parameters

The no_access_message parameter specifies the text to display when a user does not meet the criteria of these access settings shortcodes.

Details:

  • Type: Text

  • Default Value: Blank space

  • Usage:

    • Set no_access_message="You do not have access to this content"


Each shortcode can be nested within others for more granular visibility control. Make sure to test combinations for the desired effect!

Last updated