Wordpress removing the list container <ul> from the custom menu output -
any suggestions on how rid of ul tag wrapped around li tags in custom menu here at
http://www.blueoceanportfolios.com/careers/
the custom menu outputted nested tags around like
<ul id="menu-home" class="navleft"><li><a href="http://www.blueoceanportfolios.com/careers/">home</a></li> <li><a href="http://www.blueoceanportfolios.com/careers/?page_id=18">about</a></li> </ul>
i trying take out tags , passed container => false parameter before outputting custom menu mentioned @ wordpress codex, below code again.
$args = array( // 'menu' => 'primary', // 'sort_column' => '', 'container' => 'false', //'container_id'=>'myid', 'menu_class' => 'navleft', 'walker' => new my_walker() ); wp_nav_menu( $args );
try 'container' => false,
without quotes.
Comments
Post a Comment