WordPress.org

Ready to get started?Download WordPress

Forums

template-functions-post.php (1 post)

  1. omfgepoxy
    Member
    Posted 8 years ago #

    I've been trying to figure out how to get the wp_list_pages() function to have a unique class for each listed page item (such as the post order number). An example would be:

    <li class="1"> Photos
    <li class="2"> Writing
    <li class="3"> Links
    <li class="4"> About

    (Of course those list items are actual links and one of them is the current page, just shorhanding it.)

    Thanks for your time.

Topic Closed

This topic has been closed to new replies.

About this Topic