By default, for changing menu and widgets, one will be requiring admin user roles. But, with the snippet below, you will be able to change role access to menu and widgets.
1 2 3 4 5 6 | <?php // get the the role object $role_object = get_role('editor'); // add $cap capability to this role object $role_object->add_cap('edit_theme_options'); ?> |
Snippet Source/Credit: WP-Snippets.com