Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #233635

    Hi. I’d like to give people with Contributor and Author user roles the ability to use the shortcode menu.
    Now, only Editors and Administrators can see it. How can I change this?
    Thanks!
    Boris

    #234036

    Hi Boris,

    Open /config-templatebuilder/avia-template-builder/php/tiny-button.class.php and look for line 37:

    if ( current_user_can('edit_posts') &&  current_user_can('edit_pages') && self::$count == 0)  
    

    Replace it by this:

    if (self::$count == 0)  
    

    Regards,
    Josue

    #234058

    Thanks! Would this only apply to Avia? I meant the menu that opens up when you click on the magic wand button in the kitchen sink.

    #234061

    Yes, that should do it.

    Regards,
    Josue

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