tag that
// contains the menu
'menu_id' => 'subnav',
// apply 'class="subnavmenu"' to the
// tag that contains the menu
'menu_class' => 'subnavmenu',
// Use the default fallback if the user has
// not applied a menu to the specified theme
// location
'fallback_cb' => '',
// Apply four levels hierarchical depth,
// i.e. Parent Page plus three levels of
// descendant Child Pages
'depth' => 4,
// Output the menu the user has applied to
// the 'nav-sidebar' Theme Location
'theme_location' => 'nav-sidebar'
) );
}
else {
/**
* Otherwise, if the user has not applied a
* menu to the 'nav-header' Theme location,
* output a list of static Pages.
*/
?>