{"id":16355693,"date":"2023-02-14T15:02:21","date_gmt":"2023-02-14T15:02:21","guid":{"rendered":"https:\/\/wordpress.org\/documentation\/?post_type=helphub_article&p=16355693"},"modified":"2024-06-08T19:44:42","modified_gmt":"2024-06-08T19:44:42","slug":"submenu-block","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/submenu-block\/","title":{"rendered":"Submenu block"},"content":{"rendered":"\n
Go to the list of Blocks<\/a><\/p>\n\n\n\n The Submenu Block<\/strong> is an advanced block that can only be used as a child block of the Navigation Block<\/a> released with WordPress 5.9. It allows you to create and edit the structure and appearance of submenus within your site’s navigation menus. The Submenu<\/strong> <\/em>Block<\/strong> can be used with a block theme<\/a> or a theme that supports template editing<\/a>.<\/p>\n\n\n\n To add a submenu block to your content in the block editor, select the menu item where you want to add a submenu, inside an existing navigation block. In the block toolbar, search and add the Submenu <\/em>block by clicking the Block inserter<\/strong> (+) icon or typing \/submenu<\/kbd> in the editor. You can also click the Add Submenu<\/strong> icon in the Block toolbar. This will automatically add a submenu item below the block you selected.<\/p>\n\n\n\n <\/p>\n\n\n\n