[theme-reviewers] Menu Depth
Justin Tadlock
justin at justintadlock.com
Thu Mar 21 08:33:19 UTC 2013
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
> <mailto: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
>> <mailto: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
>> <mailto: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 <mailto: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
>> <mailto:theme-reviewers at lists.wordpress.org>
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> <mailto:theme-reviewers at lists.wordpress.org>
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> <mailto:theme-reviewers at lists.wordpress.org>
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org <mailto:theme-reviewers at lists.wordpress.org>
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130321/864ba9ff/attachment.htm>
More information about the theme-reviewers
mailing list