[theme-reviewers] Menu Depth

Ryan Van Etten ryanve at gmail.com
Sat Mar 23 02:07:01 UTC 2013


An easy-to-implement fallback is to flatten the menu. (Make nested items
appear at the same level as parent items.) This lets users see the menu
items appear but realize that the nesting has no visual effect. For example:

.menu li { display:block; }

@ryanve <http://twitter.com/ryanve>



On Thu, Mar 21, 2013 at 5:22 PM, Daniel Fenn <danielx386 at gmail.com> wrote:

> Thank god for that
>
> On 3/22/13, Emil Uzelac <emil at uzelac.me> wrote:
> > No we are not, this is not a requirement :)
> >
> >
> > On Thu, Mar 21, 2013 at 3:33 AM, Justin Tadlock
> > <justin at justintadlock.com>wrote:
> >
> >>  wp_nav_menu() is a template tag, which means it is a function for use
> >> within theme template files.  It has an argument called "depth".  This
> >> argument allows theme authors to set a specific depth on the menu that
> >> they
> >> are displaying.
> >>
> >> Are we now to start picking and choosing which template tag parameters
> >> are
> >> acceptable for use?
> >>
> >>
> >> On 3/21/2013 2:34 AM, Emil Uzelac wrote:
> >>
> >> I will respectfully disagree no need to dictate one level menus.
> >> On Mar 21, 2013 1:48 AM, "Justin Tadlock" <justin at justintadlock.com>
> >> wrote:
> >>
> >>>  A single level is fine.  There are no requirements on menu depth.
>  This
> >>> is a theme design decision.
> >>>
> >>> Previous discussion:
> >>>
> >>>
> http://lists.wordpress.org/pipermail/theme-reviewers/2013-February/011693.html
> >>>
> >>>
> >>> On 3/20/2013 10:08 PM, Emil Uzelac wrote:
> >>>
> >>> This would be limiting the Theme, so I would say yes
> >>> there should be more than one level.
> >>>
> >>>
> >>> On Wed, Mar 20, 2013 at 10:06 PM, Stephen Cui <scui2005 at gmail.com>
> >>> wrote:
> >>>
> >>>> I see multiple level there. It means theme required to support
> multiple
> >>>> level. Thanks
> >>>>
> >>>> Stephen
> >>>>
> >>>>
> >>>> On Wed, Mar 20, 2013 at 10:02 PM, Emil Uzelac <emil at uzelac.me> wrote:
> >>>>
> >>>>> Please see: http://codex.wordpress.org/Theme_Unit_Test#Menus
> >>>>>
> >>>>>
> >>>>>  On Wed, Mar 20, 2013 at 10:00 PM, Stephen Cui
> >>>>> <scui2005 at gmail.com>wrote:
> >>>>>
> >>>>>>  I am reviewing a theme. Is a theme allowed to display only one
> >>>>>> level?
> >>>>>>
> >>>>>> wp_nav_menu( array( 'theme_location' => 'primary','depth' => 1 )
> >>>>>>
> >>>>>> regards
> >>>>>>
> >>>>>> Stephen
> >>>>>>
> >>>>>>  _______________________________________________
> >>>>>> theme-reviewers mailing list
> >>>>>> theme-reviewers at lists.wordpress.org
> >>>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> theme-reviewers mailing list
> >>>>> theme-reviewers at lists.wordpress.org
> >>>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>>>>
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> theme-reviewers mailing list
> >>>> theme-reviewers at lists.wordpress.org
> >>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>>>
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> theme-reviewers mailing
> >>> listtheme-reviewers at lists.wordpress.orghttp://
> lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> theme-reviewers mailing list
> >>> theme-reviewers at lists.wordpress.org
> >>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>>
> >>>
> >>
> >> _______________________________________________
> >> theme-reviewers mailing
> >> listtheme-reviewers at lists.wordpress.orghttp://
> lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>
> >>
> >>
> >> _______________________________________________
> >> theme-reviewers mailing list
> >> theme-reviewers at lists.wordpress.org
> >> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> >>
> >>
> >
>
>
> --
> Regards,
> Daniel Fenn
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130322/7d6b6233/attachment.htm>


More information about the theme-reviewers mailing list