I'm using the Adminimize plugin to control what menu items an Editor can access. Adminimize deactivates the dashboard for users. I need to give the Editor access to the Appearance Menu and the Widgets submenu. I've added the following code to functions.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' );
I also deactivated Themes, Editor, and Add New Themes (Appearance submenu) in the Menu Options in the Adminimize settings.
However, when I access the Editor's backend, the Appearance Menu and the Widgets submenu are not showing.
What needs to be done to give Editor access to manage Widgets?