[wp-trac] [WordPress Trac] #38957: Customize Menus: Menu locations should be able to opt-out of menu item types that can be added to associated menus

WordPress Trac noreply at wordpress.org
Sat Nov 26 22:24:33 UTC 2016


#38957: Customize Menus: Menu locations should be able to opt-out of menu item
types that can be added to associated menus
------------------------------+----------------------------
 Reporter:  celloexpressions  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Customize         |    Version:  4.3
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+----------------------------
 Certain menu locations are often designed to use a particular type of menu
 item - for example, social menus only make sense with custom links, or a
 custom nav menu walker may be used to display a deeper index of posts
 within taxonomy terms featured in a menu location.

 If themes could specify what types of content a particular menu location
 is intended to contain, the menus UI could correspondingly show/hide or
 prioritize the types of menu items in the available menu items panel. This
 should be handled with the `object` and `object_type` menu item
 parameters.

 As with #38956, this is difficult due to the current way the menu
 locations API works, and the fact that menus can be added to multiple
 locations. This should be considered a usability enhancement that is more
 conservative in hiding available menu items for items in multiple
 locations, and that adapts as menu locations are changed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38957>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list