Skip to content

WordPress Navigation Block: Find Which Menu You Are Editing

Identify the menu each Navigation block uses. Verify a shared header edit and a separate footer menu on a WordPress test site.

Two page mockups with matching purple header strips and one separate orange footer strip
Jack Lee
3 Min Read
Share
On This Page

Two WordPress Navigation blocks can display the same menu. Editing a link in that menu can change both locations even if the blocks live in different template parts. Before editing, check which menu each block uses.

Identify the menu in each Navigation block

Suppose a Malaysian appliance shop has three template parts named Shop Header, Guides Header and Footer. On a test copy with a block theme, open each template part in the Site Editor. This walkthrough uses the block editor's menus. In List View, select its Navigation block and read the menu name in the settings.

Template partSelected menu in this examplePage to preview
Shop HeaderMain linksA product page
Guides HeaderMain linksA guide page
FooterFooter linksEither test page

Check that each test page uses the template you expect. The site architecture guide helps decide which links belong in primary navigation.

Choose whether to edit a menu or switch menus

If both headers should show the same new link, edit Main links. If the guide header needs different links, select its Navigation block. Open the menu options next to the menu name, choose an existing separate menu or use Create new menu, and populate it before saving.

Changing the menu selected by one Navigation block controls the menu shown by that block. If multiple pages use the same template part, they can all show the new selection. Before confirming Save, review the navigation menus and template parts in the Site Editor's list of pending changes.

Verify the same three locations after saving

On the test copy, add a temporary “Buying guides” link to Main links. Preview a product page and a guide page. Look for the label in both headers and check that the footer did not gain it.

Next, select a dedicated “Guide links” menu in Guides Header and preview the same pages again. The guide page should show the Guide links items, and the product page should still show Main links. Click one changed link to confirm its destination. On a phone, open the collapsed navigation if the theme uses one.

Frequently asked questions

Check whether both Navigation blocks selected the same menu. If they need different link lists, select a separate menu in the footer.

Why do new pages appear in my menu automatically?

Check for a Page List block. It can list newly published pages automatically. Select Edit on the Page List block to convert it into separate Page Link blocks. After conversion, new published pages are no longer added automatically.

Does the mobile overlay have its own menu?

When the overlay is a display mode of the same Navigation block, it uses that block's selected menu. Some sites render a separate block or custom menu for mobile. Check the actual header used on the page.

Share This Article