Theme Options: Capabilities

CyberChimps Forums Free Themes Support ForumTheme Options: Capabilities FineTheme Options: Capabilities Theme Options: Capabilities

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Bryan Hadaway 4 years, 5 months ago.

  • Author
    Posts
  • #189084

    mscheidler
    Participant

    I am using Fine Free. I wish to grant access to Boxes Lite to the Editor role.

    I have added the capability “edit_theme_options” to Editor, which allows them to see Theme Options in the Appearance menu, but when they attempt to save a change they get the “Cheatin’ uh?” error.

    What additional capability does the Editor role require to allow them to save changes in this area?

  • #189101

    They would need admin access to alter theme options. To allow Editors to edit just parts of these area, but not have full access would require some custom PHP programming, which is outside the scope of the support we can offer.

    A plugin like the following might be able to do what you’re looking for:

    https://wordpress.org/plugins/user-role-editor/

    But, please use caution.

  • #189550

    mscheidler
    Participant

    Thank you for the reply. I found that, in addition to ‘edit_theme_options’, I had to also add the ‘manage_options’ capability to Editor. Those 2 capabilities together gave me what I was looking for.

    I wasn’t concerned about limiting Theme Options access to just Boxes Lite, it’s just that Boxes Lite is the only area within Theme Options that the user in question needed the ability to update.

  • #189644

    Great, happy it worked.

You must be logged in to reply to this topic.