Home › Forums › Add-ons › Repeater Field › Echo Repeater-Field alphabetically query_posts › Reply To: Echo Repeater-Field alphabetically query_posts
ohh, not absolutely solved, sorry.
With the code above I get the list of all sub custom field values “artistname”, but not 100% correct. They are still sorted by posts (query-type “events”) somehow.
If events have only one row it works fine
exmpl:
Event 1 – artist – Abba
Event 2 – artist – Duran Duran
Event 3 – artist – Foo Fighters
But if an events has more then one row, not the row itselves is posted alphabeticaly.
exmpl:
Event 4 – artist – Coldplay, Aerosmith, Eminem
The list looks like this:
It should look lite that, 100% alphabeticaly:
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.