• Resolved thomas3799

    (@thomas3799)


    Hi,

    So I have created a page with those codes (all in the same page)

    [content_control roles=”administrator”][table id=1 /][/content_control]
    
    [content_control roles=”administrator, um_village-operator”]AAAAA[/content_control]
    
    [content_control roles=”um_village-manager, administrator”][mdocs][/content_control]

    but then it was not working (update and not showing anything) until I removed the roles in each shortcodes, it will appear the table I want.

    the code ‘[table id=1 /]’, ‘AAAAA’, ‘[mdocs]’ is the contents I want to show and restricted from each role.

    Could you help me with this?

    Thanks

    • This topic was modified 4 years, 7 months ago by thomas3799.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hey @thomas3799,

    ​Thanks for reaching out. We’re sorry your role restrictions don’t seem to work.

    Unfortunately, we’re not seeing the same thing on our end. Meaning, we can restrict different parts of a post by role similar to your shortcode examples without any issues.

    Here’s a video demo of our test.

    https://share.wppopupmaker.com/4guPlAEw

    Please read the video’s description for all of the shortcodes used. Be sure to compare our shortcodes to what you’re using.

    For example. Here’s the shortcode that restricts content to only administrator and candidate roles.

    [content_control roles="administrator,candidate" message="If you're a candidate, get busy and log in!"]Hey, candidate! Thanks for your interest in us :-) [table id=1 /][/content_control]

    For troubleshooting, we think you should deactivate all plugins except for Content Control and maybe your custom roles plugin. Then try your shortcodes again.

    If you still need help, please send us a help request here.

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

    Thanks so much!

    Plugin Support mark l chaves

    (@mlchaves)

    Hello @thomas3799,

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

    Please feel free to start a new thread or submit a help request 🙂

    https://wppopupmaker.com/support/

    Have a great day!

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

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