by andrea

Did your user’s theme options and widgets page disappear?

Well here’s a little bug that was discovered, though it’s not really a bug in WordPress itself, rather a change. It shows up in themes with higher-level capabilities attached to certain menu items.

In 3.0, this was made more stringent with the merge. the theme editor was left in with only Super Admins having access to it. Regular site administrators should not have access.

Some themes, however, have additional menu items (options pages) that use the capability edit_themes to access.

If you find this is happening to you, just search the theme’s functions.php file and change the edit_themes cap to edit_themes_options. That should fix it.


  1. Lee H

    Where is that “Andrea Worship” emoticon when you need it??
    Thank you so much!

  2. Hello Andrea. Im runing wp v. 3.01 and lost the users.php and the widgets.php pages from my cPanel. When i try to reach manually some error msg like “u don’t have access” or “cheating uh?” appears.

    U can see it from these screenshots. Any idea?
    My functions php don’t have any line like edit_themes cap or edit_themes_options. or capabilites, etc.
    Thank you very much for your anser.

    • andrea

      You don;t seem to be running multisite. 🙂

  3. Thanks! I used this to fix the Atahualpa theme on our Multisite install. I had to use edit_theme_options instead of edit_themes_options though.

  4. Ev

    Hi Andrea,

    Need help… wanted to ask here!
    I installed a new theme and the theme options area doesn’t show up under Appearances… but i looked through the file theme_options.php for what you wrote and i couldn’t find edit_themes listed anywhere. in fact i did a spotlight search of my comp and only found that written in admin_theme_page.php and admins_videos_page.php … so i changed it under the admin theme for the hell of it … still no success with having it appear.
    what should I do?
    Thank you!

    • andrea

      then you’ll have to find the section in the functions.php file that adds the menu and see what user cap it uses.

      • Sidd

        I am using Blocks and Sapphire Stretch themes upgraded from 2.8 to 3.0.3. No edit_themes check in functions.php for either of these themes.

        I still don’t see the custom-header and widgets sub-menus work for a site admin. They show up and work fine for a super-admin.

        I get redirected to is /wp-admin?c=1 when I try the URLs wp-admin/themes.php?page=cutom-header and wp-admin/widgets.php directly. I have also modified the Rewriterule but no change.

        Any Ideas?


      • Dan

        I also do not have edit_themes in my functions.php file. I am also looking for a way to bring back theme options for the Admin of the site that has the mystique theme. They are not there or our WPMS.


        • Ron

          If you want assistance with a particular theme ask either the theme author or in the support forum.

Leave a Reply

Your email address will not be published / Required fields are marked *