I have been struggling with this in every which way...
I have two custom menus - one in the header and one the footer.
This is my functions.php code:
add_action( 'init', 'my_custom_menus' );
function my_custom_menus() {
register_nav_menus(
array(
'primary-menu' => __( 'Primary Menu' ),
'secondary-menu' => __( 'Secondary Menu' )
)
);
}
This is my header.php and footer.php code:
<?php wp_nav_menu(array('cmv' => 'primary-menu', 'container_class' => 'topMenu')); ?>
<?php wp_nav_menu(array('cmv' => 'secondary-menu', 'container_class' => 'tbotMenu')); ?>