Menu fallback “menu_class” rendering a “div” instead of a “ul”
First, I think you’re confusing the wp_nav_menu() args. The ‘menu_class’ parameter defines the class added to the menu element, which by default is <ul>, as per the ‘items_wrap’ parameter. The default ‘menu_class’ is ‘menu’, which results in <ul class=”menu”>. The real issue is actually the fallback_cb – the callback used when no menu is defined … Read more