[wp-hackers] no 'before' or 'after' parameters for wp_list_pages()?

scribu scribu at gmail.com
Mon Nov 30 12:01:42 UTC 2009


On Mon, Nov 30, 2009 at 10:36 AM, Ghodmode <ghodmode at ghodmode.com> wrote:

> Doesn't the default unordered list go against the concept of separating
> data from presentation and semantic representation?  I know that a UL is
> a popular way to represent a menu, but a menu is, semantically, a
> different part of a document than the traditional meaning of the word
> "list".  For example, a list of my favorite movies isn't equivalent to
> the menu.  The menu is an index of the entire site's content, not
> actually part of the current document.
>

I can't think of a more semantic way to represent a menu, except for the nev
<nav> element in HTML5. But that still uses a list.


-- 
http://scribu.net


More information about the wp-hackers mailing list