Title: Submenu block
Author: Femy Praseeth
Published: February 14, 2023
Last modified: June 8, 2024

---

# Submenu block

## In this article

 * [Block toolbar](https://wordpress.org/documentation/article/submenu-block/?output_format=md#block-toolbar)
 * [Block settings](https://wordpress.org/documentation/article/submenu-block/?output_format=md#block-settings)
 * [Changelog](https://wordpress.org/documentation/article/submenu-block/?output_format=md#changelog)

[ Back to top](https://wordpress.org/documentation/article/submenu-block/?output_format=md#wp--skip-link--target)

[Go to the list of Blocks](https://wordpress.org/support/article/blocks/)

The **Submenu Block** is an advanced block that can only be used as a child block
of the [Navigation Block](https://wordpress.org/support/article/navigation-block/)
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**_ _**
Block** can be used with a [block theme](https://wordpress.org/themes/tags/full-site-editing/)
or a theme that supports [template editing](https://wordpress.org/themes/tags/template-editing/).

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_ _block by clicking the **Block inserter** (
+) icon or typing /submenu in the editor. You can also click the **Add Submenu**
icon in the Block toolbar. This will automatically add a submenu item below the 
block you selected.

![Adding a submenu](https://wordpress.org/support/files/2023/02/image4-1024x353.
png)

[Detailed instructions on adding blocks](https://wordpress.org/documentation/article/adding-a-new-block/)

## 󠀁[Block toolbar](https://wordpress.org/documentation/article/submenu-block/?output_format=md#block-toolbar)󠁿

Each block has its own toolbar, which contains unique controls that let you customize
or configure the block. The **Submenu Block**_ _ has the following options on its
toolbar:

![Block toolbar in the submenu block](https://wordpress.org/support/files/2023/02/
Screenshot-2023-02-10-at-4.19.27-PM.png)

**Block moving tools**

There are two ways you can move blocks once you’ve added them to the **Submenu block**.
Using these tools, you can reorder the **Submenu block** inside a **Navigation**
section. Use the toolbar to _move_ the items _left and righ_t or _drag _them to 
a new position.

![Moving blocks](https://wordpress.org/support/files/2023/02/Screenshot-2023-02-
10-at-5.54.54-PM.png)

**Link tool**

The Link tool lets you edit the link and title of your **Submenu block**.

To change the title, you can edit the text in the submenu block directly.

To edit the link, select the block and click the link icon in the toolbar. From 
the popup, click the **Pencil** icon to edit the link. Click the **Unlink** icon
to remove the link.

![Edit pencil icon ](https://wordpress.org/support/files/2023/02/Screenshot-2023-
02-10-at-6.11.39-PM.png)

In the edit popup, you can change the text and URL to edit what the submenu item
links to and the title. You can also decide whether you want to open the link_ _in
a new tab.

**Add additional submenu items**

To add additional submenu items to the **Submenu block**, click the **Add submenu**
icon in the Block toolbar.

![Add additional sub menu items](https://wordpress.org/support/files/2023/02/Screenshot-
2023-02-10-at-6.18.52-PM.png)

Select the **+** button that appears upon doing so. After selecting the + icon, 
you will see a new submenu _Add link _item. You can add a link and text title to
modify this submenu item.

![Adding additional submenu items](https://wordpress.org/support/files/2023/02/image2-
1024x658.png)

The blocks you can add below a submenu block are:

 * Custom links
 * Post links
 * Page links
 * Category links
 * Tag links
 * Additional submenus

**Text formatting**

Basic text formatting is available for all **Submenu **blocks. Select your title(
or a part of it) to make it Bold_, _Italic, or Strikethrough, or turn it into an
Inline image to cover your link with an image.

![WordPress Submenu Link block toolbar with selected text formation and additional
options unwrapped, followed by the edited block example.](https://wordpress.org/
support/files/2023/02/Screenshot-2023-02-11-at-6.41.37-PM.png)

**More options**

These controls give you the option to copy, duplicate, and edit your block as HTML.

[Read about the More options settings.](https://wordpress.org/documentation/article/more-options/)
[](https://github.com/WordPress/Documentation-Issue-Tracker/issues/RackMultipart20220927-1-9r2x2c_html_23f1e51e53153bf8.png)

## 󠀁[Block settings](https://wordpress.org/documentation/article/submenu-block/?output_format=md#block-settings)󠁿

Each link has its **Block settings** you can access by clicking the **settings **
button on the upper-right corner of the editor or via **Options **in the toolbar.

**Link** **settings**

The link settings section contains the following options:

 * **Description** to display with your link if the selected theme includes that
   option.
 * **Link title **to provide more information about the link for search engine optimization.
   Leave this field empty if you want the title used in URL settings to stay. 
 * **Link rel** to specify how your external link is related to the page you’re 
   working on and if its authority should be higher than your website’s. 

![Block settings in the submenu block](https://wordpress.org/support/files/2023/
02/image3-482x1024.png)

## 󠀁[Changelog](https://wordpress.org/documentation/article/submenu-block/?output_format=md#changelog)󠁿

 * Created 2023-02-11

## Was this article helpful? How could it be improved? 󠀁[Cancel reply](https://wordpress.org/documentation/article/submenu-block/?output_format=md#respond)󠁿

[Log in to submit feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fdocumentation%2Farticle%2Fsubmenu-block%2F&locale=en_US).
If you need support with something that wasn't covered by this article, please post
your question in the [support forums](https://wordpress.org/support/forums/).

First published

February 14, 2023

Last updated

June 8, 2024