[wp-trac] [WordPress Trac] #13273: Allow "'non-clickable" menu items

WordPress Trac noreply at wordpress.org
Mon Jun 9 18:01:32 UTC 2014


#13273: Allow "'non-clickable" menu items
-------------------------+-----------------------------
 Reporter:  stgoos       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Menus        |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by celloexpressions):

 * keywords:  menu non-clickable item => needs-patch


Comment:

 Replying to [comment:6 Jesper800]:
 > The first option is to output an anchor tag without the href-attribute.
 This is what already happens when you add a custom link and remove the
 URL, as oellefsen suggested.
 I'd be interested in seeing this approach. For the UI side, it would
 probably work well as a toggle in the add-custom-link area that hid the
 url field. It could potentially just create a custom menu item without a
 URL, utilizing the underlying functionality of the workaround.

 Alternately, there could be an additional "placeholder" menu item type
 that exhibited this behavior.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13273#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list