I want a list of child pages with custom fields — and if there are grandchild pages a nested list of grandchild pages with custom fields.
I made a theme and maintain a site for a bike club. The list I described above would list their single-day events with (custom fields) date and location — a nested list would show their multiple-day event series each with its own (custom fields) date and location.
See what I hard coded here — if I could automate it with a loop, it would update whenever my client adds a new event.
Can you suggest some code? I would like it to work on the Events page and in the sidebar. I cannot write PHP from scratch. Thank you for help.
- The topic ‘list child and grandchild pages with custom fields’ is closed to new replies.