Home › Forums › Add-ons › Flexible Content Field › Default Flex content with acf/load_value: Default layouts load, but not content › Reply To: Default Flex content with acf/load_value: Default layouts load, but not content
To populate the fields in the layout you need to use the field keys instead of the field names.
'field_page_blocks_small_gallery_text_text' =>
'<h2>' . __("Description", 'bonestheme') . '</h2>'
. '<p>' . __("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas varius tortor nibh, sit amet tempor nibh finibus et. Aenean eu enim justo.", 'bonestheme') . '</p>'
. '<ul class="half-width-blocks">'
. '<li>'
. '<strong class="large-text">' . __("Donec libero turpis, lacinia nec leo sit amet, dignissim dignissim lacus.", 'bonestheme') . '</strong>'
. '</li>'
. '</ul>'
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.