My users can't see settings of some themes (8 posts)

  1. dexternica
    Posted 5 years ago #

    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.

  2. The theme. :)

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

  3. dexternica
    Posted 5 years ago #

    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.

  4. functions.php is where the theme usually builds the theme's options menu tho. ;) That's what you're looking for.

  5. pescadito01
    Posted 5 years ago #

    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.

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

  7. David Sader
    Posted 5 years ago #

    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.

  8. samandjt
    Posted 5 years ago #

    Wow. Thanks andrea_r!

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

    You are awesome!


Topic Closed

This topic has been closed to new replies.

About this Topic