Support

Account

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>'