[wp-trac] [WordPress Trac] #21315: Menu Position Causing Custom Post Type to Not Show in WordPress Admin

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 19 18:38:23 UTC 2012


#21315: Menu Position Causing Custom Post Type to Not Show in WordPress Admin
--------------------------+-----------------------------
 Reporter:  smub          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Types    |    Version:  3.4.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 Hey Guys,

 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21315>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list