I try to use wp_nav_menu
in my website.
My menu structure following like
Home
About
Insight
Test
Test
About2
Test
Test
When i call menu using like this
<?php
// Primary navigation menu.
wp_nav_menu(
'menu_class' => 'main-nav navbar-nav ml-auto',
'container' => false,
'theme_location' => 'header-menu',
//'items_wrap' => '<ul>%3$s</ul>',
'depth' => 4,
//
);
?>
All main and sub menu view home page how to stop this