WordPress.org

Support

Support » Plugins and Hacks » template-functions-post.php

template-functions-post.php

  • 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.

  • The topic ‘template-functions-post.php’ is closed to new replies.