Skip to content

Navigation Menus: Treat sub menus as first-class containers #86178

Open

Description

@getdave

What

Building a dropdown in a Navigation Menu today means working with nested blocks and guessing how to add children to a Submenu. It's one of the fiddliest parts of managing a menu.

This issue proposes giving sub menus their own container in the menu tree:

  • Create one as a label-only placeholder and fill it in later, or anchor it straight to an existing Page or custom link.
  • Give the container its own visual treatment, so it reads as a group rather than another link.
  • Show an empty state ("This submenu is empty") with its own nested inserter for adding children directly.
Choosing what the sub menu is An empty sub menu, ready for items
A prototype showing the choices for a new sub menu: Existing page, Custom link or Label only A prototype showing an empty Company sub menu with its own add button, while the header previews already show the new Company dropdown

🎥 For context, watch this part of my prototype walkthrough video, from 22:44. The Navigation Menus section, from 17:05, covers how all of these ideas fit together.

🧪 Try it yourself in the working demo in WordPress Playground. The demo code lives in #86188.

🔌 This flow is now in the Create Not Learn editor plugin, where you can try it in WordPress Playground alongside the other menu changes. There's also a newer walkthrough of it, from 21:40.

Why

Dropdowns are a normal part of most site menus, but building one feels like a workaround. People have been asking for this to be easier for a long time.

When a sub menu looks and behaves like a container, adding items to it becomes an obvious task. No one should need to understand block nesting to make a dropdown.

How

User Stories

As a site owner, I want to create a dropdown in my menu as easily as adding a link, so I can group related pages without fighting the editor.

As a site owner, I want to create an empty sub menu and fill it in later, so I can sketch out my menu structure before every page exists.

Video

video-submenu.mp4

Activity

  1. jeryj commented on Nov 2, 2026

    @jeryj
    Contributor

    I think adding nested items in List View is a wider issue to solve. Would love to hear your thoughts in #85154. I'm not sure what design direction to go. When should the appender show? Where should it be positioned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] SubmenuAffects the Submenu Block - for submenus in navigation[Feature] Navigation MenusAny issue relating to Navigation Menus[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions