In WordPress, each menu saved with a unique ID associated with it in the database which you can reference when making advanced tweaks to your site such as showing different menus conditionally.
Follow the steps below to find the ID of your menu:
- Log into your WordPress website and navigate to Appearance » Menus.
- Select the menu you want to get the ID of.
- Once selected, take a look at your browser URL and find the menu ID at the end.
Last updated: 8 months ago