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

WordPress Trac noreply at wordpress.org
Wed Jun 11 15:52:53 UTC 2014


#13273: Allow "'non-clickable" menu items
-------------------------------------------------+-------------------------
 Reporter:  stgoos                               |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Menus                                |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
                                                 |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by celloexpressions):

 Replying to [comment:10 DrewAPicture]:
 > Additionally, I think if we move forward with this, we're going to need
 to take some time to consider the best workflow for creating and editing
 placeholder links. Should there be a checkbox only in the add pane? Or
 should we just allow adding custom links with no URL? Or what using about
 special URL placeholder (heh) like `#`. Or what about a menu item setting?

 The problem with `#` is that it implies click-ability like any other link
 (which may be desirable for some themes), as opposed to being merely an
 placeholder. `#` will also cause issues in themes where menus aren't at
 the top of the page (including fixed navbars like Twenty Fourteen has),
 because of the scroll-to-top functionality.

 I'm definitely interested in more opinions on the best workflow for adding
 and managing placeholders. I like treating it as its own type once added,
 like the patch does, but there're certainly other options.

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


More information about the wp-trac mailing list