You can find "menu slug" in the header.php or functions.php file.
Method 1 : Locate the header.php file
open the theme folder and find the header.php file. There will be a line in this file similar to this:
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
Here primary
is the name of your menu.
Method 2: Look into the functions.php file.
If you have defined several menus, you should check inside the functions.php file.
In this file you can find a line similar to this:
register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) );
Here primary
is the name of your menu.
Hope this helps you.
source share