Home › Forums › Front-end Issues › Multiple array for sub field within meta_query not working correctly › Reply To: Multiple array for sub field within meta_query not working correctly
I’ve reworked this and removed the array for checking if it is marked as an archive, instead, I’ve included an if statement within the loop to check whether each repeater has archive sub_group marked true or false. This has helped me achieve the results I was after.
Makes more sense that way, though probably not as quick.
Thanks
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.