• Resolved buskerdog

    (@buskerdog)


    I use the following: <?php wp_list_pages(‘sort_column=menu_order&title_li=’); ?> and have found that it doesn’t validate since it creates a list with LIs and no UL. Is that so you can create a custom UL with an ID tag in it or is it for some other reason? Just curious.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I don’t know why it is that way, but you can just surround it in ul tags.

    Thread Starter buskerdog

    (@buskerdog)

    I know. I did. I was just curious. I just read the wp_list_pages doc and it does show putting UL tags around the usage, so that’s good. (nothing to see here, move along)

    maybe it’s so you can decide if you want an unordered list or an ordered list???

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_pages doesn’t validate (no UL surrounding the LIs)’ is closed to new replies.