Title: wp_list_pages Customization?
Last modified: August 19, 2016

---

# wp_list_pages Customization?

 *  Resolved [groq](https://wordpress.org/support/users/groq/)
 * (@groq)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/wp_list_pages-customization/)
 * Hi,
 * I’m working on trying to display a list of my pages using the wp_list_pages function.
   Instead of showing the title of the page, I want to display the value of the 
   meta_key for that page. I hacked the classes.php file a little bit to get the
   stylings I want, but I can’t figure out how to get it to display the custom field.
   Here’s my current code from the classes.php file:
 * ‘;
 * Any ideas or suggestions will be greatly appreciated. Thanks in advance.
 * -groq

Viewing 1 replies (of 1 total)

 *  Thread Starter [groq](https://wordpress.org/support/users/groq/)
 * (@groq)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/wp_list_pages-customization/#post-1023172)
 * Ok, I figured it out guys. I changed this piece of code:
 * `apply_filters('the_title', $page->post_title)`
 * to
 * `apply_filters(‘the_title’, $page->meta_value)’
 * Cool!

Viewing 1 replies (of 1 total)

The topic ‘wp_list_pages Customization?’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [groq](https://wordpress.org/support/users/groq/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/wp_list_pages-customization/#post-1023172)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
