Made a custom post type, “Events”, great. Now I want to get a second custom post type and nest its menu items with the existing Events items.
- No taxonomies allowed
- I know there’s great event plugins, this is just theoretical
- It’s gotta go INSIDE the “Events” menu, not above or below!
Should be straightforward… right? …guise?
Check out http://codex.wordpress.org/Function_Reference/register_post_type and the bit about “show_in_menu”.
You should be able to set it to something like:
And it’ll show up in that menu. For more control, you can always play with the $menu and $submenu global variable. Add both post_types, do a print_r on $menu and $submenu to see where everything is, and then move some things around. It’ll probably look something like this: