WordPress.org

Ready to get started?Download WordPress

Forums

listing pages & their custom fields (1 post)

  1. mxmai
    Member
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic