I know this question has cropped up before. But I am yet to find a solution for it.
I've got a theme options page. It works fine when in it's default place under Appearance menu, but I am building a very complicated website where the theme options are integral to the content of the site and I want to keep it it a menu with all my other site-specific custom post types etc.
If I use add_submenu_page it appears where I want it to, BUT I get an insufficient permissions message.
I've tried to tweak it like so:
add_submenu_page('site','Theme Settings', 'Theme Settings', 'administrator', 'themes.php?page=theme_options', 'theme_options_do_page' );
But still doesn't work. Can anyone hellp me with this?
Thanks in advance