• Resolved katieasccc

    (@katieasccc)


    Is there a way to assign a role permission to access the theme Custom CSS, /wp-admin/customize.php? A third party developer is helping update my theme. I’d like to give them access to update the theme and theme CSS but not access other user permissions.

    • This topic was modified 11 months, 2 weeks ago by katieasccc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @katieasccc

    According to WordPress, there is a “customize” capability that should give you access to Customizer. However, I ran the code below once that gave Editor Clone role that capability:

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

    but even though that role has this capability, I still don’t have access to Customizer. I had to grant “edit_themes” and “edit_theme_options” capabilities to get to Customizer.

    Best

    Thread Starter katieasccc

    (@katieasccc)

    Thank you @Caseproof. I was mainly interested if there was any way to do this via the Members plugin itself but I’ll look into finessing the wp role.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Member role with Customize CSS permission’ is closed to new replies.