• Resolved wiresandwifi

    (@wiresandwifi)


    Good day.

    I have a quick question (hopefully)

    I am able to block shortcode content easily for logged out users with the following:

    [content_control]

    [slide-anything id=”1204″]

    [/content_control]

    I want to however only block this content for logged in users.

    So, in short, how do I block Logged in users from seeing info generated by a shortcode and only allow logged out users to see the shortcode content.

    Regards,
    Leon

    • This topic was modified 4 years, 10 months ago by wiresandwifi.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hey @wiresandwifi

    Thanks for using Content Control! You can use the “logged_out” attribute on the shortcode to only show to logged out site visitors. For example:

    [content_control logged_out] This is shown to visitors who are not logged in! [/content_control]

Viewing 1 replies (of 1 total)
  • The topic ‘User restriction’ is closed to new replies.