Support » Networking WordPress » My users can't see settings of some themes

  • Hi to all community,

    I have enabled MU option on my WordPress 3.0.1

    An administrator and propietary of a blog have selected the theme Mystique 2.4.2, he can’t see the setting of this theme, but the Super Admin can see. In other blog have the theme Fusion and the settings are visible.

    The widget option don’t appear too.

    Its a problem of the theme or WPMU?

    Sorry for my bad english and if this is the wrong place to post.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    The theme. 🙂

    Go to the functions.php file, look for the edit_themes cap. change it to edit_theme_options or switch_themes.

    Thanks for your fast help. 🙂

    Worked with theme’s options, but the widget menu don’t appear. 🙁

    And edit_themes cap is not essentially in functions.php, varies depending the theme.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    functions.php is where the theme usually builds the theme’s options menu tho. 😉 That’s what you’re looking for.

    i see your know issue but i can’t understand it:

    do you refer to wp30 /wp-include/function.php or specific theme /themes/twentyten/function.php. i couldn’t find the named ‘edit_theme’ string in any of those files

    or may be you could give a example for ‘twenty ten’ theme.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    I mean in the theme’s functions file as that’s where the code is to build the theme’s options page.

    I just searched through 330+ themes I have installed in my multisite installs. 75 themes used the ‘edit_themes’ cap and needed to be changed to ‘edit_theme_options’.

    Even a couple themes I’ve auto updated in the last couple days via the WP repository still had the ‘edit_themes’ cap.

    Found ‘edit_themes’ cap in functions.php (or some other theme file that creates the menu)

    This was the problem:
    add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'wptheme_admin');

    This is the solution:
    add_theme_page($themename." Options", "".$themename." Options", 'edit_theme_options', basename(__FILE__), 'wptheme_admin');

    Thanks, Andrea_r.

    Wow. Thanks andrea_r!

    Quick search of wp.org and your solution saved me hours of digging around.

    You are awesome!

    Sam

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘My users can't see settings of some themes’ is closed to new replies.