[wp-hackers] Custom Menu

Mike Schinkel mikeschinkel at newclarity.net
Sat Jun 5 20:51:27 UTC 2010


Mehmet:

wp_nav_menu( array('menu' => 'test', 'container_class' => false));

-Mike

On Jun 5, 2010, at 4:46 PM, Mehmet Ozekinci wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list