Hi,
I am trying to figure out how to add a custom menu in the front-page.php.
I create the menu front_page in the admin, but is not display ?
I need do something eles ?
if( is_front_page() ) { echo 'ssss'; if (has_nav_menu('front_page')) : wp_nav_menu(array('theme_location' => 'front_page', 'menu_class' => 'nav navbar-nav')); endif; }else { if (has_nav_menu('primary_navigation')) : wp_nav_menu(array('theme_location' => 'primary_navigation', 'menu_class' => 'nav navbar-nav')); endif; }