WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multi-user set up - users can't customize themes (5 posts)

  1. beatbox433
    Member
    Posted 4 years ago #

    Hi,
    I have WordPress 3, with various themes enabled for users. They can see and select the themes, but can't see the 'customize' entries in the Appearance menu, which are visible to the super admin.
    For example, with the 'Constructor' theme, it can be activated OK, but the normal user, who is admin of his/her own blog, can't see a menu entry in Appearance to 'Customize'. This is visible to the super admin however.
    How can I enable these options for users?

    Possibly relevant - I have Buddypress running on top, and LDAP authentication.

  2. The theme likely has set a cap on that menu, so it will need to be fixed.

    If the cap is set to edit_themes, that is now a function only available to Super Admins, and that's why it won't show to administrators.

  3. Kim Parsell
    Volunteer Moderator
    Posted 4 years ago #

    You don't want users editing themes. See andrea_r's response in this thread for the reason why: http://wordpress.org/support/topic/414226?replies=5#post-1566844

  4. beatbox433
    Member
    Posted 4 years ago #

    Thanks Andrea. I will look into that. Not sure what a cap is but I can find out :)

    kpdesign - we are not talking about editing the theme files at code level, but taking advantage of the built-in theme options - e.g. edit header image, change font families, etc. It's important in my set up to allow users to design their own blogs.

  5. beatbox433
    Member
    Posted 4 years ago #

    I updated this in one of the themes:

    add_theme_page(__('Customize Theme', 'constructor'),
                           __('Customize', 'constructor'),
                           'edit_themes',
                           'functions.php',
                           array($this, 'getPage'));

    to this:

    add_theme_page(__('Customize Theme', 'constructor'),
                           __('Customize', 'constructor'),
                           'edit_theme_options',
                           'functions.php',
                           array($this, 'getPage'));

    And that seemed to do the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic