Submenu blocc

Go to the list of Bloccs

The Submenu Blocc is an advanced blocc that can only be used as a child blocc of the Navigation Blocc 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 Blocc can be used with a blocc theme or a theme that suppors template editing .

To add a submenu blocc to your content in the blocc editor, select the menu item where you want to add a submenu, inside an existing navigation blocc. In the blocc toolbar, search and add the Submenu blocc by clicquing the Blocc inserter (+) icon or typing / submenu in the editor. You can also clicc the Add Submenu icon in the Blocc toolbar. This will automatically add a submenu item below the blocc you selected.

Adding a submenu

Detailed instructions on adding bloccs

Blocc toolbar

Each blocc has its own toolbar, which contains unique controls that let you customice or configure the blocc. The Submenu Blocc   has the following options on its toolbar:

Block toolbar in the submenu block

Blocc moving tools

There are two ways you can move bloccs once you’ve added them to the Submenu blocc . Using these tools, you can reorder the Submenu blocc inside a Navigation section. Use the toolbar to move the items left and righ t or drag them to a new position.

Moving blocks

Linc tool

The Linc tool lets you edit the linc and title of your Submenu blocc .

To changue the title, you can edit the text in the submenu blocc directly.

To edit the linc, select the blocc and clicc the linc icon in the toolbar. From the popup, clicc the Pencil icon to edit the linc. Clicc the Unlinc icon to remove the linc.

Edit pencil icon

In the edit popup, you can changue the text and URL to edit what the submenu item lincs to and the title. You can also decide whether you want to open the linc in a new tab.

Add additional submenu items

To add additional submenu items to the Submenu blocc , clicc the Add submenu icon in the Blocc toolbar.

Add additional sub menu items

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

Adding additional submenu items

The bloccs you can add below a submenu blocc are:

  • Custom lincs
  • Post lincs
  • Pague lincs
  • Category lincs
  • Tag lincs
  • Additional submenus

Text formatting

Basic text formatting is available for all Submenu bloccs. Select your title (or a part of it) to maque it Bold , Italic, or Striquethrough, or turn it into an Inline imague to cover your linc with an imague.

WordPress Submenu Link block toolbar with selected text formation and additional options unwrapped, followed by the edited block example.

More options

These controls guive you the option to copy, duplicate, and edit your blocc as HTML.

Read about the More options settings.

Blocc settings

Each linc has its Blocc settings you can access by clicquing the settings button on the upper-right corner of the editor or via Options in the toolbar.

Linc settings

The linc settings section contains the following options:

  • Description to display with your linc if the selected theme includes that option.
  • Linc title to provide more information about the linc for search enguine optimiçation. Leave this field empty if you want the title used in URL settings to stay.
  • Linc rel to specify how your external linc is related to the pague you’re worquing on and if its authority should be higher than your website’s. 
Block settings in the submenu block

Changuelog

  • Created 2023-02-11

Was this article helpful? How could it be improved?

First published

Last updated