#20930 closed enhancement (fixed)
register_taxonomy show_in_menu option
| Reported by: | wpsmith | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch 3.6-early |
| Cc: | Focuses: |
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 (4)
Change History (13)
#2
@
14 years ago
- Keywords has-patch 3.6-early added; needs-patch dev-feedback removed
- Milestone Awaiting Review → 3.5
Sad that this has missed the boat. Was on my plan for [21948].
#6
@
13 years ago
Created #25150 for the is_null() and doc fixes from 20930.diff.
Will do a refresh if it's in.
#8
follow-up:
↓ 9
@
12 years ago
Now the "show_in_menu" works differently than "show_in_menu" in register_post_type. I don't see a reason why.
In register_post_type one can set "show_in_menu" as a string so that it appears in certain admin menu. With register_taxonomy it's not possible to relocate menu item.
#9
in reply to: ↑ 8
@
12 years ago
Replying to ciantic:
In register_post_type one can set "show_in_menu" as a string so that it appears in certain admin menu. With register_taxonomy it's not possible to relocate menu item.
Taxonomy is tied to an object type, so I guess relocating it make less sense than relocating a post type item.
However, I've just noticed that the parameter description is inaccurate, see #27943.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.