Home › Forums › Add-ons › Flexible Content Field › Get flexible layout field subfield outside loop › Reply To: Get flexible layout field subfield outside loop
There really isn’t going to be a simple way do to this without looping through the fields and getting the values. Even going directly to the postmeta table you’ll need to loop through the fields to find the one you’re looking for and doing a loop using get_post_meta will be a lot more complicated than any other way of doing it.
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.