Title: template-functions-post.php
Last modified: August 18, 2016

---

# template-functions-post.php

 *  [omfgepoxy](https://wordpress.org/support/users/omfgepoxy/)
 * (@omfgepoxy)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/template-functions-postphp/)
 * 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.

## Tags

 * [class](https://wordpress.org/support/topic-tag/class/)
 * [list](https://wordpress.org/support/topic-tag/list/)

 * 0 replies
 * 1 participant
 * Last reply from: [omfgepoxy](https://wordpress.org/support/users/omfgepoxy/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/template-functions-postphp/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
