You’re missing the ‘menu’ parameter in your arguments and it’s defaulting to the first alphabetical menu. Try something like:
<?php wp_nav_menu(array(
'menu' => 'Menu Name 1',
'depth' => 1,
'level' => 1,
'menu_class' => 'section-header',
'container' => false
)
); ?>
<?php wp_nav_menu(array(
'menu' => 'Menu Name 2',
'depth' => 3,
'level' => 2,
'menu_class' => 'sidebar-menu',
'link_before' => '<i class="fa fa-arrow-right"></i>',
)
); ?>
I posted full details on a similar thread at http://ww.wp.xz.cn/support/topic/wp-40-broke-main-menu
Thank You. Worked like a charm!