WordPress.org

Support

Support » How-To and Troubleshooting » How to generate a list of child pages, and use some of their custom fields?

How to generate a list of child pages, and use some of their custom fields?

  • I have a page structure like this:

    -Home
    -Cars
        -Volvo 640
           - Pics
           - Info
        -Porsche 911
           - Pics
           - Info

    I’d like to generate a list of cars on the Cars page of all the cars (which are child pages of Cars). How would I do this? The list is basically a sub-menu which should show all the cars in alphabetical order (note, I don’t need links to the ‘grandchildren’ – Pics, Info). I also need to grab Custom Field data from each car’s page, and put that beside each link to the car’s page.. is that possible?

  • The topic ‘How to generate a list of child pages, and use some of their custom fields?’ is closed to new replies.
Skip to toolbar