[wp-hackers] Custom Menu

Mehmet Ozekinci mhmtozek at gmail.com
Sun Jun 6 09:43:49 UTC 2010


I was trying to use container_div => false, but container => false did the
trick.

Thanks guys :) much appreciated for all your help

2010/6/6 Michael D Adams <mda at blogwaffe.com>

> As Nacin mentioned, you want:
>
> 'container' => false
>
> There's pretty good inline documentation for this function:
>
> http://core.trac.wordpress.org/browser/trunk/wp-includes/nav-menu-template.php?rev=15148#L107
>
> On Sat, Jun 5, 2010 at 11:39 PM, Mehmet Ozekinci <mhmtozek at gmail.com>
> wrote:
> > Thank you very much for answers, but for some reason container_class =>
> > false doesnt help. I still have that container div around UL, any idea?
> >
> > Mehmet
> >
> > 2010/6/6 Andrew Nacin <wp at andrewnacin.com>
> >
> >> Set container to false to get rid of the entire element.
> >>
> >> On Sat, Jun 5, 2010 at 4:51 PM, Mike Schinkel
> >> <mikeschinkel at newclarity.net>wrote:
> >>
> >> > Mehmet:
> >> >
> >> > wp_nav_menu( array('menu' => 'test', 'container_class' => false));
> >> >
> >> > -Mike
> >> >
> >> > On Jun 5, 2010, at 4:46 PM, Mehmet Ozekinci wrote:
> >> >
> >> > > Is there any way to get rid of
> >> > > *<div class="menu-test-container"></div>*
> >> >
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> 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