Home › Forums › Add-ons › Repeater Field › Can you query repeater fields from multiple posts? › Reply To: Can you query repeater fields from multiple posts?
Ok thanks. So that would allow you to identify which posts had relevant values for the repeater field, and I’m guessing you’d then have to further filter by the sub fields to only output the rows you’re interested in?
So to use my example we’re finding the posts that contain references to “Arsenal” in the team_% sub field, and then from those posts we need to output the values from only the rows that contain the team “Arsenal”.
Is it possible to somehow sort the information by a value in the sub field? Eg: So that the relevant rows from the sub fields are sorted by the relevant startyear field for that row?
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!
📣 “ACF Chat Fridays”— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.