[wp-hackers] wp_list_categories()
Alex Hempton-Smith
hempsworth at googlemail.com
Wed Dec 31 02:05:11 GMT 2008
I think default behaviour should be as-is, without definitions. But I quite
like the ability to have a list of categories with a description for
each. Perhaps an argument which could change the output pattern? Setting
'style' to something different which would output your data list instead?
-- Alex
On Wed, Dec 31, 2008 at 1:46 AM, Daiv Mowbray <daiv at daivmowbray.com> wrote:
>
> I don't understand why it writes a ul list to start with.
> It should be a data list:
> <dl>
> <dt>link to cat level1</dt>
> <dd><dl>
> <dt>link to cat level2</dt>
> <dd><span>link to post level2</span>
> <span>link to post level2</span>
> <dl>
> <dt>link to cat level3</dt>
> <dd><span>link to post level3</span>
> <span>link to post level3</span>
> </dd>
> </dl>
> </dd>
> </dl>
> <span>link to post level1</span>
> </dd>
> </dl>
> Makes css and javascript control much more practical. IMHO.
>
>
>
>
> On Dec 28, 2008, at 7:17 AM, Mike Schinkel wrote:
>
> Secondly, Nested lists, The <ul> -has- to be within a <li> for it to be
>>>
>> valid HTML, It can either be <li><a>...</a><ul class="children" or
>> <li><a>..</a></li><li><ul class=children> but that causes issues with
>> numbered lists or for that matter, any list which has any form of bullet
>> or
>> marker before it..
>>
>
>
> ----------
> Daiv Mowbray
> daiv at daivmowbray.com
> ----------
>
>
>
> _______________________________________________
> 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