I’m creating an events custom post type and want to add an extra submenu item in the admin panel for the Events type (a Settings page).
i.e. Events
Events
Add New
Settings
Actually, I have already created the menu item, but for the life of me I can’t get it to do anything other than redirect to the admin homepage of the main site.
I should point out that I’ve got WP in multisite mode, and I’m trying to get this to work on a sub-site.
So using add_submenu_page I have this line: add_submenu_page('edit.php?post_type=event', 'settings', 'Settings', 'manage_options', 'event_settings', array(&$this,'show_menu'));