wp_nav_menu() does not accept arguments
-
Hi all. I am creating a custom menu and want the menu to be within <div id=”Navigation”> in my theme, but the arguments passed to wp_nav_menu() have no affect on the output. Setting menu_class is the only argument which works to style the output ?? Any ideas? Thanks!
<?php wp_nav_menu( array( 'menu' => 'Masthead Navigation', 'container_id' => 'Navigation' ) ); ?> Generates the following: <div class="menu"> <ul> <li class="page_item page-item-4 current_page_item"> <a href="" title="Home">Home</a> </ul> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_nav_menu() does not accept arguments’ is closed to new replies.