Menu Position Causing Custom Post Type to Not Show in WordPress Admin
|Reported by:||smub||Owned by:||ryan|
|Component:||Posts, Post Types||Keywords:||needs-patch|
So today I was trying to add yet another Custom Post Type to the site. So far aside from the default post types, I have 5 additional CPTs. I tried adding this 6th one, and the item would not show in the admin menu.
Important to note, that it was registered. Because in the admin bar, under the "New" drop-down I could see my new post type.
It baffled me for a bit. All of my other post types have menu_position 20. This one was also 20. I changed the menu position to 25, and it made no difference.
However, if I change it to 30, it shows up just fine. If I make it 19, then it shows up just fine.
Is there a limit or something specified for how many items can be at one position? I was thinking that it would just keep on adding under the other post types.
Now this specific post type is added under Comments and Gravity Forms menu... Sort of making it out of place. It should be with other post types that I have in the site.
Change History (4)
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from reopened to closed