• Resolved isaacalves

    (@isaacalves)


    I would like users with the role ‘Editor’ to be able to manage ‘Theme Options’

    I’m able to do that with:

    $editor = get_role('editor');
    $editor->add_cap('edit_theme_options');

    But it also allows access to ‘OptionTree’ settings and other settings under the ‘Appearance’ menu (Themes, Menus, etc). I don’t want any of that, only ‘Theme Options’.

    How could that be done?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Derek Herman

    (@valendesigns)

    There is a filter named ot_theme_options_capability which allows you to change the capability. You could create a custom capability and add it to the roles you want to have access then change the filter to use that capability.

Viewing 1 replies (of 1 total)
  • The topic ‘Editor 'Theme Options' capabilities’ is closed to new replies.