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

    (@valendesigns)

    You would need to modify the permissions in the class.admin.php where the menu is created. That’s in the option_tree_admin() function.

    Hi Derek,

    Would you be able to be a bit more specific about how you modify permissions. I am having the same problem and have looked in the option_tree_admin() function but cannot work out how to enable for other roles.

    Many Thanks
    Alex

    I would also like further help on this if possible.

    An alternative would be to give your editor the ‘edit_theme_options’ permissions and then export your theme options and make the theme OptionTree aware (in the OptionTree documentation on how to do this.) The only downside is that your editor then has access to things like menus and widgets which for me is usually necessary anyway. I just don’t want them messing with theme files.

    Add the below to your theme’s functions.php somewhere between the opening <?php and closing ?>

    $role_object = get_role( 'editor' );
    $role_object->add_cap( 'edit_theme_options' );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: OptionTree] allowing editor use’ is closed to new replies.