WordPress.org

Ready to get started?Download WordPress

Forums

Display and sort child page links using data from child pages' custom fields (1 post)

  1. svcghost
    Member
    Posted 1 year ago #

    Hey guys! I am using the Advanced Custom Fields plug-in to add genres to musician pages. Each musician page has the parent page "Musicians". What would be the best way to, on the Musicians parent page, be able to display a list of child musicians (and links to their pages) sorted by the data in their "genre" custom field?

    In the end, ideally I would like the Musicians parent page to list the musician child page links in alphabetical order by default. I would like there to be a button you click to allow sorting by genre, and then change the list of artist links to be sorted by genre.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic