WordPress.org

Support

Support » How-To and Troubleshooting » listing pages & their custom fields

listing pages & their custom fields

  • hey guys, hope this Q is in the right place.

    I’m using wp_list_pages to echo a list of subpages. Each of these subpages has a custom key and value. What I would like to do is list the pages and the custom field values. I know I can echo the custom values one by one using the get_meta_value, but that means specifically identifying the pages one by one…

    is this a simple php loop question?

    also, there may be a simpler way to do what i’m trying to do. the custom values are URLs that point to images; i’m trying to list the pages as images. know what i mean?

  • The topic ‘listing pages & their custom fields’ is closed to new replies.