when I activate my theme, it looks bad without the wp_nav_menu set up. So I am trying to code for that exception. So I tried wp_list_pages
if(wp_nav_menu('primay')){
wp_nav_menu();
}
else {
wp_list_pages
}
My problem is that wp_nav_menu is always used even though I am testing for the nav menu called primary which at this point should not be set up and working.