Hi !
I was wondering, is a Fall Back Menu normal practice, what I mean is, do all WordPress Theme’s need it?
And if so, is there a current example on how to create a Fall Back Menu?
This is what I have within my funtions.php file:
// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'primary' => __( 'Primary Navigation', 'XXXXXXXXX' ),
) );
And in my header.php file:
<nav>
<?php wp_nav_menu( array('theme_location' => 'Primary', 'menu' => 'Primary','container' => '', 'items_wrap' => '<ul class="main">%3$s</ul>' )); ?>
</nav>
Any suggestions are welcome.
Thank you