Tagged: user roles
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
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
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.
Yes, that should do it.
Regards,
Josue