Wordpress Navigation remove container -


hi have problem wordpress navigation tools. want remove containing class.

according documentation setting 'containter' => false removes containing class.

but problem when have done so, nothing happened.

<?php wp_nav_menu( array( 'theme_location' => 'header-menu',                          'container' => false                         ) ); ?> 

but when menu displayed still enclosed inside tag.

do yo guys have idea how fix it?

i found problem. forgot set header menu in functions.php , in admin panel well.

register_nav_menus(     array(       'header-menu' => __( 'header menu' ),       'footer-menu' => __( 'footer menu' ),     ) ); 

make sure use both , in admin panel menus set correct menu container.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -