Home › Forums › Add-ons › Flexible Content Field › Random Flexible Content Field Results Ordering › Reply To: Random Flexible Content Field Results Ordering
Hi @Steve
You will need to use a foreach loop to iterate over the flexible content layouts.
The code will look much the same as the repeater fiedl example, exept you will need to look at the ‘acf_fc_layout’ value instead of get_row_layout().
When you loop through the rows, just print_r the $row to see what data is a available to you
Thanks
E
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.