Theme Options not Available?

Hi Everyone, I'm not sure what's going on, but for some reason my installation of wordpress MS is not allowing themes to add their customization menu's. I've dug through everything I can find and can not determine why. Does anyone know how I can adjust this so that theme options are displayed?
I'm assuming it has to do with add_menu_page, but I'm not entirely sure. All of the customizable themes that came in the theme pack that have options are not being displayed.

Thanks so much for your help in advance!

<att

  • Mason
    • DEV MAN’s Sidekick

    Hiya!

    Can you give us some specifics as to themes? Are they from this site? If they're available elsewhere and you can give a link to the download we can test it out and see if we can recreate the issue.

    Also, do a check of your server's error logs to see if anythings showing up there. Does the Theme Options just not show up under appearance?

    Some themes have additional menu items (options pages) that use the capability edit_themes to access.
    Search the theme’s functions.php file and change edit_themes cap to edit_theme_options - if you see this that'll fix the issue for ya.

    Thanks!

  • skishopmatt
    • Site Builder, Child of Zeus

    Thank you for getting back to me so quickly both of you. It's happening on almost all themes, but the one that I'm sending you is from the theme pack called JQ.

    Here is the view from the Super Admin Side:
    http://screencast.com/t/GOocaAhgDTA

    Here is the view from the standard admin side:
    http://screencast.com/t/1teA1NhsE0ga

    Here is another example on the theme Mandigo from the pack:

    Super Admin:
    http://screencast.com/t/x92M68dwPyzz

    Regular Admin:
    http://screencast.com/t/LQklAo0Iu

    So to clarify on the theme pack, if I go through and replace all the current edit_themes and replace them with edit_theme_options that'll potentially fix the issue?

    If that is the case, why are they not like that in the first place? Is there any sort of security issue I need to know about by switching those? Just want to make sure I'm not opening pandora's box.

    Thank you again so much in advance for your help!

  • Mason
    • DEV MAN’s Sidekick

    Hiya skishopmatt,

    If that is the case, why are they not like that in the first place? Is there any sort of security issue I need to know about by switching those? Just want to make sure I'm not opening pandora's box.

    The themes weren't coded that way originally cause WordPress didn't work that way originally :smiley:
    WordPress changed this capability type with the upgrade to 3.0 so themes all using this capability method had to be recoded. Should be no security issues around this change.

    I've been experimenting. I was not able to get the menus to show by adding edit_themes_options, but I was able to if I used edit_pages. Any issues with using that route that you know of?

    Using this capability will make the Theme Options available to anyone with 'editor' role or above. Refer to this table to see how the different capabilities match up to the user roles:
    http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table

    Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.