allow editors to edit menus?

I would like to be able to grant my editors the power to change the menu, can this be done?

The appearance tab doesn’t appear to be an option at all, can I make it so?

7

add this to your theme’s functions.php:

// add editor the privilege to edit theme

// get the the role object
$role_object = get_role( 'editor' );

// add $cap capability to this role object
$role_object->add_cap( 'edit_theme_options' );

Update (suggested in comments):

You probably shouldn’t do this on every request, AFAIK this causes a db
write. Better on admin_init and only if !$role_object->has_cap('edit_theme_options')

Leave a Comment