Các edit_theme_optionskhả năng nên cho phép người dùng chỉnh sửa thanh bên như mô tả trên trang này:
 http://codex.wordpress.org/Appearance_Widgets_SubPanel
Mã để thêm vào functions.php
   $role = get_role('editor'); 
   $role->add_cap('edit_theme_options');
Biên tập:
Điều này sẽ hoạt động để ngăn chặn trình soạn thảo truy cập các chủ đề hoặc menu
function custom_admin_menu() {
    $user = new WP_User(get_current_user_id());     
    if (!empty( $user->roles) && is_array($user->roles)) {
        foreach ($user->roles as $role)
            $role = $role;
    }
    if($role == "editor") { 
       remove_submenu_page( 'themes.php', 'themes.php' );
       remove_submenu_page( 'themes.php', 'nav-menus.php' ); 
    }       
}
add_action('admin_menu', 'custom_admin_menu');
Tôi chưa có cơ hội kiểm tra điều này, nhưng nó chỉ xóa chúng khỏi menu mà chúng vẫn có thể truy cập chúng bằng cách nhập URL trực tiếp.