How do you create and assign a menu in WordPress?

The available menu interface depends on the active theme. With a classic theme, open Appearance, Menus, create a menu, add pages or custom links, arrange the items, and assign the menu to a theme location such as Primary or Footer. Save both the menu and its location assignment.
With a block theme, open Appearance, Editor and edit the Navigation block in the relevant header or template part. Select an existing navigation set or create one, then add, reorder, and nest links. Save the navigation and any template changes shown by the site editor.
Use clear labels that describe the destination and keep the main navigation focused on important visitor tasks. A custom label can differ from the page title without changing the page itself. Check dropdowns with a keyboard and on a touch screen, since a menu that works with a desktop pointer may be difficult to use on mobile.
After assigning the menu, clear caches and test while logged out. Multilingual plugins, mobile headers, and page builders can use separate menu locations. If the theme displays a different menu, inspect the exact header template and its display conditions before editing another navigation set.