[wp-hackers] Rewriting Comments for html5 validity

Mike Little wordpress at zed1.com
Mon Feb 1 19:10:22 UTC 2010


On 1 February 2010 18:35, Matthew Simo <matthew.a.simo at gmail.com> wrote:

> Thanks for the replies,
>
> @ Mike - You are absolutely right, I added the end-callback to take care of
> that trailing </li>, thanks!  It seems wp_list_comments(); doesn't give any
> control over the start_lvl and end_lvl, so I'm still out of luck there.
>
>
There is the style argument which, if set to div (&style=div) should turn
off the <li> tags, is that what you mean?

Or would you like to be able to say start_lvl_tag=<article
class="child_comment"> &end_lvl_tag=</article>?  maybe add it to WordPress
ideas http://wordpress.org/extend/ideas/

Mike

-- 
Mike Little
http://zed1.com/


More information about the wp-hackers mailing list