Support

Account

Home Forums Add-ons Flexible Content Field Programatically creating Flexible Content layouts with Repeater field

Helping

Programatically creating Flexible Content layouts with Repeater field

  • Hi,

    I have been trying to programmatically create a flexible content field, based on one I created via wp-admin. Each layout section of the flexible content field shares a common repeater field called images, so I’m keen to avoid making changes to a repeater field 10 times everytime I want to change it, and I’d like to have it set in PHP once and reference it in future layouts.

    First I created a flexible content field with multiple sections and an images repeater field via wp-admin. Then I exported those fields via tools to PHP.

    I then tried to recreate a new flexible content field group and layout fields via the acf_add_local_field_group and acf_add_local_field functions. At first I thought I had done it properly, as when I edit the fields in the backend I’m able to pick a repeater field of images, save them to a layout section and it saves without overwriting any other layout sections’ images repeater field values. However when I try and display the data on the front end, the images repeater field just returns an empty array.

    I have already opened a support ticket, but I thought by sharing the post here I might get more help and it would also benefit others. There is no reference to parent_layout in the flexible content documentation, I had to google around these support forums to find it!

    Here is my code (working) exported from my layout section (warning, its a lot of code)

    
    function my_acf_add_local_field_groups() {
    
    	acf_add_local_field_group(array (
    		'key' => 'group_588b7a702cf16',
    		'title' => 'Content',
    		'fields' => array (
    			array (
    				'layouts' => array (
    					array (
    						'key' => '58889beb36f3a',
    						'name' => '1_2_images_1_2_text',
    						'label' => '1/2 Images and 1/2 Text',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3ce6b6df4',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6df5',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6df6',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6df7',
    										'label' => '5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6df8',
    										'label' => '21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6df9',
    										'label' => '23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3ce6b6dfa',
    										'label' => '16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3ce6b6df4',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3ce6b6dfb',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3ce6b6df3',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58889c1136f3c',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '588a190104482',
    						'name' => 'half_blank_half_content',
    						'label' => '1/2 Blank 1/2 Text and Images',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'tabs' => 'all',
    										'toolbar' => 'full',
    										'media_upload' => 0,
    										'default_value' => '',
    										'delay' => 0,
    										'key' => 'field_588a1abbceee5',
    										'label' => 'Text',
    										'name' => 'text',
    										'type' => 'wysiwyg',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a190104484',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a190104485',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a190104486',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a190104487',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a190104488',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a190104489',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a19010448a',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a190104484',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a19010448b',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a190104483',
    								'label' => 'Images and Text',
    								'name' => 'images_and_text',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '5887863f164d0',
    						'name' => '1_2_images_1_2_images',
    						'label' => '1/2 Images 1/2 Images',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c882996f',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829970',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829971',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829972',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829973',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829974',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c8829975',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c882996f',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c8829976',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3c882996e',
    								'label' => 'Images Left',
    								'name' => 'images_left',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c9d29978',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d29979',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d2997a',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d2997b',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d2997c',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d2997d',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c9d2997e',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c9d29978',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c9d2997f',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3c9d29977',
    								'label' => 'Images Right',
    								'name' => 'images_right',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '578fa002dddef',
    						'name' => 'text_and_quote',
    						'label' => '2/3 Guttered Text and 1/3 Quote',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58863465aa971',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => 'The 2/3rds Text',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'default_value' => '',
    								'new_lines' => 'wpautop',
    								'maxlength' => '',
    								'placeholder' => '',
    								'rows' => '',
    								'key' => 'field_58863485aa972',
    								'label' => 'Quote',
    								'name' => 'quote',
    								'type' => 'textarea',
    								'instructions' => 'The 1/3rd Quote',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'default_value' => '',
    								'maxlength' => '',
    								'placeholder' => '',
    								'prepend' => '',
    								'append' => '',
    								'key' => 'field_5886356caa975',
    								'label' => 'Quote Name',
    								'name' => 'quote_name',
    								'type' => 'text',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '5888d12fcb91e',
    						'name' => '2_3_images_1_3_text',
    						'label' => '2/3 Images 1/3 Text',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_5888d14fcb920',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_5888d24dcb921',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_5888d14fcb920',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_5888d27ecb926',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_5888d14fcb920',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_5888d27dcb925',
    										'label' => '5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_5888d14fcb920',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_5888d27ccb924',
    										'label' => '21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_5888d14fcb920',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_5888d273cb922',
    										'label' => '16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_5888d14fcb920',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_5888d41ef2485',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_5888d13ccb91f',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_5888d391fd4c6',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'multiple' => 0,
    								'allow_null' => 0,
    								'choices' => array (
    									'top' => 'Top',
    									'middle' => 'Middle',
    									'bottom' => 'Bottom',
    								),
    								'default_value' => array (
    									0 => 'middle',
    								),
    								'ui' => 0,
    								'ajax' => 0,
    								'placeholder' => '',
    								'return_format' => 'value',
    								'key' => 'field_5889e9e985f16',
    								'label' => 'Text Align',
    								'name' => 'text_align',
    								'type' => 'select',
    								'instructions' => 'Choose where the text should align, when the images and text are shown in columns',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'default_value' => 0,
    								'message' => '',
    								'ui' => 0,
    								'ui_on_text' => '',
    								'ui_off_text' => '',
    								'key' => 'field_5889ea0785f17',
    								'label' => 'Text Top Padding',
    								'name' => 'text_top_padding',
    								'type' => 'true_false',
    								'instructions' => 'Enable text padding, only applies when Top selected',
    								'required' => 0,
    								'conditional_logic' => array (
    									array (
    										array (
    											'field' => 'field_5889e9e985f16',
    											'operator' => '==',
    											'value' => 'top',
    										),
    									),
    								),
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '57909daa153cd',
    						'name' => '2_3_guttered_text_1_3_images',
    						'label' => '2/3 Guttered Text 1/3 Images',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58863590aa976',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => 'The 2/3rds Text',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c0af4ede',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4edf',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4ee0',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4ee1',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4ee2',
    										'label' => '21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4ee3',
    										'label' => '23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3c0af4ee4',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3c0af4ede',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3c0af4ee5',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3c09f4edd',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '5886377fb0834',
    						'name' => 'guide_and_text',
    						'label' => '2/3 Guttered Guide 1/3 Text',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'default_value' => '',
    								'maxlength' => '',
    								'placeholder' => '',
    								'prepend' => '',
    								'append' => '',
    								'key' => 'field_5886378ab0835',
    								'label' => 'Guide',
    								'name' => 'guide',
    								'type' => 'text',
    								'instructions' => 'Pick guide here',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_588637b8b0836',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '58887cf31899c',
    						'name' => 'quote_and_16_9_image',
    						'label' => '1/3 Quote and 2/3 Image(s)',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'default_value' => '',
    								'new_lines' => 'wpautop',
    								'maxlength' => '',
    								'placeholder' => '',
    								'rows' => '',
    								'key' => 'field_58887cf31899f',
    								'label' => 'Quote',
    								'name' => 'quote',
    								'type' => 'textarea',
    								'instructions' => 'The 1/3rd Quote',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'default_value' => '',
    								'maxlength' => '',
    								'placeholder' => '',
    								'prepend' => '',
    								'append' => '',
    								'key' => 'field_58887cf3189a0',
    								'label' => 'Quote Name',
    								'name' => 'quote_name',
    								'type' => 'text',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a1c96209b6',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209b7',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209b8',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209b9',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209ba',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209bb',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a1c96209bc',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a1c96209b6',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a1c96209bd',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a1c95209b5',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '58887c3018996',
    						'name' => 'text_and_16_9_image',
    						'label' => '1/3 Text 2/3 Image(s)',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58887c3818997',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a24e3a5469',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546a',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546b',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546c',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546d',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546e',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24e3a546f',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24e3a5469',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a24e3a5470',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a24e2a5468',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '578fa18c153ca',
    						'name' => '1_3_images_2_3_images',
    						'label' => '1/3 Images 2/3 Images',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3a6a0b183',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b184',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b185',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b186',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b187',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b188',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a6a0b189',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a6a0b183',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3a6a0b18a',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3a690b182',
    								'label' => '1/3 Images',
    								'name' => '1_3_images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3a9d0b195',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b196',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b197',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b198',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b199',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b19a',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3a9d0b19b',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3a9d0b195',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3a9d0b19c',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3a9d0b194',
    								'label' => '2/3 Images',
    								'name' => '2_3_images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '58887c8518999',
    						'name' => '1_3_images_2_3_guttered_text',
    						'label' => '1/3 Images 2/3 Guttered Text',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3b400598c',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b400598d',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b400598e',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b400598f',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b4005990',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b4005991',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588b3b4005992',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588b3b400598c',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588b3b4005993',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588b3b3f0598b',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58887cd11899b',
    								'label' => 'Guttered Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '58877b3dd38bc',
    						'name' => 'text_image_image',
    						'label' => '1/3rd Text 1/3rd Image(s) 1/3rd Image(s)',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 1,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58877b4fd38bd',
    								'label' => 'Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => 'The 1/3rd Text',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a2de41862d',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de41862e',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de41862f',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de418630',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de418631',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de418632',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2de418633',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2de41862d',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a2de418634',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'tabs' => 'all',
    										'toolbar' => 'full',
    										'media_upload' => 0,
    										'default_value' => '',
    										'delay' => 0,
    										'key' => 'field_588a2e331863e',
    										'label' => 'Text',
    										'name' => 'text',
    										'type' => 'wysiwyg',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a2de31862c',
    								'label' => 'Images and Text Middle',
    								'name' => 'images_text_middle',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a2e5018640',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018641',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018642',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018643',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018644',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018645',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a2e5018646',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a2e5018640',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a2e5018647',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'tabs' => 'all',
    										'toolbar' => 'full',
    										'media_upload' => 0,
    										'default_value' => '',
    										'delay' => 0,
    										'key' => 'field_588a2e5018648',
    										'label' => 'Text',
    										'name' => 'text',
    										'type' => 'wysiwyg',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a2e4f1863f',
    								'label' => 'Images and Text Right',
    								'name' => 'images_and_text_right',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '58887d5c189a2',
    						'name' => 'guttered_centered_text',
    						'label' => 'Guttered Centered Text',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'tabs' => 'all',
    								'toolbar' => 'full',
    								'media_upload' => 0,
    								'default_value' => '',
    								'delay' => 0,
    								'key' => 'field_58887d5c189a4',
    								'label' => 'Guttered Text',
    								'name' => 'text',
    								'type' => 'wysiwyg',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    					array (
    						'key' => '5887868e164d6',
    						'name' => 'full_width_image',
    						'label' => 'Full Width Image(s)',
    						'display' => 'block',
    						'sub_fields' => array (
    							array (
    								'sub_fields' => array (
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'Select an Image' => 'Select an Image',
    											'1_1' => '1/1 (Square)',
    											'176_207' => '176/207 (Portrait)',
    											'5_7' => '5/7 (Large Portrait)',
    											'21_9' => '21/9 (Thin Lanscape)',
    											'23_16' => '23/16 (Landscape)',
    											'16_9' => '16/9 (Laptop Screen)',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a24f8a5472',
    										'label' => 'Select Image',
    										'name' => 'select_image',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_square',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5473',
    										'label' => '1:1 (Square)',
    										'name' => '1_1',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '1_1',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5474',
    										'label' => '176:207 (Portrait)',
    										'name' => '176_207',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '176_207',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_portrait_large',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5475',
    										'label' => '5_7 : 5:7 (Large Portrait)',
    										'name' => '5_7',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '5_7',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner_thin',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5476',
    										'label' => '21_9 : 21:9 (Thin Lanscape)',
    										'name' => '21_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '21_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'post_landscape',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5477',
    										'label' => '23_16 : 23:16 (Landscape)',
    										'name' => '23_16',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '23_16',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'force_crop' => 'yes',
    										'crop_type' => 'hard',
    										'preview_size' => 'medium',
    										'save_format' => 'object',
    										'save_in_media_library' => 'yes',
    										'target_size' => 'banner',
    										'library' => 'all',
    										'retina_mode' => 'no',
    										'key' => 'field_588a24f8a5478',
    										'label' => '16_9 : 16:9 (Laptop Screen)',
    										'name' => '16_9',
    										'type' => 'image_crop',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => array (
    											array (
    												array (
    													'field' => 'field_588a24f8a5472',
    													'operator' => '==',
    													'value' => '16_9',
    												),
    											),
    										),
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    										'width' => '',
    										'height' => '',
    									),
    									array (
    										'multiple' => 0,
    										'allow_null' => 0,
    										'choices' => array (
    											'full' => 'Full',
    											'half' => 'Half',
    										),
    										'default_value' => array (
    										),
    										'ui' => 0,
    										'ajax' => 0,
    										'placeholder' => '',
    										'return_format' => 'value',
    										'key' => 'field_588a24f8a5479',
    										'label' => 'Image Width',
    										'name' => 'image_width',
    										'type' => 'select',
    										'instructions' => '',
    										'required' => 0,
    										'conditional_logic' => 0,
    										'wrapper' => array (
    											'width' => '',
    											'class' => '',
    											'id' => '',
    										),
    									),
    								),
    								'min' => 0,
    								'max' => 0,
    								'layout' => 'block',
    								'button_label' => 'Add Image',
    								'collapsed' => '',
    								'key' => 'field_588a24f7a5471',
    								'label' => 'Images',
    								'name' => 'images',
    								'type' => 'repeater',
    								'instructions' => '',
    								'required' => 0,
    								'conditional_logic' => 0,
    								'wrapper' => array (
    									'width' => '',
    									'class' => '',
    									'id' => '',
    								),
    							),
    						),
    						'min' => '',
    						'max' => '',
    					),
    				),
    				'min' => '',
    				'max' => '',
    				'button_label' => 'Add Section',
    				'key' => 'field_578f9ffc153c6',
    				'label' => 'Section',
    				'name' => 'section',
    				'type' => 'flexible_content',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => 0,
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    			),
    		),
    		'location' => array (
    			array (
    				array (
    					'param' => 'post_type',
    					'operator' => '==',
    					'value' => 'post',
    				),
    			),
    		),
    		'menu_order' => 0,
    		'position' => 'normal',
    		'style' => 'default',
    		'label_placement' => 'top',
    		'instruction_placement' => 'label',
    		'hide_on_screen' => '',
    		'active' => 1,
    		'description' => '',
    	));
    	
    }
    
    add_action('acf/init', 'my_acf_add_local_field_groups');
    

    First of all, I created my new field group like so:

    
    acf_add_local_field_group( array (
    	'key' => 'section_builder',
    	'title' => 'Section Builder',
    	'fields' => array (),
    	'location' => array (
    		array (
    			array (
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'post',
    			),
    		),
    	),
    ));
    

    Then, I added my layout sections:

    
    acf_add_local_field( array (
    	'layouts' => array (
    		array (
    			'key' => '1_2_images_1_2_text',
    			'name' => '1_2_images_1_2_text',
    			'label' => '1/2 Images 1/2 Text',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_2_blank_1_2_content',
    			'name' => '1_2_blank_1_2_content',
    			'label' => '1/2 Blank 1/2 Content',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_2_images_1_2_images',
    			'name' => '1_2_images_1_2_images',
    			'label' => '1/2 Images 1/2 Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '2_3_guttered_text_1_3_quote',
    			'name' => '2_3_guttered_text_1_3_quote',
    			'label' => '2/3 Guttered Text and 1/3 Quote',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '2_3_images_1_3_text',
    			'name' => '2_3_images_1_3_text',
    			'label' => '2/3 Images 1/3 Text',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '2_3_guttered_text_1_3_images',
    			'name' => '2_3_guttered_text_1_3_images',
    			'label' => '2/3 Guttered Text 1/3 Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '2_3_guttered_guide_1_3_text',
    			'name' => '2_3_guttered_guide_1_3_text',
    			'label' => '2/3 Guttered Guide 1/3 Text',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_3_quote_2_3_images',
    			'name' => '1_3_quote_2_3_images',
    			'label' => '1/3 Quote and 2/3 Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_3_text_2_3_images',
    			'name' => '1_3_text_2_3_images',
    			'label' => '1/3 Text 2/3 Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_3_images_2_3_images',
    			'name' => '1_3_images_2_3_images',
    			'label' => '1/3 Images 2/3 Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_3_images_2_3_guttered_text',
    			'name' => '1_3_images_2_3_guttered_text',
    			'label' => '1/3 Images 2/3 Guttered Text',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => '1_3_text_1_3_images_1_3_images',
    			'name' => '1_3_text_1_3_images_1_3_images',
    			'label' => '1/3rd Text 1/3rd Images 1/3rd Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => 'guttered_centered_text',
    			'name' => 'guttered_centered_text',
    			'label' => 'Guttered Centered Text',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    		array (
    			'key' => 'full_width_images',
    			'name' => 'full_width_images',
    			'label' => 'Full Width Images',
    			'display' => 'block',
    			'sub_fields' => array ()
    		),
    	),
    	'key' => 'section_builder_flex_content',
    	'name' => 'section_builder_flex_content',
    	'label' => 'Section',
    	'type' => 'flexible_content',
    	'parent' => 'section_builder'
    ));
    

    The images repeater field is used multiple times within different layout sections, so I thought I could create a function called add_images_to_layout_sections which took two paramters – the parent_layout key of the layout section it is being used in, and multiple in case the repeater field was used more than once in each layout section.

    Here is my code for the function:

    
    function add_images_to_layout_sections ( $parent_layout, $multiple ) {
    
    	acf_add_local_field( array (
    		'sub_fields' => array (
    			array (
    				'choices' => array (
    					'Select an Image' => 'Select an Image',
    					'1_1' => '1/1 (Square)',
    					'176_207' => '176/207 (Portrait)',
    					'5_7' => '5/7 (Large Portrait)',
    					'21_9' => '21/9 (Thin Lanscape)',
    					'23_16' => '23/16 (Landscape)',
    					'16_9' => '16/9 (Laptop Screen)',
    				),
    				'return_format' => 'value',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image',
    				'label' => 'Select Image',
    				'name' => 'select_image',
    				'type' => 'select',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'post_square',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_1_1',
    				'label' => '1:1 (Square)',
    				'name' => '1_1',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '1_1',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'post_portrait',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_176_207',
    				'label' => '176:207 (Portrait)',
    				'name' => '176_207',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '176_207',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'post_portrait_large',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_5_7',
    				'label' => '5:7 (Large Portrait)',
    				'name' => '5_7',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '5_7',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'banner_thin',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_21_9',
    				'label' => '21:9 (Thin Lanscape)',
    				'name' => '21_9',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '21_9',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'post_landscape',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_23_16',
    				'label' => '23:16 (Landscape)',
    				'name' => '23_16',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '23_16',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'force_crop' => 'yes',
    				'crop_type' => 'hard',
    				'preview_size' => 'medium',
    				'save_format' => 'object',
    				'save_in_media_library' => 'yes',
    				'target_size' => 'banner',
    				'library' => 'all',
    				'retina_mode' => 'no',
    				'key' => ''. $parent_layout .''. $multiple .'_select_image_16_9',
    				'label' => '16:9 (Laptop Screen)',
    				'name' => '16_9',
    				'type' => 'image_crop',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => array (
    					array (
    						array (
    							'field' => ''. $parent_layout .''. $multiple .'_select_image',
    							'operator' => '==',
    							'value' => '16_9',
    						),
    					),
    				),
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    				'width' => '',
    				'height' => '',
    			),
    			array (
    				'multiple' => 0,
    				'allow_null' => 0,
    				'choices' => array (
    					'full' => 'Full',
    					'half' => 'Half',
    				),
    				'default_value' => array (
    				),
    				'ui' => 0,
    				'ajax' => 0,
    				'placeholder' => '',
    				'return_format' => 'value',
    				'key' => ''. $parent_layout .''. $multiple .'_image_width',
    				'label' => 'Image Width',
    				'name' => 'image_width',
    				'type' => 'select',
    				'instructions' => '',
    				'required' => 0,
    				'conditional_logic' => 0,
    				'wrapper' => array (
    					'width' => '',
    					'class' => '',
    					'id' => '',
    				),
    			),
    		),
    		'min' => 0,
    		'max' => 0,
    		'layout' => 'block',
    		'button_label' => 'Add Image',
    		'collapsed' => '',
    		'key' => ''. $parent_layout .''. $multiple .'_images',
    		'label' => 'Images '. $multiple .'',
    		'name' => ''. $parent_layout .''. $multiple .'_images',
    		'type' => 'repeater',
    		'instructions' => '',
    		'required' => 0,
    		'conditional_logic' => 0,
    		'wrapper' => array (
    			'width' => '',
    			'class' => '',
    			'id' => '',
    		),
    		'parent_layout' => ''. $parent_layout .'', // The layout's key
    		'parent' => 'section_builder_flex_content', // The Flexible Content Field's key
    	));
    
    }
    

    My thinking was as long as I made each repeater field key unique (by prepending it with the layout_section key) it would work. It seems to work in the backend, but when I try and return the repeater field inside a flexible content loop, I get a blank repeater images array. and some warnings with WP_DEBUG turned on.

    If I print_r the section with the working exported code, I get this:

    
    Array
    (
        [acf_fc_layout] => 1_2_images_1_2_text
        [images] => Array
            (
                [0] => Array
                    (
                        [select_image] => 16_9
                        [1_1] => 
                        [176_207] => 
                        [5_7] => 
                        [21_9] => 
                        [23_16] => 
                        [16_9] => Array
                            (
                                [id] => 416
                                [alt] => 
                                [title] => 20160702_194217_3360x1890_acf_cropped-4
                                [caption] => 
                                [description] => 
                                [mime_type] => image/jpeg
                                [url] => http://devurl.dev/wp-content/devurls/2017/01/20160702_194217_3360x1890_acf_cropped-4.jpg
                                [width] => 3360
                                [height] => 1890
                                [sizes] => Array
                                    (
                                        [thumbnail] => http://devurl.dev/wp-devurlent/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-150x150.jpg
                                        [thumbnail-width] => 150
                                        [thumbnail-height] => 150
                                        [medium] => http://devurl.dev/wp-devurlontent/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-300x169.jpg
                                        [medium-width] => 300
                                        [medium-height] => 169
                                        [medium_large] => http://devurl.dev/wp-devurl/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-768x432.jpg
                                        [medium_large-width] => 768
                                        [medium_large-height] => 432
                                        [large] => http://devurl.dev/wpdevurlcontent/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-1024x576.jpg
                                        [large-width] => 1024
                                        [large-height] => 576
                                        [banner_thin] => http://devurl.dev/wp-devurlt/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-3360x1440.jpg
                                        [banner_thin-width] => 3360
                                        [banner_thin-height] => 1440
                                        [banner] => http://devurl.dev/wp-devurlontent/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4.jpg
                                        [banner-width] => 3360
                                        [banner-height] => 1890
                                        [post_landscape] => http://devurl.dev/wp-content/devurlploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-2208x1512.jpg
                                        [post_landscape-width] => 2208
                                        [post_landscape-height] => 1512
                                        [post_portrait] => http://devurl.dev/wp-contentdevurluploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-1584x1863.jpg
                                        [post_portrait-width] => 1584
                                        [post_portrait-height] => 1863
                                        [post_portrait_large] => http://devurl.dev/wp-devurlnt/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-1584x1890.jpg
                                        [post_portrait_large-width] => 1584
                                        [post_portrait_large-height] => 1890
                                        [post_square] => http://devurl.dev/wp-devurlt/uploads/2017/01/20160702_194217_3360x1890_acf_cropped-4-1584x1584.jpg
                                        [post_square-width] => 1584
                                        [post_square-height] => 1584
                                    )
    
                                [original_image] => Array
                                    (
                                        [id] => 23
                                        [alt] => 
                                        [title] => Rose
                                        [caption] => 
                                        [description] => 
                                        [mime_type] => image/jpeg
                                        [url] => http://devurl.dev/devurlp-content/uploads/2016/07/20160702_194217.jpg
                                        [width] => 5312
                                        [height] => 2988
                                        [sizes] => Array
                                            (
                                                [thumbnail] => http://devurl.dev/devurl-content/uploads/2016/07/20160702_194217-150x150.jpg
                                                [thumbnail-width] => 150
                                                [thumbnail-height] => 150
                                                [medium] => http://devurl.dev/devurlp-content/uploads/2016/07/20160702_194217-300x169.jpg
                                                [medium-width] => 300
                                                [medium-height] => 169
                                                [medium_large] => http://devurltor.dev/wp-content/uploads/2016/07/20160702_194217-768x432.jpg
                                                [medium_large-width] => 768
                                                [medium_large-height] => 432
                                                [large] => http://devurl.dev/devurlp-content/uploads/2016/07/20160702_194217-1024x576.jpg
                                                [large-width] => 1024
                                                [large-height] => 576
                                                [banner_thin] => http://devurltor.dev/wp-content/uploads/2016/07/20160702_194217.jpg
                                                [banner_thin-width] => 2560
                                                [banner_thin-height] => 1440
                                                [banner] => http://devurl.dev/devurlp-content/uploads/2016/07/20160702_194217.jpg
                                                [banner-width] => 3360
                                                [banner-height] => 1890
                                                [post_landscape] => http://devurltor.dev/wp-content/uploads/2016/07/20160702_194217.jpg
                                                [post_landscape-width] => 2208
                                                [post_landscape-height] => 1242
                                                [post_portrait] => http://devurltor.dev/wp-content/uploads/2016/07/20160702_194217.jpg
                                                [post_portrait-width] => 1584
                                                [post_portrait-height] => 891
                                                [post_portrait_large] => http://devurl.dev/wp-content/uploads/2016/07/20160702_194217.jpg
                                                [post_portrait_large-width] => 1584
                                                [post_portrait_large-height] => 891
                                                [post_square] => http://devurltor.dev/wp-content/uploads/2016/07/20160702_194217.jpg
                                                [post_square-width] => 1584
                                                [post_square-height] => 891
                                            )
    
                                    )
    
                            )
    
                        [image_width] => full
                    )
    
            )
    
        [text] => 
    The text
    
    )
    

    if I print_r the section with the programmatically added code via functions.php, I get this:

    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 264
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\api\api-value.php on line 310
    
    Notice:  Undefined index: _name in C:\***\wp-content\plugins\advanced-custom-fields-pro\pro\fields\repeater.php on line 665
    
    	
    		
    1_2_images_1_2_text:
    
    		Array
    (
        [acf_fc_layout] => 1_2_images_1_2_text
        [1_2_images_1_2_text_images] => Array
            (
                [0] => Array
                    (
                        [] => full
                    )
    
            )
    
        [1_2_images_1_2_text_text] => 
    What is going wrong with the repeater?
    
    )
    

    I feel like I’m quite close but maybe I made a mistake with the naming and/or key of the repeater field, by using the parent_layout prepended to it.

    Any help would be appreciated. It’s my first time trying to use fields via PHP.

    Thanks for your time, I know it’s a long request!

  • The code you posted practically crashes my browser. You’re going to have a hard time getting anyone to crawl through all that code on this forum since it is mostly other users that are answering questions.

    If you can narrow this down to a much simpler example that causes the same issue you might have better luck getting help.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.