Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] No Atahualpa theme option in WP3.0 multi-site (http://forum.bytesforall.com/showthread.php?t=7781)

ccloskey Jun 25, 2010 07:56 PM

[SOLVED] No Atahualpa theme option in WP3.0 multi-site
 
I've set up wp3.0 multi-site and installed Atahualpa 3.5.1 as a network theme.

Administrators of subsites can activate the theme, so the theme seems to be installed correctly.

The problem: Only super-admins are able to see Atahualpa Theme Options in the Appearance menu. Regular administrators see only Themes, Widgets, and Menus.

Since super-admins have access to all the sub-sites, clearly we can't promote everyone to super-admin. But it seems logical that a sub-site administrator should be able to access his own theme options, right?

Did I miss a setting, is this a purposeful omission, or is Atahualpa not available for multi-site? Thanks for your help.

ccloskey Jun 25, 2010 09:28 PM

I've found a solution to this problem. (Found it and explained more here: http://wordpress.org/support/topic/413440?replies=4)

In /atahualpa351/functions/bfa_ata_add_admin.php find this call:

add_theme_page($themename. " Options", "Atahualpa Theme Options", 'edit_themes', basename(__FILE__), 'bfa_ata_admin');

Change edit_themes to switch_themes, and your sub-site admins will be able to access the options page. What the change does is change the capability that a user must have to be able to see the page. I figure, if a user is able to select the theme for the site, she should probably be allowed to set the options too, so switch_theme is an appropriate capability.

I hope this is helpful to someone. Cheers!

juggledad Sep 3, 2010 08:24 AM

Good work!!
BUGFIX 353:02 created (http://forum.bytesforall.com/showthread.php?p=42382) and it's been added to the 3.5.4 'TO DO' list


All times are GMT -6. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.