' fall back for main menu ' question ! ! ! !
-
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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘' fall back for main menu ' question ! ! ! !’ is closed to new replies.