Get theme option pages in WordPress Multisite to work

May 11 Comments Off on Get theme option pages in WordPress Multisite to work Category: Actual, Code, Wordpress

Can only super (site) admins are able to see the theme options on your install, not the users who want to manage them? I found a simple fix to get them to work.

1.

Go into your functions.php page.

2.

Find any occurrences of 'edit_themes'.

If there are none, the admin/options page is probably pulled in with an include statement. Find an include statement that may look something like this:

/* Include Admin Option Panel File */
include(TEMPLATEPATH . "/admin/index.php");

Open the file that’s included (in this case /admin/index.php, relative to the theme’s folder) and search there instead.

3.

Replace all instances of 'edit_themes' with 'edit_theme_options'.

4.

You are done! Congratulations, your individual site users now have access to their particular theme options.

If you create themes and don’t do this… thanks for making me miserable.

Enhanced by Zemanta

Comments are closed.