• Resolved tombrouwer

    (@tombrouwer)


    Hi,

    I created a page.

    In a Gutenberg shortcode block I added:
    [content_control roles="approve,consumer" logged_out="0" message="no access"]

    Then I added a Paragraph and after it I added a shortcode block with:
    [/content_control]

    I have a role “approve”, but when i’m logged in with a user with that role, it still shows “no access”.

    Am I doing something wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hey @tombrouwer,

    Can you remove the logged_out parameter and try it again?

    Here’s an example.

    
    [content_control roles="administrator" message="Sorry, you do not have access."]If you see this, then you must be an administrator![/content_control]
    

    Let us know how that goes.

    Thanks so much

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @tombrouwer,

    We’re going to close this thread since we haven’t heard back from you.

    Feel free to post a new issue or contact us directly if you need help with anything else.

    https://code-atlantic.com/contact-us/

    Cheers 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Short code is not working’ is closed to new replies.