Custom post type issue
I have added a menu item with custom post type and I am adding it to a admin menu i created with add_menu_page(), menu looks like below
Top-level menu item
-menu item (created with register_post_type())
-menu item #1 (created with add_submenu_page())
-menu item #2 (created with add_submenu_page())
so when i add a new post through my new custom post type, the highlighted menu item changes to #1. If I add another custom post type and add it to the menu it will always highlight #1 when clicking add post through either custom post type menu.
Any clue why this is happening?
- The topic ‘Custom post type issue’ is closed to new replies.