I am sure this topic is somewhere in this forum, however, I am unable to locate. I simply would like to add multiple menus, but am having difficulty with the syntax. I attempted to use the following - which failed.
if ( function_exists( 'wp_nav_menu' ) ){
if (function_exists('add_theme_support')) {
add_theme_support('nav-menus');
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus(
array(
'main-menu' => __( 'Main Menu' )
'utility-menu' => __( 'Utility navigation' )
)
);
}
}
}