Change WordPress user roles and capabilities Forums Give user access to plugin – how to Restriction shortcode not working as needed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4179
    dweb360
    Participant

    Hello
    I’m using Visual composer with tabs element:

    `[user_role_editor roles=’administrator’][vc_tab title=”Intranet” tab_id=”1505420609098-3-3″][vc_column_text]Tab content[/vc_column_text][/vc_tab][/user_role_editor]’

    “Tab content” is hidden until i’m logged as administrator but the tab itself is not hide !
    Please see this link : https://goo.gl/YUaiC4
    Last tab : Intranet

    Thank you for your help

    #4180
    dweb360
    Participant

    Hello
    After updating to the last version, the restriction code is not working at all when I’m connected
    http://hpics.li/089f5c5

    Thank you for your help

    #4184
    Vladimir
    Keymaster

    Hi,

    The latest version does not render [user_role_editor] shortcode for ‘administrator’ role, as there are no restrictions for admin.
    I will change this behavior with the next update until the end of September. There were similar requests from other users and I agreed with them.

    I tested URE shortcode with VC tabs. The issue is related to the same administrator role. Shortcode will work currently with any other role, except ‘administrator’.

    #4186
    dweb360
    Participant

    Hello,
    Thank you for your relpy, I tested with “editor” role :
    1. When I’m not logged in, nothing is displayed
    2. When I’m looged in as Editor, it is OK well displayed
    but when I’m logged as Admintrator, the code displayed is BAD !!

    Please see images :
    http://hpics.li/b4c5daf
    http://hpics.li/b4c5daf

    Thank you

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.