I'm developing Wordpress themes and I'm having an issue with Theme Options on Wordpress Multisite (WPMS). My theme works like a charm on classic Wordpress (WP) installation but when I try to use it with WPMS it returns a blank page instead of a form with theme's settings.
Here what I use to initiate the theme options page:
function setup_theme_admin_menus() {
add_theme_page( "Theme Options", "Theme Options", "read", "th_op", "th_op" );
function th_op() {
get_template_part("content", "options");
}
}
add_action("admin_menu", "setup_theme_admin_menus");
As I mentioned it works as expected on WP but it refuses to render options page on WPMS.
Yes I am aware of http://wpmututorials.com/known-issues/did-your-users-theme-options-and-widgets-page-disappear/ which is practically everywhere and in fact does not solve the problem in a lot of cases. As you can see I use the lowest capability ever which is "read".
Yes I tried to use theme options as SuperAdmin, JustAdmin and any user type that is possible. Nothing helps.
Please help!