How can I allow the Editor Role to change Theme Settings?

I’ve just setup a new Blog for a friend and thought it’s better to not give him Administrator Access right away as a precaution.

I created a new user as Editor therefore.

But then I saw that this user can not change the Theme Settings like Background and Header.

Is there an easy way to allow the Editor Role to edit any theme settings in Twenty Ten or a Child of it? He should basically be able to do anything an Administrator can do reg. the Theme, probably even changing themes.

5

you can add capabilities to the editor role using the role object and add_cap from you functions.php

<?php
   // get the the role object
   $editor = get_role('editor');
   // add $cap capability to this role object
   $editor->add_cap('edit_theme_options');
?>

you can also remove capabilities:

$editor->remove_cap('delete_posts'); 

just take a look at the list of capabilities and what each one means.

Leave a Comment