{"id":15191692,"date":"2022-01-05T22:51:40","date_gmt":"2022-01-05T22:51:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=15191692"},"modified":"2024-06-08T17:44:33","modified_gmt":"2024-06-08T17:44:33","slug":"navigation-block","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/navigation-block\/","title":{"rendered":"Navigation block"},"content":{"rendered":"\n

The Navigation Block<\/em> is an advanced block in WordPress 5.9 that enables you to edit your site’s navigation menu, both in terms of structure and design. The Navigation block<\/em> can be used with a block theme<\/a> or a theme that has support for template editing<\/a>.<\/p>\n\n\n\n

In order to add a Navigation block<\/em>, click on the add block button and select the Navigation block<\/em>. You can also type \u201c\/navigation\u201d and hit enter in a new paragraph block to add one quickly.<\/p>\n\n\n\n

Detailed instructions on adding blocks<\/a><\/p>\n\n\n\n

The Navigation Block <\/em>has a dedicated list view tab in the settings panel where you can configure and customize the navigation.<\/p>\n\n\n\n

Block Configuration<\/h2>\n\n\n\n

When you add a Navigation<\/em> block <\/em>for the first time and don\u2019t have any existing menu, it will start with a Page List block<\/em>. <\/p>\n\n\n\n

To start editing the menu, open the Settings<\/strong> panel, and select Page List<\/strong> from the list view. Click Edit<\/strong>, and the page list items will transform into Page Link<\/em> blocks.<\/p>\n\n\n\n

\"The<\/figure>\n\n\n\n

Creating a new menu<\/h3>\n\n\n\n

You can create a new menu from scratch via the Navigation block<\/em>\u2019s list view in the settings panel. Click the Menu <\/strong>options button and select Create a new menu<\/strong>.<\/p>\n\n\n\n

\"Creating<\/figure>\n\n\n\n

The next step is to add individual blocks to your navigation. You can do so from the editor canvas or the list view in the settings panel.<\/p>\n\n\n\n

Adding menu items using the sidebar<\/figcaption><\/figure>\n\n\n\n
Adding menu items using the canvas editor<\/figcaption><\/figure>\n\n\n\n

Selecting an existing menu<\/h3>\n\n\n\n

To use another menu for a navigation block, you can select different menus from the list view in the settings panel. Click the Menu <\/strong>options button and select the available menus from the drop-down.<\/p>\n\n\n\n