[wp-hackers] Custom Menu

Mehmet Ozekinci mhmtozek at gmail.com
Sat Jun 5 20:46:54 UTC 2010


Hi,

Is there anyway to remove container div from wp_nav_menu(); ?

When I call a custom menu using

wp_nav_menu( array('menu' => 'test'));

this is what i get
<div class="menu-test-container">
<ul id="menu-test" class="menu">
    <li id="menu-item-613" class="menu-item menu-item-type-taxonomy"><a
href="#">Link</a></li>
</ul>
</div>

Is there any way to get rid of
*<div class="menu-test-container"></div>*

Thanks
Mehmet


More information about the wp-hackers mailing list