[ 'label' => __( 'Page Structure', 'ct' ), 'type' => 'ct-image-picker', 'value' => 'default', 'design' => 'inline', 'attr' => [ 'data-type' => 'background', 'data-state' => 'sync', ], 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'default' => [ 'src' => ct_image_picker_url( 'default.svg' ), 'title' => __( 'Default', 'ct' ), ], 'type-3' => [ 'src' => ct_image_picker_url( 'narrow.svg' ), 'title' => __( 'Right', 'ct' ), ], 'type-4' => [ 'src' => ct_image_picker_url( 'normal.svg' ), 'title' => __( 'Right', 'ct' ), ], 'type-2' => [ 'src' => ct_image_picker_url( 'left-single-sidebar.svg' ), 'title' => __( 'Center', 'ct' ), ], 'type-1' => [ 'src' => ct_image_picker_url( 'right-single-sidebar.svg' ), 'title' => __( 'Left', 'ct' ), ], ], ], 'page_enable_vertical_spacing' => [ 'label' => __( 'Page Vertical Spacing', 'ct' ), 'type' => 'ct-switch', 'value' => 'yes', ], 'page_enable_title' => [ 'label' => __( 'Page Title', 'ct' ), 'type' => 'ct-switch', 'value' => 'yes', ], ct_rand_md5() => [ 'type' => 'ct-condition', 'condition' => [ 'page_enable_title' => 'yes' ], 'options' => [ 'hero_section_type' => [ 'label' => 'Hero section', 'type' => 'ct-image-picker', 'design' => 'inline', 'value' => 'default', 'attr' => [ 'data-type' => 'background', 'data-state' => 'sync', ], 'setting' => [ 'transport' => 'postMessage' ], 'title' => true, 'choices' => [ 'default' => [ 'src' => ct_image_picker_url( 'default.svg' ), 'title' => __( 'Default', 'ct' ), ], 'type-1' => [ 'src' => ct_image_picker_url( 'hero-type-1.svg' ), 'title' => __( 'Type 1', 'ct' ), ], 'type-2' => [ 'src' => ct_image_picker_url( 'hero-type-2.svg' ), 'title' => __( 'Type 2', 'ct' ), ], ], ], ], ], ];