WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 6 weeks ago

#54274 new enhancement

Choose where new menu items should go instead of default ending them to the end.

Reported by: NekoJonez Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: ui, administration Cc:

Description

I think it would be a nice quality of life improvement if you were able to choose where a menu item goes when you add it.

Currently, when you want to add a menu item in the middle, you have to add it and move it from the bottom towards the correct position.

Thinking out loud, add a sort of clickable line/button between the menu items in the appearance -> menu section that opens a list where the user can select which page/post/custom item to add in between the two items and possibly a checkbox if the user wants to add it as a child or not.

Change History (3)

#1 follow-up: @audrasjb
7 weeks ago

Hello and thank you for this ticket!

To be honest (and as a Menu component maintainer) I had such a project for a while, but given the Gutenberg project is going to address this with the navigation block with the full site editing experience, I'm not sure this is still something useful…

#2 @costdev
7 weeks ago

If this was to be changed, the wp.a11y.speak notices would also need to be updated/new ones added. See #53840 for an example of an upcoming change already needed for these.

The notices needing updated isn't a problem though - just noting that should this proposal be accepted, accessibility should also be added as a focus for this reason among others.

In terms of the current discussion, I'm not sure if the work being done with the Navigation block and FSE removes the usefulness of this proposed change, as many websites don't use the Block Editor and may not use FSE - happy to be missing something though.

#3 in reply to: ↑ 1 @NekoJonez
6 weeks ago

Replying to audrasjb:

Hello and thank you for this ticket!

To be honest (and as a Menu component maintainer) I had such a project for a while, but given the Gutenberg project is going to address this with the navigation block with the full site editing experience, I'm not sure this is still something useful…

I think it's still quite useful, since is every theme and such going to implement support for that menu block?

Note: See TracTickets for help on using tickets.