Joey
(@leglesslizard)
Hey,
If you read through the codex for registering a post type you’ll see this:
Note: When using ‘some string’ to show as a submenu of a menu page created by a plugin, this item will become the first submenu item, and replace the location of the top-level link. If this isn’t desired, the plugin that creates the menu page needs to set the add_action priority for admin_menu to 9 or lower.
Setting the priority to 9 or less should solve your issue.
Regards
Yep, thank you. I’ve read that page more times than I can count and didn’t recall that bit of information. Appreciate your time. Now I know what I’m looking at.
Joey
(@leglesslizard)
Was a rushed answer, apologies if it came across as a “rtfm” response. That wasn’t intended at all 🙂
Glad you got it sorted.
actually, didn’t take it that way. sometimes even when I do rtfm I tend to miss more the more times I read it. I was actually looking at add_menu_page and related documentation. I’m just glad that someone replied before I stumbled over it myself. Probably saved me several hours of banging my head on the keyboard 🙂