[ 'type' => 'text', 'label' => __( 'Title', 'blocksy' ), 'field_attr' => [ 'id' => 'widget-title' ], 'design' => 'inline', 'value' => __( 'Social Icons', 'blocksy' ), 'disableRevertButton' => true, ], 'socials' => [ 'type' => 'ct-layers', 'label' => false, 'manageable' => true, 'desc' => sprintf( __( 'You can configure social URLs in %s.', 'blocksy' ), sprintf( '%s', admin_url('/customize.php?autofocus[section]=social_accounts'), __('Customizer', 'blocksy') ) ), 'value' => [ [ 'id' => 'facebook', 'enabled' => true, ], [ 'id' => 'twitter', 'enabled' => true, ], [ 'id' => 'gplus', 'enabled' => true, ], [ 'id' => 'instagram', 'enabled' => true, ], ], 'settings' => [ 'facebook' => [ 'label' => __( 'Facebook', 'blocksy' ), ], 'twitter' => [ 'label' => __( 'Twitter', 'blocksy' ), ], 'gplus' => [ 'label' => __( 'Google Plus', 'blocksy' ), ], 'linkedin' => [ 'label' => __( 'LinkedIn', 'blocksy' ), ], 'dribbble' => [ 'label' => __( 'Dribbble', 'blocksy' ), ], 'instagram' => [ 'label' => __( 'Instagram', 'blocksy' ), ], ], ], 'social_icons_size' => [ 'label' => __( 'Icons Size', 'blocksy' ), 'type' => 'ct-radio', 'value' => 'medium', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'small' => __( 'Small', 'blocksy' ), 'medium' => __( 'Medium', 'blocksy' ), 'large' => __( 'Large', 'blocksy' ), ], ], 'social_type' => [ 'label' => __( 'Icons Type', 'blocksy' ), 'type' => 'ct-radio', 'value' => 'simple', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'simple' => __( 'Simple', 'blocksy' ), 'rounded' => __( 'Rounded', 'blocksy' ), 'square' => __( 'Square', 'blocksy' ), ], ], blocksy_rand_md5() => [ 'type' => 'ct-condition', 'condition' => [ 'social_type' => '!simple' ], 'options' => [ 'social_icons_fill' => [ 'label' => __( 'Icons Fill Type', 'blocksy' ), 'type' => 'ct-radio', 'value' => 'outline', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'outline' => __( 'Outline', 'blocksy' ), 'solid' => __( 'Solid', 'blocksy' ), ], ], ], ], ];