To remove the link from a parent menu item, add it as a Custom Link and clear its URL. The item then shows as text and only opens its drop-down. In a block theme, unlink the item.
The menus you see depend on your theme. A classic theme shows Customize in Appearance, plus Menus and Widgets when it supports them. A block theme shows Editor in place of Customize, unless the theme or a plugin adds Customizer settings. It shows Menus or Widgets only when it supports them. Polestar, Ultra and the Puro theme are classic themes.
Classic Admin Screens
- Go to AppearanceMenus.
- Under Custom Links, enter
#in URL and the menu label in Link Text. - Click Add to Menu.
- Open the new menu item and delete the contents of its URL field.
- Drag the sub-menu items under it.
- Click Save Menu.

In the mobile menu of the Puro theme and Polestar, tapping a parent item without a link opens its sub-menu.
Customizer
- Go to AppearanceCustomizeMenus and open the menu.
- Click Add Items, open Custom Links, enter
#in URL and the label in Link Text, then add it. - Open the new item and delete the contents of its URL field.
- Click Publish.

Block Themes
- Go to AppearanceEditorNavigation and select the menu.
- Add a Custom Link item with the label you want, then click Add submenu in the block toolbar.
- Click Unlink in the toolbar to remove the link from the parent.
- Add the child items inside the submenu, then click Save.
