I am attempting to edit a sidebar menu that has multiple navigation menu options. I need to add additional navigation menus. I have created the menus but need to enter them here in the sidebar.php file. The question I have is how do I know what numeric value to add in the part that says if (is_tree(‘117’)), for example, for the new menu? I don’t know where to look to find the number corresponding to the menu I have created.
Thank you in advance for your assistance.
KC
<?php
/**
- The Sidebar containing the primary and secondary widget areas.
- @package WordPress
- @subpackage Twenty_Ten
- @since Twenty Ten 1.0
*/
?>
<div id=“primary” class=“widget-area” role=“complementary”>
<?php
if (is_tree(‘117’)) {
wp_nav_menu( array( ‘theme_location’ => ‘laurel’ ));
}
else if (is_tree(‘115’)) {
wp_nav_menu( array( ‘theme_location’ => ‘prince_georges’ ));
}
else if (is_tree(‘119’)) {
wp_nav_menu( array( ‘theme_location’ => ‘bowie’ ));
}
else if (is_tree(‘3743’)) {
wp_nav_menu( array( ‘theme_location’ => ‘press_room’ ));
}
else if (is_tree(‘4904’)) {
wp_nav_menu( array( ‘theme_location’ => ‘midwifery’ ));
}
else if (is_tree(‘5182’)) {
wp_nav_menu( array( ‘theme_location’ => ‘residency_program’ ));