To disable any parent item in WordPress Menu
Following are instructions on how to disable a parent menu item from the WordPress menu without the use of plugins or code changes.
- In the dashboard go to Appearances/Menus
- Go to Screen Options (top right) and activate Link Target by checking box.
- Go to Custom Links and insert any kind of link, and then Label it what you want your menu item to be called.
- Add to menu
- Select the just created custom link. click on the dropdown link on the top right side of its box.
- Delete the URL from the link target field and to ensure that the no-link parent menu item will show on mobile devices replace with #
- Add submenu items.
- Done!