Support » Fixing WordPress » Editors can’t edit Menus

  • Resolved ShMk


    I’ve created a user as Editor but he can’t view the Appearance->Menus.

    So it looks like Editors could create, edit and delete pages, but they can’t add, edit and delete them in Menus…

    I think this logic is quite wrong.

    PS: Anyone have a workaround for solving this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve found this plugin that let you change the default permissions set to basic wordpress roles.

    Enabling for the Editor role the field ‘edit_theme_options’ will enable editors to use the Appearance menu.

    Anyone found a filter or other solution besides adding another plugin?

    So I did find that you can add some capabilities to the editor role that opens up the Menu to the editor.

    Add the following code to your theme function, and the editor will gain access to the menu, plus the following areas: Theme Options (but can not switch, edit or install themes), Menus, Background, Widgets and Custom Headers.

    While I would still prefer to only provide access to the menus without the other items, this may be the fix you need.

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

    Thanks, this is just what I needed!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editors can’t edit Menus’ is closed to new replies.