for some reason the menu is not falling back to the default page menu.
Am i doing something wrong?
Here is my register of the navigation:
register_nav_menus(array('primary' => __( 'Primary Navigation', 'themetranslation' )));
Here is my navigation input in the header:
wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav nav-pills', 'depth' => 2, 'walker' => new mypcustomWalker() ) );
I have not set the fallback_cb as this is set to false as default which means it should fallback to the default wp_page_menu();
But for some reason if a primary menu is not set, nothing appears which means that the default is not being fallen back too.
I have pages in from the unit test which WordPress supplies.
Any ideas why this is not falling back?