Opened 11 months ago

Last modified 6 months ago

#20930 new enhancement

register_taxonomy show_in_menu option

Reported by: wpsmith Owned by:
Priority: normal Milestone: Future Release
Component: Taxonomy Version:
Severity: normal Keywords: has-patch 3.6-early
Cc: ryan@…

Description

Shouldn't taxonomies have a show_in_menu option for taxonomies as well. Of course, this would be the same as custom post types affecting the registration and the $parent_file.

The original attachment has the parent file logic via the filter, 'parent_file'.

Attachments (2)

taxonomy_submenu.php (1.2 KB) - added by wpsmith 11 months ago.
20930.patch (2.3 KB) - added by ocean90 6 months ago.

Download all attachments as: .zip

Change History (5)

  • Cc ryan@… added
  • Keywords needs-patch dev-feedback added; has-patch needs-testing removed

Yes. I think you should be able to show the menu and hide the metabox.

show_in_ui would set both to true, but you can set show_in_ui to false and show_in_menu to true to get the desired result and behavior you get with register_post_type

+1 for making this happen.

  • Keywords has-patch 3.6-early added; needs-patch dev-feedback removed
  • Milestone changed from Awaiting Review to 3.5

Sad that this has missed the boat. Was on my plan for [21948].

  • Milestone changed from 3.5 to Future Release
Note: See TracTickets for help on using tickets.