WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#14266 closed enhancement (duplicate)

No way to disable admin menus for a post type but still have editing pages

Reported by: CalebKniffen Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

When show_ui is true admin menus show up. If it is desired that the admin menu does not show up but you want to still link to the management pages for that post type there is no way to do that.

This issue was discovered because I was attempting to consolidate several custom post types under one menu heading.

Change History (3)

comment:1 beaulebens4 years ago

  • Cc beau@… added

comment:2 wojtek.szkutnik4 years ago

How about adding a "show_menu" option that overrides "show_ui"?
for example, with show_ui set to true and show_menu set to false, the ui would still work, but the custom type wouldn't show in the menus

comment:3 nacin4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.