Support » Fixing WordPress » List Pages

  • I am trying to do the following:

    <ul>
    <li><a href="#" title=""><span>01</span> Page 1</a></li>
    <li><a href="#" title=""><span>02</span> Page 2</a></li>
    </ul>

    and so on …

    Is there a way to do this without putting the span tag (and for that matter the descending numeric callout) within the page title? While it works, it breaks xhtml validation.

Viewing 1 replies (of 1 total)
  • Thread Starter holejazel

    (@holejazel)

    Hmm – apparently I need more sleep. What I meant to ask was: When using the <?php wp_list_pages('arguments'); ?> template tag, is there a way to add the span tags without having to add them to the page title when creating a page.

Viewing 1 replies (of 1 total)
  • The topic ‘List Pages’ is closed to new replies.