When adding a new new menu item on the appearance menu page (/wp-admin/nav-menus.php) is it possible that when you click the Add to Menu button that the new item would be added to the top of the menu rather than the bottom?

By default, the new menu item gets added to the bottom of the new menu.

Before Add to Menu Before add to menu

After Add to Menu - If possible

enter image description here

I can see in the file wp-includes/nav-menu.js there is functionality for adding the menu to either the top or the bottom but I can't see if there is a way to interact with this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.