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:

find-wordpress-menu-id
Find a menu ID in WordPress
  1. Log into your WordPress website and navigate to Appearance » Menus.
  2. Select the menu you want to get the ID of.
  3. Once selected, take a look at your browser URL and find the menu ID at the end.

Last updated: 3 months ago

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies ― Learn more

Accept