Title: Short code is not working
Last modified: October 19, 2021

---

# Short code is not working

 *  Resolved [tombrouwer](https://wordpress.org/support/users/tombrouwer/)
 * (@tombrouwer)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/short-code-is-not-working-6/)
 * 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](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/short-code-is-not-working-6/#post-14994566)
 * Hey [@tombrouwer](https://wordpress.org/support/users/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](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/short-code-is-not-working-6/#post-15010432)
 * Hey [@tombrouwer](https://wordpress.org/support/users/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/](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.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/short-code-is-not-working-6/#post-15010432)
 * Status: resolved