/home/arranoyd/gazehome/wp-content/plugins/uncode-core/vc_extend/config/override_map.php
<?php
global $uncode_colors, $uncode_colors_flat, $uncode_colors_w_transp;
$flat_uncode_colors = array();
if (!empty($uncode_colors)) {
foreach ($uncode_colors as $key => $value) {
$flat_uncode_colors[$value[1]] = $value[0];
}
}
$units = array(
'1/12' => '1',
'2/12' => '2',
'3/12' => '3',
'4/12' => '4',
'5/12' => '5',
'6/12' => '6',
'7/12' => '7',
'8/12' => '8',
'9/12' => '9',
'10/12' => '10',
'11/12' => '11',
'12/12' => '12',
);
$size_arr = array(
esc_html__('Standard', 'uncode-core') => '',
esc_html__('Small', 'uncode-core') => 'btn-sm',
esc_html__('Large', 'uncode-core') => 'btn-lg',
esc_html__('Extra-Large', 'uncode-core') => 'btn-xl',
esc_html__('Button link', 'uncode-core') => 'btn-link',
esc_html__('Standard link', 'uncode-core') => 'link',
);
$icon_sizes = array(
esc_html__('Standard', 'uncode-core') => '',
esc_html__('2x', 'uncode-core') => 'fa-2x',
esc_html__('3x', 'uncode-core') => 'fa-3x',
esc_html__('4x', 'uncode-core') => 'fa-4x',
esc_html__('5x', 'uncode-core') => 'fa-5x',
);
$heading_semantic = array(
esc_html__('h1', 'uncode-core') => 'h1',
esc_html__('h2', 'uncode-core') => 'h2',
esc_html__('h3', 'uncode-core') => 'h3',
esc_html__('h4', 'uncode-core') => 'h4',
esc_html__('h5', 'uncode-core') => 'h5',
esc_html__('h6', 'uncode-core') => 'h6',
esc_html__('p', 'uncode-core') => 'p',
esc_html__('div', 'uncode-core') => 'div'
);
$heading_size = array(
esc_html__('Default CSS', 'uncode-core') => '',
esc_html__('h1', 'uncode-core') => 'h1',
esc_html__('h2', 'uncode-core') => 'h2',
esc_html__('h3', 'uncode-core') => 'h3',
esc_html__('h4', 'uncode-core') => 'h4',
esc_html__('h5', 'uncode-core') => 'h5',
esc_html__('h6', 'uncode-core') => 'h6',
);
$font_sizes = (function_exists('ot_get_option')) ? ot_get_option('_uncode_heading_font_sizes') : array();
if (!empty($font_sizes)) {
foreach ($font_sizes as $key => $value) {
$heading_size[$value['title']] = $value['_uncode_heading_font_size_unique_id'];
}
}
$heading_size[esc_html__('BigText', 'uncode-core')] = 'bigtext';
$font_heights = (function_exists('ot_get_option')) ? ot_get_option('_uncode_heading_font_heights') : array();
$heading_height = array(
esc_html__('Default CSS', 'uncode-core') => '',
);
if (!empty($font_heights)) {
foreach ($font_heights as $key => $value) {
$heading_height[$value['title']] = $value['_uncode_heading_font_height_unique_id'];
}
}
$font_spacings = (function_exists('ot_get_option')) ? ot_get_option('_uncode_heading_font_spacings') : array();
$heading_space = array(
esc_html__('Default CSS', 'uncode-core') => '',
);
$btn_letter_spacing = array(
esc_html__('Letter Spacing 0', 'uncode-core') => 'uncode-fontspace-zero',
);
if (!empty($font_spacings)) {
foreach ($font_spacings as $key => $value) {
$btn_letter_spacing[$value['title']] = $heading_space[$value['title']] = $value['_uncode_heading_font_spacing_unique_id'];
}
}
if (isset($fonts) && is_array($fonts)) {
foreach ($fonts as $key => $value) {
$heading_font[$value['title']] = $value['_uncode_font_group_unique_id'];
}
}
$fonts = (function_exists('ot_get_option')) ? ot_get_option('_uncode_font_groups') : array();
$heading_font = array(
esc_html__('Default CSS', 'uncode-core') => '',
);
$button_font = array();
if (isset($fonts) && is_array($fonts)) {
foreach ($fonts as $key => $value) {
$button_font[$value['title']] = $heading_font[$value['title']] = $value['_uncode_font_group_unique_id'];
}
}
$heading_weight = array(
esc_html__('Default CSS', 'uncode-core') => '',
esc_html__('100', 'uncode-core') => 100,
esc_html__('200', 'uncode-core') => 200,
esc_html__('300', 'uncode-core') => 300,
esc_html__('400', 'uncode-core') => 400,
esc_html__('500', 'uncode-core') => 500,
esc_html__('600', 'uncode-core') => 600,
esc_html__('700', 'uncode-core') => 700,
esc_html__('800', 'uncode-core') => 800,
esc_html__('900', 'uncode-core') => 900,
);
$button_weight = array(
esc_html__('100', 'uncode-core') => 100,
esc_html__('200', 'uncode-core') => 200,
esc_html__('300', 'uncode-core') => 300,
esc_html__('400', 'uncode-core') => 400,
esc_html__('500', 'uncode-core') => 500,
esc_html__('600', 'uncode-core') => 600,
esc_html__('700', 'uncode-core') => 700,
esc_html__('800', 'uncode-core') => 800,
esc_html__('900', 'uncode-core') => 900,
);
$target_arr = array(
esc_html__('Same window', 'uncode-core') => '_self',
esc_html__('New window', 'uncode-core') => "_blank"
);
$border_style = array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Solid', 'uncode-core') => 'solid',
esc_html__('Dotted', 'uncode-core') => 'dotted',
esc_html__('Dashed', 'uncode-core') => 'dashed',
esc_html__('Double', 'uncode-core') => 'double',
esc_html__('Groove', 'uncode-core') => 'groove',
esc_html__('Ridge', 'uncode-core') => 'ridge',
esc_html__('Inset', 'uncode-core') => 'inset',
esc_html__('Outset', 'uncode-core') => 'outset',
esc_html__('Initial', 'uncode-core') => 'initial',
esc_html__('Inherit', 'uncode-core') => 'inherit',
);
$add_css_animation = array(
'type' => 'dropdown',
'heading' => esc_html__('Animation', 'uncode-core') ,
'param_name' => 'css_animation',
'admin_label' => true,
'value' => array(
esc_html__('No', 'uncode-core') => '',
esc_html__('Opacity', 'uncode-core') => 'alpha-anim',
esc_html__('Zoom in', 'uncode-core') => 'zoom-in',
esc_html__('Zoom out', 'uncode-core') => 'zoom-out',
esc_html__('Top to bottom', 'uncode-core') => 'top-t-bottom',
esc_html__('Bottom to top', 'uncode-core') => 'bottom-t-top',
esc_html__('Left to right', 'uncode-core') => 'left-t-right',
esc_html__('Right to left', 'uncode-core') => 'right-t-left',
) ,
'group' => esc_html__('Animation', 'uncode-core') ,
'description' => esc_html__('Specify the entrance animation.', 'uncode-core')
);
$add_animation_delay = array(
'type' => 'dropdown',
'heading' => esc_html__('Animation delay', 'uncode-core') ,
'param_name' => 'animation_delay',
'value' => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('ms 100', 'uncode-core') => 100,
esc_html__('ms 200', 'uncode-core') => 200,
esc_html__('ms 300', 'uncode-core') => 300,
esc_html__('ms 400', 'uncode-core') => 400,
esc_html__('ms 500', 'uncode-core') => 500,
esc_html__('ms 600', 'uncode-core') => 600,
esc_html__('ms 700', 'uncode-core') => 700,
esc_html__('ms 800', 'uncode-core') => 800,
esc_html__('ms 900', 'uncode-core') => 900,
esc_html__('ms 1000', 'uncode-core') => 1000,
esc_html__('ms 1100', 'uncode-core') => 1100,
esc_html__('ms 1200', 'uncode-core') => 1200,
esc_html__('ms 1300', 'uncode-core') => 1300,
esc_html__('ms 1400', 'uncode-core') => 1400,
esc_html__('ms 1500', 'uncode-core') => 1500,
esc_html__('ms 1600', 'uncode-core') => 1600,
esc_html__('ms 1700', 'uncode-core') => 1700,
esc_html__('ms 1800', 'uncode-core') => 1800,
esc_html__('ms 1900', 'uncode-core') => 1900,
esc_html__('ms 2000', 'uncode-core') => 2000,
) ,
'group' => esc_html__('Animation', 'uncode-core') ,
'description' => esc_html__('Specify the entrance animation delay in milliseconds.', 'uncode-core') ,
'admin_label' => true,
'dependency' => array(
'element' => 'css_animation',
'not_empty' => true
)
);
$add_animation_speed = array(
'type' => 'dropdown',
'heading' => esc_html__('Animation speed', 'uncode-core') ,
'param_name' => 'animation_speed',
'admin_label' => true,
'value' => array(
esc_html__('Default (400)', 'uncode-core') => '',
esc_html__('ms 100', 'uncode-core') => 100,
esc_html__('ms 200', 'uncode-core') => 200,
esc_html__('ms 300', 'uncode-core') => 300,
esc_html__('ms 400', 'uncode-core') => 400,
esc_html__('ms 500', 'uncode-core') => 500,
esc_html__('ms 600', 'uncode-core') => 600,
esc_html__('ms 700', 'uncode-core') => 700,
esc_html__('ms 800', 'uncode-core') => 800,
esc_html__('ms 900', 'uncode-core') => 900,
esc_html__('ms 1000', 'uncode-core') => 1000,
) ,
'group' => esc_html__('Animation', 'uncode-core') ,
'description' => esc_html__('Specify the entrance animation speed in milliseconds.', 'uncode-core') ,
'dependency' => array(
'element' => 'css_animation',
'not_empty' => true
)
);
$add_background_repeat = array(
'type' => 'dropdown',
"heading" => esc_html__("Background repeat", 'uncode-core') ,
'description' => wp_kses(__('Define the background repeat. <a href=\'http://www.w3schools.com/cssref/pr_background-repeat.asp\' target=\'_blank\'>Check this for reference</a>', 'uncode-core') , array( 'a' => array( 'href' => array(),'target' => array() ) ) ),
'param_name' => 'back_repeat',
'param_holder_class' => 'background-image-settings',
'value' => array(
esc_html__('Select...', 'uncode-core') => '',
esc_html__('No Repeat', 'uncode-core') => 'no-repeat',
esc_html__('Repeat All', 'uncode-core') => 'repeat',
esc_html__('Repeat Horizontally', 'uncode-core') => 'repeat-x',
esc_html__('Repeat Vertically', 'uncode-core') => 'repeat-y',
esc_html__('Inherit', 'uncode-core') => 'inherit'
) ,
'dependency' => array(
'element' => 'back_image',
'not_empty' => true,
) ,
"group" => esc_html__("Style", 'uncode-core')
);
$add_background_attachment = array(
'type' => 'dropdown',
"heading" => esc_html__("Background Attachment", 'uncode-core') ,
"description" => wp_kses(__("Define the background attachment. <a href='http://www.w3schools.com/cssref/pr_background-attachment.asp' target='_blank'>Check this for reference</a>", 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) ,
'param_name' => 'back_attachment',
'value' => array(
esc_html__('Select...', 'uncode-core') => '',
esc_html__('Fixed', 'uncode-core') => 'fixed',
esc_html__('Scroll', 'uncode-core') => 'scroll',
esc_html__('Inherit', 'uncode-core') => 'inherit'
) ,
'dependency' => array(
'element' => 'back_image',
'not_empty' => true,
) ,
"group" => esc_html__("Style", 'uncode-core')
);
$add_background_position = array(
'type' => 'dropdown',
"heading" => esc_html__("Background Position", 'uncode-core') ,
"description" => wp_kses(__("Define the background position. <a href='http://www.w3schools.com/cssref/pr_background-position.asp' target='_blank'>Check this for reference</a>", 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) ,
'param_name' => 'back_position',
'value' => array(
esc_html__('Select...', 'uncode-core') => '',
esc_html__('Left Top', 'uncode-core') => 'left top',
esc_html__('Left Center', 'uncode-core') => 'left center',
esc_html__('Left Bottom', 'uncode-core') => 'left bottom',
esc_html__('Center Top', 'uncode-core') => 'center top',
esc_html__('Center Center', 'uncode-core') => 'center center',
esc_html__('Center Bottom', 'uncode-core') => 'center bottom',
esc_html__('Right Top', 'uncode-core') => 'right top',
esc_html__('Right Center', 'uncode-core') => 'right center',
esc_html__('Right Bottom', 'uncode-core') => 'right bottom'
) ,
'dependency' => array(
'element' => 'back_image',
'not_empty' => true,
) ,
"group" => esc_html__("Style", 'uncode-core')
);
$add_background_size = array(
'type' => 'textfield',
"heading" => esc_html__("Background Size", 'uncode-core') ,
"description" => wp_kses(__("Define the background size (Default value is 'cover'). <a href='http://www.w3schools.com/cssref/css3_pr_background-size.asp' target='_blank'>Check this for reference</a>", 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) ,
'param_name' => 'back_size',
'dependency' => array(
'element' => 'back_image',
'not_empty' => true,
) ,
"group" => esc_html__("Style", 'uncode-core')
);
vc_map(array(
'name' => esc_html__( 'Section', 'uncode-core' ),
'base' => 'vc_section',
'weight' => 840,
'is_container' => true,
'icon' => 'fa fa-marquee',
'show_settings_on_create' => false,
'category' => esc_html__( 'Content', 'uncode-core' ),
'as_parent' => array(
'only' => 'vc_row',
),
'as_child' => array(
'only' => '', // Only root
),
'class' => 'vc_main-sortable-element',
'description' => esc_html__( 'Rows Container', 'uncode-core' ),
'params' => array(
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "back_color",
"description" => esc_html__("Specify a background color for the row.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Automatic background", 'uncode-core') ,
"param_name" => "back_image_auto",
"description" => esc_html__("Activate to pickup the background media from the category.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
"group" => esc_html__("Style", 'uncode-core') ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Background media", 'uncode-core') ,
"param_name" => "back_image",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core')
) ,
$add_background_repeat,
$add_background_attachment,
$add_background_position,
$add_background_size,
array(
"type" => 'checkbox',
"heading" => esc_html__("Parallax *", 'uncode-core') ,
"param_name" => "parallax",
"description" => esc_html__("Activate the Parallax effect. NB. Not available with Slides Scroll and, for performance reasons, this option is disabled while working with the Frontend Editor.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Style", 'uncode-core'),
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "overlay_color",
"description" => esc_html__("Specify an overlay color for the background.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "overlay_alpha",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the transparency for the overlay.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "overlay_color_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
) ,
'js_view' => 'UncodeSectionView',
));
if ( function_exists( 'uncode_privacy_has_consent' ) ) {
$consent_types = is_array( get_option( 'uncode_privacy_consent_types' ) ) ? get_option( 'uncode_privacy_consent_types' ) : array();
$type_select = array();
$type_select[ esc_html__('None', 'uncode-core') ] = '';
foreach ($consent_types as $type_id => $settings) {
if ( isset($settings['required']) && $settings['required'] )
continue;
$type_select[ esc_html($settings['name']) ] = esc_attr($type_id);
}
$gdpr = array(
array(
'type' => 'dropdown',
'heading' => esc_html__('Consent ID', 'uncode-core') ,
'param_name' => 'gdpr_consent_id',
'value' => $type_select,
"group" => esc_html__("Consent", 'uncode-core'),
'description' => esc_html__('Select the consent ID.', 'uncode-core')
),
array(
'type' => 'dropdown',
"heading" => esc_html__("Logic", 'uncode-core') ,
'param_name' => 'gdpr_consent_logic',
"description" => esc_html__("Include or exclude this row according with the consent ID.", 'uncode-core') ,
"group" => esc_html__("Consent", 'uncode-core'),
"value" => array(
esc_html__('Include', 'uncode-core') => 'include',
esc_html__('Exclude', 'uncode-core') => 'exclude'
) ,
"std" => 'include',
'dependency' => array(
'element' => 'gdpr_consent_id',
'not_empty' => true
)
),
);
} else {
$gdpr = array();
}
$row_params = array(
array(
"type" => 'checkbox',
"heading" => esc_html__("Container width", 'uncode-core') ,
"param_name" => "unlock_row",
"description" => esc_html__("Define the width of the container.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
"std" => 'yes',
"group" => esc_html__("Aspect", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Content width", 'uncode-core') ,
"param_name" => "unlock_row_content",
"description" => esc_html__("Define the width of the content area.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'unlock_row',
'value' => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Height", 'uncode-core') ,
"param_name" => "row_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 0,
"description" => wp_kses(__("Set the row height with a percent value.<br>NB. This value is including the top and bottom padding.", 'uncode-core'), array( 'br' => array( ) ) ) ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__("Minimum height", 'uncode-core') ,
'param_name' => 'row_height_pixel',
'description' => esc_html__("Insert the row minimum height in pixel.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Custom padding", 'uncode-core') ,
"param_name" => "override_padding",
"description" => esc_html__('Activate this to define custom paddings.', 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Left-Right padding", 'uncode-core') ,
"param_name" => "h_padding",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the left and right padding.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"dependency" => Array(
'element' => "override_padding",
'value' => array(
'yes'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Top padding", 'uncode-core') ,
"param_name" => "top_padding",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the top padding.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"dependency" => Array(
'element' => "override_padding",
'value' => array(
'yes'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Bottom padding", 'uncode-core') ,
"param_name" => "bottom_padding",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the bottom padding.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"dependency" => array(
'element' => "override_padding",
'value' => array(
'yes'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "back_color",
"description" => esc_html__("Specify a background color for the row.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Automatic background", 'uncode-core') ,
"param_name" => "back_image_auto",
"description" => esc_html__("Activate to pickup the background media from the category.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
"group" => esc_html__("Style", 'uncode-core') ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Background media", 'uncode-core') ,
"param_name" => "back_image",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core')
) ,
$add_background_repeat,
$add_background_attachment,
$add_background_position,
$add_background_size,
array(
"type" => 'checkbox',
"heading" => esc_html__("Parallax *", 'uncode-core') ,
"param_name" => "parallax",
"description" => esc_html__("Activate the Parallax effect. NB. Not available with Slides Scroll and, for performance reasons, this option is disabled while working with the Frontend Editor.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Style", 'uncode-core'),
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Zoom effect", 'uncode-core') ,
"param_name" => "kburns",
"description" => esc_html__("Activate the Zoom effect you prefer.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core'),
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Ken Burns', 'uncode-core') => 'yes',
esc_html__('Zoom Out', 'uncode-core') => 'zoom'
) ,
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "overlay_color",
"description" => esc_html__("Specify an overlay color for the background.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "overlay_alpha",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the transparency for the overlay.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "overlay_color_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Columns Equal Height", 'uncode-core') ,
"param_name" => "equal_height",
"description" => esc_html__("Activate this to have columns that are all equally tall, matching the height of the tallest.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Columns", 'uncode-core')
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Columns gap", 'uncode-core') ,
"param_name" => "gutter_size",
"min" => 0,
"max" => 4,
"step" => 1,
"value" => 3,
"description" => esc_html__("Set the columns gap.", 'uncode-core') ,
"group" => esc_html__("Columns", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Content Width", 'uncode-core') ,
"param_name" => "column_width_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => 'Set this value if you want to constrain the column width.',
"group" => esc_html__("Columns", 'uncode-core') ,
"value" => array(
'' => 'yes'
),
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
"param_name" => "column_width_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the column width with a percent value.", 'uncode-core') ,
"group" => esc_html__("Columns", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'is_empty' => true,
)
) ,
array(
'type' => 'textfield',
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
'param_name' => 'column_width_pixel',
'description' => esc_html__("Insert the column width in pixel.", 'uncode-core') ,
"group" => esc_html__("Columns", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'not_empty' => true
)
) ,
array(
'type' => 'css_editor',
'heading' => esc_html__('Css', 'uncode-core') ,
'param_name' => 'css',
'group' => esc_html__('Custom', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Lateral border mobile", 'uncode-core') ,
"param_name" => "preserve_border",
"description" => esc_html__("By default, columns are stack on mobile, and lateral borders are hidden. Use this option to preserve custom lateral Borders on mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "preserve_border_tablet",
"description" => esc_html__("Use this option to preserve lateral borders on tablet.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "preserve_border_mobile",
"description" => esc_html__("Use this option to preserve lateral borders on Mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border color", 'uncode-core') ,
"param_name" => "border_color",
"description" => esc_html__("Specify a border color.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $uncode_colors_w_transp,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border style", 'uncode-core') ,
"param_name" => "border_style",
"description" => esc_html__("Specify a border style.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $border_style,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift y-axis", 'uncode-core') ,
"param_name" => "shift_y",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the Y axis. This works on the margin-top property.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift y-axis fixed", 'uncode-core') ,
"param_name" => "shift_y_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom z-index", 'uncode-core') ,
"param_name" => "z_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a custom z-index to ensure the visibility of the element.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => "uncode_inner_tabs",
"heading" => esc_html__("Shape Dividers", 'uncode-core') ,
"param_name" => "shape_dividers",
"description" => esc_html__("Enable Shape Divider ", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"tabs" => array(
esc_html__('Top', 'uncode-core') => 'top',
esc_html__('Bottom', 'uncode-core') => 'bottom',
),
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape Divider", 'uncode-core') ,
"param_name" => "enable_top_divider",
'description' => esc_html__('Select \'Default\' to use a pre-made shape or select \'Custom\' to use your own SVG code Shape Divider.', 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('Default', 'uncode-core') => 'default',
esc_html__('Custom', 'uncode-core') => 'custom'
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top',
)
) ,
) ,
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "top_divider",
"flip" => true,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity.svg"),
"step" => array( esc_html__('Step', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient.svg"),
),
"dependency" => array(
'element' => "shape_top_invert",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
),
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "top_divider_inv",
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-inv.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity-inv.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-inv.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity-inv.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book-inv.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear-inv.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow-inv.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains-inv.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds-inv.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city-inv.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle-inv.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids-inv.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-inv.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity-inv.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray-inv.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan-inv.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-inv.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity-inv.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-inv.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity-inv.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-inv.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity-inv.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-inv.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity-inv.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2-inv.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3-inv.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4-inv.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient-inv.svg"),
),
"dependency" => array(
'element' => "shape_top_invert",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Shape SVG code", 'uncode-core') ,
"param_name" => "shape_top_custom",
"value" => "",
"is_custom_svg" => true,
"description" => esc_html__("Select a custom SVG code.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape inverted", 'uncode-core') ,
"param_name" => "shape_top_invert",
"description" => esc_html__("Select this option to use inverted shape.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top',
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape flip", 'uncode-core') ,
"param_name" => "shape_top_flip",
"description" => esc_html__("Select to flip the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shape height unit", 'uncode-core') ,
"param_name" => "shape_top_h_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => esc_html__("Set a custom height for your Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => 'yes',
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "uncode_numeric_textfield",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_top_height",
"std" => 150,
"description" => esc_html__("Set the shape height in pixel.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_top_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 33,
"description" => esc_html__("Set the shape height with a percent value.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape color", 'uncode-core') ,
"param_name" => "shape_top_color",
"description" => esc_html__("Select a solid color for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => $uncode_colors_flat,
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default', 'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape opacity", 'uncode-core') ,
"param_name" => "shape_top_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the shape opacity.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape ratio", 'uncode-core') ,
"param_name" => "shape_top_ratio",
"description" => esc_html__("Select to preserve the shape aspect ratio.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape safe", 'uncode-core') ,
"param_name" => "shape_top_safe",
"description" => esc_html__("Select to position the Shape Divider relative to the contents to avoid overlaps.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape z-index", 'uncode-core') ,
"param_name" => "shape_top_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a Z-Index for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape responsive", 'uncode-core') ,
"param_name" => "shape_top_responsive",
"description" => esc_html__("Manage shapes on tablets and mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape tablet hidden", 'uncode-core') ,
"param_name" => "shape_top_tablet_hide",
"description" => esc_html__("Hide this shape on tablets.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape mobile hidden", 'uncode-core') ,
"param_name" => "shape_top_mobile_hide",
"description" => esc_html__("Hide this shape on mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape Divider", 'uncode-core') ,
"param_name" => "enable_bottom_divider",
'description' => esc_html__('Select \'Default\' to use a pre-made shape or select \'Custom\' to use your own SVG code Shape Divider.', 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('Default', 'uncode-core') => 'default',
esc_html__('Custom', 'uncode-core') => 'custom'
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom',
)
) ,
) ,
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "bottom_divider",
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity.svg"),
"step" => array( esc_html__('Step', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient.svg"),
),
"dependency" => array(
'element' => "shape_bottom_invert",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
),
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "bottom_divider_inv",
"group" => esc_html__("Dividers", 'uncode-core'),
"flip" => true,
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-inv.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity-inv.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-inv.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity-inv.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book-inv.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear-inv.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow-inv.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains-inv.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds-inv.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city-inv.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle-inv.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids-inv.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-inv.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity-inv.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray-inv.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan-inv.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-inv.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity-inv.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-inv.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity-inv.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-inv.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity-inv.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-inv.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity-inv.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2-inv.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3-inv.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4-inv.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient-inv.svg"),
),
"dependency" => array(
'element' => "shape_bottom_invert",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Shape SVG code", 'uncode-core') ,
"param_name" => "shape_bottom_custom",
"value" => "",
"is_custom_svg" => true,
"description" => esc_html__("Select a custom SVG code.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape inverted", 'uncode-core') ,
"param_name" => "shape_bottom_invert",
"description" => esc_html__("Select this option to use inverted shape.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom',
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape flip", 'uncode-core') ,
"param_name" => "shape_bottom_flip",
"description" => esc_html__("Select to flip the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shape height unit", 'uncode-core') ,
"param_name" => "shape_bottom_h_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => esc_html__("Set a custom height for your Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => 'yes',
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "uncode_numeric_textfield",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_bottom_height",
"std" => 150,
"description" => esc_html__("Set the shape height in pixel.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_bottom_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 33,
"description" => esc_html__("Set the shape height with a percent value.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape color", 'uncode-core') ,
"param_name" => "shape_bottom_color",
"description" => esc_html__("Select a solid color for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => $uncode_colors_flat,
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default', 'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape opacity", 'uncode-core') ,
"param_name" => "shape_bottom_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the shape opacity.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape ratio", 'uncode-core') ,
"param_name" => "shape_bottom_ratio",
"description" => esc_html__("Select to preserve the shape aspect ratio.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape safe", 'uncode-core') ,
"param_name" => "shape_bottom_safe",
"description" => esc_html__("Select to position the Shape Divider relative to the contents to avoid overlaps.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape z-index", 'uncode-core') ,
"param_name" => "shape_bottom_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a Z-Index for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape responsive", 'uncode-core') ,
"param_name" => "shape_bottom_responsive",
"description" => esc_html__("Manage shapes on tablets and mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape tablet hidden", 'uncode-core') ,
"param_name" => "shape_bottom_tablet_hide",
"description" => esc_html__("Hide this shape on tablets.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape mobile hidden", 'uncode-core') ,
"param_name" => "shape_bottom_mobile_hide",
"description" => esc_html__("Hide this shape on mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Inverted device order", 'uncode-core') ,
"param_name" => "inverted_device_order",
"description" => esc_html__("Use this option to invert the order of the first and last stacked columns on mobile inside the row.", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Sticky", 'uncode-core') ,
"param_name" => "sticky",
"description" => esc_html__("Activate this to stick the element when scrolling.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Section name', 'uncode-core') ,
'param_name' => 'row_name',
'description' => esc_html__('Required for the page Scroll option, this gives the name to the section and to the tooltip unless specified in the Section Custom Slug option.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Section Custom Slug", 'uncode-core') ,
"param_name" => "row_custom_slug_check",
"description" => esc_html__("Select this option to set a custom slug.", 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core'),
"std" => '',
"value" => array(
'' => 'yes'
),
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Custom slug', 'uncode-core') ,
'param_name' => 'row_custom_slug',
'description' => esc_html__('Set a custom slug.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core'),
"dependency" => array(
'element' => "row_custom_slug_check",
'not_empty' => true
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
);
if ( class_exists( 'Uncode_Toolkit_Privacy' ) )
$row_params = array_merge($row_params, $gdpr);
vc_map(array(
'name' => esc_html__('Row', 'uncode-core') ,
'base' => 'vc_row',
'weight' => 1000,
'php_class_name' => 'uncode_row',
'is_container' => true,
'icon' => 'fa fa-align-justify',
'show_settings_on_create' => false,
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Row Element', 'uncode-core') ,
'params' => $row_params,
'js_view' => 'UncodeRowView',
));
$row_inner_params = array(
array(
"type" => "type_numeric_slider",
'heading' => esc_html__("Height", 'uncode-core') ,
"param_name" => "row_inner_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 0,
"description" => wp_kses(__("Set the row height with a percent value.<br>NB. This value is relative to the row parent.", 'uncode-core'), array( 'br' => array( ) ) ) ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__("Minimum height", 'uncode-core') ,
'param_name' => 'row_height_pixel',
'description' => esc_html__("Insert the row minimum height in pixel.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Force width 100%", 'uncode-core') ,
"param_name" => "force_width_grid",
"description" => wp_kses(__('Set this value if you need to force the width to 100%.<br>NB. This is needed only when all the columns are OFF-GRID.','uncode-core') , array( 'br' => array( ),'b' => array( ) ) ),
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "back_color",
"description" => esc_html__("Specify a background color for the row.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "media_element",
"heading" => esc_html__("Background media", 'uncode-core') ,
"param_name" => "back_image",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core')
) ,
$add_background_repeat,
$add_background_attachment,
$add_background_position,
$add_background_size,
array(
"type" => 'checkbox',
"heading" => esc_html__("Parallax *", 'uncode-core') ,
"param_name" => "parallax",
"description" => esc_html__("Activate the Parallax effect. NB. Not available with Slides Scroll and, for performance reasons, this option is disabled while working with the Frontend Editor.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"dependency" => Array(
'element' => "back_image",
'not_empty' => true
) ,
"group" => esc_html__("Style", 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Zoom effect", 'uncode-core') ,
"param_name" => "kburns",
"description" => esc_html__("Activate the Zoom effect you prefer.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core'),
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Ken Burns', 'uncode-core') => 'yes',
esc_html__('Zoom Out', 'uncode-core') => 'zoom'
) ,
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "overlay_color",
"description" => esc_html__("Specify an overlay color for the background.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "overlay_alpha",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the transparency for the overlay.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "overlay_color_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Columns Equal Height", 'uncode-core') ,
"param_name" => "equal_height",
"description" => esc_html__("Activate this to have columns that are all equally tall, matching the height of the tallest.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Columns", 'uncode-core')
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Columns gap", 'uncode-core') ,
"param_name" => "gutter_size",
"min" => 0,
"max" => 4,
"step" => 1,
"value" => 3,
"description" => esc_html__("Set the columns gap.", 'uncode-core') ,
"group" => esc_html__("Columns", 'uncode-core') ,
) ,
array(
'type' => 'css_editor',
'heading' => esc_html__('Css', 'uncode-core') ,
'param_name' => 'css',
'group' => esc_html__('Custom', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Lateral border mobile", 'uncode-core') ,
"param_name" => "preserve_border",
"description" => esc_html__("By default, columns are stack on mobile, and lateral borders are hidden. Use this option to preserve custom lateral Borders on mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "preserve_border_tablet",
"description" => esc_html__("Use this option to preserve lateral borders on tablet.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "preserve_border_mobile",
"description" => esc_html__("Use this option to preserve lateral borders on Mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border color", 'uncode-core') ,
"param_name" => "border_color",
"description" => esc_html__("Specify a border color.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $uncode_colors_w_transp,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border style", 'uncode-core') ,
"param_name" => "border_style",
"description" => esc_html__("Specify a border style.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $border_style,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift y-axis", 'uncode-core') ,
"param_name" => "shift_y",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the Y axis. This works on the margin-top property.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift y-axis fixed", 'uncode-core') ,
"param_name" => "shift_y_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom z-index", 'uncode-core') ,
"param_name" => "z_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a custom z-index to ensure the visibility of the element.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => "uncode_inner_tabs",
"heading" => esc_html__("Shape Dividers", 'uncode-core') ,
"param_name" => "shape_dividers",
"description" => esc_html__("...", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"tabs" => array(
esc_html__('Top', 'uncode-core') => 'top',
esc_html__('Bottom', 'uncode-core') => 'bottom',
),
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape Divider", 'uncode-core') ,
"param_name" => "enable_top_divider",
'description' => esc_html__('Select \'Default\' to use a pre-made shape or select \'Custom\' to use your own SVG code Shape Divider.', 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('Default', 'uncode-core') => 'default',
esc_html__('Custom', 'uncode-core') => 'custom'
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top',
)
) ,
) ,
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "top_divider",
"flip" => true,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient.svg"),
),
"dependency" => array(
'element' => "shape_top_invert",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
),
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "top_divider_inv",
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-inv.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity-inv.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-inv.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity-inv.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book-inv.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear-inv.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow-inv.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains-inv.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds-inv.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city-inv.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle-inv.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids-inv.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-inv.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity-inv.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray-inv.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan-inv.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-inv.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity-inv.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-inv.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity-inv.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-inv.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity-inv.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-inv.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity-inv.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2-inv.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3-inv.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4-inv.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient-inv.svg"),
),
"dependency" => array(
'element' => "shape_top_invert",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Shape SVG code", 'uncode-core') ,
"param_name" => "shape_top_custom",
"value" => "",
"is_custom_svg" => true,
"description" => esc_html__("Select a custom SVG code.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape inverted", 'uncode-core') ,
"param_name" => "shape_top_invert",
"description" => esc_html__("Select this option to use inverted shape.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top',
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape flip", 'uncode-core') ,
"param_name" => "shape_top_flip",
"description" => esc_html__("Select to flip the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shape height unit", 'uncode-core') ,
"param_name" => "shape_top_h_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => esc_html__("Set a custom height for your Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => 'yes',
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "uncode_numeric_textfield",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_top_height",
"std" => 150,
"description" => esc_html__("Set the shape height in pixel.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_top_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 33,
"description" => esc_html__("Set the shape height with a percent value.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape color", 'uncode-core') ,
"param_name" => "shape_top_color",
"description" => esc_html__("Select a solid color for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => $uncode_colors_flat,
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default', 'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape opacity", 'uncode-core') ,
"param_name" => "shape_top_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the shape opacity.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape ratio", 'uncode-core') ,
"param_name" => "shape_top_ratio",
"description" => esc_html__("Select to preserve the shape aspect ratio.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape safe", 'uncode-core') ,
"param_name" => "shape_top_safe",
"description" => esc_html__("Select to position the Shape Divider relative to the contents to avoid overlaps.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape z-index", 'uncode-core') ,
"param_name" => "shape_top_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a Z-Index for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape responsive", 'uncode-core') ,
"param_name" => "shape_top_responsive",
"description" => esc_html__("Manage shapes on tablets and mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_top_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape tablet hidden", 'uncode-core') ,
"param_name" => "shape_top_tablet_hide",
"description" => esc_html__("Hide this shape on tablets.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape mobile hidden", 'uncode-core') ,
"param_name" => "shape_top_mobile_hide",
"description" => esc_html__("Hide this shape on mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_top_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'top'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape Divider", 'uncode-core') ,
"param_name" => "enable_bottom_divider",
'description' => esc_html__('Select \'Default\' to use a pre-made shape or select \'Custom\' to use your own SVG code Shape Divider.', 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('Default', 'uncode-core') => 'default',
esc_html__('Custom', 'uncode-core') => 'custom'
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom',
)
) ,
) ,
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "bottom_divider",
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient.svg"),
),
"dependency" => array(
'element' => "shape_bottom_invert",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
),
array(
"type" => "uncode_radio_image",
"heading" => "Shape type",
"description" => esc_html__("Select a pre-made Shape Divider.", 'uncode-core') ,
"param_name" => "bottom_divider_inv",
"group" => esc_html__("Dividers", 'uncode-core'),
"flip" => true,
"std" => "curve",
"options" => array(
"curve" => array( esc_html__('Curve', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-inv.svg"),
"curve-opacity" => array( esc_html__('Curve opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-opacity-inv.svg"),
"curve-asym" => array( esc_html__('Curve asym', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-inv.svg"),
"curve-asym-opacity" => array( esc_html__('Curve asym opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/curve-asym-opacity-inv.svg"),
"book" => array( esc_html__('Book', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/book-inv.svg"),
"spear" => array( esc_html__('Spear', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/spear-inv.svg"),
"arrow" => array( esc_html__('Arrow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/arrow-inv.svg"),
"mountains" => array( esc_html__('Mountains', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/mountains-inv.svg"),
"clouds" => array( esc_html__('Clouds', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/clouds-inv.svg"),
"city" => array( esc_html__('City', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/city-inv.svg"),
"triangle" => array( esc_html__('Triangle', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/triangle-inv.svg"),
"pyramids" => array( esc_html__('Pyramids', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/pyramids-inv.svg"),
"tilt" => array( esc_html__('Tilt', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-inv.svg"),
"tilt-opacity" => array( esc_html__('Tilt opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/tilt-opacity-inv.svg"),
"ray-opacity" => array( esc_html__('Ray opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/ray-inv.svg"),
"fan-opacity" => array( esc_html__('Fan opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/fan-inv.svg"),
"swoosh" => array( esc_html__('Swoosh', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-inv.svg"),
"swoosh-opacity" => array( esc_html__('Swoosh opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/swoosh-opacity-inv.svg"),
"waves" => array( esc_html__('Waves', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-inv.svg"),
"waves-opacity" => array( esc_html__('Waves opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/waves-opacity-inv.svg"),
"hills" => array( esc_html__('Hills', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-inv.svg"),
"hills-opacity" => array( esc_html__('Hills opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/hills-opacity-inv.svg"),
"flow" => array( esc_html__('Flow', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-inv.svg"),
"flow-opacity" => array( esc_html__('Flow opacity', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/flow-opacity-inv.svg"),
"step_1_2" => array( esc_html__('Step 1/2', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_1_2-inv.svg"),
"step_2_3" => array( esc_html__('Step 2/3', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_2_3-inv.svg"),
"step_3_4" => array( esc_html__('Step 3/4', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/step_3_4-inv.svg"),
"gradient" => array( esc_html__('Gradient', 'uncode-core') => get_template_directory_uri()."/library/img/dividers/gradient-inv.svg"),
),
"dependency" => array(
'element' => "shape_bottom_invert",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
),
array(
"type" => "media_element",
"heading" => esc_html__("Shape SVG code", 'uncode-core') ,
"param_name" => "shape_bottom_custom",
"value" => "",
"is_custom_svg" => true,
"description" => esc_html__("Select a custom SVG code.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape inverted", 'uncode-core') ,
"param_name" => "shape_bottom_invert",
"description" => esc_html__("Select this option to use inverted shape.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom',
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape flip", 'uncode-core') ,
"param_name" => "shape_bottom_flip",
"description" => esc_html__("Select to flip the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shape height unit", 'uncode-core') ,
"param_name" => "shape_bottom_h_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => esc_html__("Set a custom height for your Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"std" => 'yes',
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "uncode_numeric_textfield",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_bottom_height",
"std" => 150,
"description" => esc_html__("Set the shape height in pixel.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape height value", 'uncode-core') ,
"param_name" => "shape_bottom_height_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 33,
"description" => esc_html__("Set the shape height with a percent value.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'not_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shape color", 'uncode-core') ,
"param_name" => "shape_bottom_color",
"description" => esc_html__("Select a solid color for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => $uncode_colors_flat,
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default', 'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape opacity", 'uncode-core') ,
"param_name" => "shape_bottom_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the shape opacity.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape ratio", 'uncode-core') ,
"param_name" => "shape_bottom_ratio",
"description" => esc_html__("Select to preserve the shape aspect ratio.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape safe", 'uncode-core') ,
"param_name" => "shape_bottom_safe",
"description" => esc_html__("Select to position the Shape Divider relative to the contents to avoid overlaps.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_h_use_pixel",
'is_empty' => true
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shape z-index", 'uncode-core') ,
"param_name" => "shape_bottom_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a Z-Index for the Shape Divider.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape responsive", 'uncode-core') ,
"param_name" => "shape_bottom_responsive",
"description" => esc_html__("Manage shapes on tablets and mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "enable_bottom_divider",
'value' => array(
'default',
'custom'
)
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape tablet hidden", 'uncode-core') ,
"param_name" => "shape_bottom_tablet_hide",
"description" => esc_html__("Hide this shape on tablets.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Shape mobile hidden", 'uncode-core') ,
"param_name" => "shape_bottom_mobile_hide",
"description" => esc_html__("Hide this shape on mobile devices.", 'uncode-core') ,
"group" => esc_html__("Dividers", 'uncode-core'),
"value" => array(
'' => 'yes'
),
"dependency" => array(
'element' => "shape_bottom_responsive",
'not_empty' => true,
) ,
"tab" => array(
'element' => "shape_dividers",
'value' => array(
'bottom'
)
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Inverted device order", 'uncode-core') ,
"param_name" => "inverted_device_order",
"description" => esc_html__("Use this option to invert the order of the first and last stacked columns on mobile inside the row.", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Sticky", 'uncode-core') ,
"param_name" => "sticky",
"description" => esc_html__("Activate this to stick the element when scrolling.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
);
if ( class_exists( 'Uncode_Toolkit_Privacy' ) )
$row_inner_params = array_merge($row_inner_params, $gdpr);
vc_map(array(
'name' => esc_html__('Inner Row', 'uncode-core') ,
'base' => 'vc_row_inner',
'php_class_name' => 'uncode_row_inner',
'content_element' => false,
'is_container' => true,
'icon' => 'icon-wpb-row',
'weight' => 1000,
'show_settings_on_create' => false,
'params' => $row_inner_params,
'js_view' => 'UncodeRowView'
));
vc_map(array(
"name" => esc_html__("Column", 'uncode-core') ,
"base" => "vc_column",
"is_container" => true,
"content_element" => false,
"params" => array(
array(
"type" => 'checkbox',
"heading" => esc_html__("Content Width", 'uncode-core') ,
"param_name" => "column_width_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => 'Set this value if you want to constrain the column width.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
"param_name" => "column_width_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the column width with a percent value.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'is_empty' => true,
)
) ,
array(
'type' => 'textfield',
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
'param_name' => 'column_width_pixel',
'description' => esc_html__("Insert the column width in pixel.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'value' => 'yes'
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Horizontal position", 'uncode-core') ,
"param_name" => "position_horizontal",
"description" => esc_html__("Specify the horizontal position of the content if you have decreased the width value.", 'uncode-core') ,
"std" => 'center',
"value" => array(
'Left' => 'left',
'Center' => 'center',
'Right' => 'right'
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Vertical position", 'uncode-core') ,
"param_name" => "position_vertical",
"description" => esc_html__("Specify the vertical position of the content.", 'uncode-core') ,
"value" => array(
'Top' => 'top',
'Middle' => 'middle',
'Bottom' => 'bottom'
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text alignment", 'uncode-core') ,
"param_name" => "align_horizontal",
"description" => esc_html__("Specify the alignment inside the content box.", 'uncode-core') ,
"value" => array(
'Left' => 'align_left',
'Center' => 'align_center',
'Right' => 'align_right',
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Inner Vertical Spacing", 'uncode-core') ,
"param_name" => "gutter_size",
"min" => 0,
"max" => 6,
"step" => 1,
"value" => 3,
"description" => esc_html__("Set the vertical rhythm between elements.", 'uncode-core') ,
'group' => esc_html__('Aspect', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Custom padding", 'uncode-core') ,
"param_name" => "override_padding",
"description" => esc_html__('Activate this to define custom paddings.', 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Extend height", 'uncode-core') ,
"param_name" => "expand_height",
"description" => esc_html__("Activate this to expand the height of the column to 100% when you have fluid content such as Maps. If you need to create equal height columns do not use this option but use the Rows > Columns > Columns Equal Height.", 'uncode-core') ,
'group' => esc_html__('Aspect', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom padding value", 'uncode-core') ,
"param_name" => "column_padding",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the column padding", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"dependency" => Array(
'element' => "override_padding",
'value' => array(
'yes'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Skin", 'uncode-core') ,
"param_name" => "style",
"value" => array(
esc_html__('Inherit', 'uncode-core') => '',
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
'group' => esc_html__('Style', 'uncode-core') ,
"description" => esc_html__("Specify the Skin coloration of the column.", 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Font Family", 'uncode-core') ,
"param_name" => "font_family",
"description" => esc_html__("Specify the column font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
'group' => esc_html__('Style', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "back_color",
"description" => esc_html__("Specify a background color for the column.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Style', 'uncode-core')
) ,
array(
"type" => "media_element",
"heading" => esc_html__("Background Media", 'uncode-core') ,
"param_name" => "back_image",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
'group' => esc_html__('Style', 'uncode-core')
) ,
$add_background_repeat,
$add_background_attachment,
$add_background_position,
$add_background_size,
array(
"type" => 'checkbox',
"heading" => esc_html__("Parallax * ", 'uncode-core') ,
"param_name" => "parallax",
"description" => esc_html__("Activate the Parallax effect. NB. Not available with Slides Scroll and, for performance reasons, this option is disabled while working with the Frontend Editor.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"dependency" => Array(
'element' => "back_image",
'not_empty' => true
) ,
"group" => esc_html__("Style", 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Zoom effect", 'uncode-core') ,
"param_name" => "kburns",
"description" => esc_html__("Activate the Zoom effect you prefer.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core'),
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Ken Burns', 'uncode-core') => 'yes',
esc_html__('Zoom Out', 'uncode-core') => 'zoom'
) ,
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "overlay_color",
"description" => esc_html__("Specify an overlay color for the background.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "overlay_alpha",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the transparency for the overlay.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "overlay_color_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => "css_editor",
"heading" => esc_html__('Css', 'uncode-core') ,
"param_name" => "css",
"group" => esc_html__('Custom', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Lateral border mobile", 'uncode-core') ,
"param_name" => "preserve_border",
"description" => esc_html__("By default, columns are stack on mobile, and lateral borders are hidden. Use this option to preserve custom lateral Borders on mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "preserve_border_tablet",
"description" => esc_html__("Use this option to preserve lateral borders on tablet.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "preserve_border_mobile",
"description" => esc_html__("Use this option to preserve lateral borders on Mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border color", 'uncode-core') ,
"param_name" => "border_color",
"description" => esc_html__("Specify a border color.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $uncode_colors_w_transp,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border style", 'uncode-core') ,
"param_name" => "border_style",
"description" => esc_html__("Specify a border style.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $border_style,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift x-axis", 'uncode-core') ,
"param_name" => "shift_x",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the X axis.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift x-axis fixed", 'uncode-core') ,
"param_name" => "shift_x_fixed",
"description" => esc_html__("Deactive shift-x responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift y-axis", 'uncode-core') ,
"param_name" => "shift_y",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the Y axis. This works on the margin-top property.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift y-axis fixed", 'uncode-core') ,
"param_name" => "shift_y_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift y-axis downward", 'uncode-core') ,
"param_name" => "shift_y_down",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to move toward the element below. This works on the margin-bottom property.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift y-axis downward fixed", 'uncode-core') ,
"param_name" => "shift_y_down_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom z-index", 'uncode-core') ,
"param_name" => "z_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a custom z-index to ensure the visibility of the element.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"heading" => "Tablet text alignment",
"type" => 'dropdown',
"param_name" => "align_medium",
"description" => esc_html__("Specify the text alignment inside the content box in tablet layout mode.", 'uncode-core') ,
"value" => array(
'Text align (Inherit)' => '',
'Left' => 'align_left_tablet',
'Center' => 'align_center_tablet',
'Right' => 'align_right_tablet',
) ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
array(
"heading" => "Tablet column width",
"type" => "type_numeric_slider",
"param_name" => "medium_width",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 0,
"description" => esc_html__("NB. If you change this value for one column you must specify a value for every column of the row.", 'uncode-core') ,
"group" => esc_html__("Responsive", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"heading" => "Mobile text alignment",
"type" => 'dropdown',
"param_name" => "align_mobile",
"description" => esc_html__("Specify the text alignment inside the content box in mobile layout mode.", 'uncode-core') ,
"value" => array(
'Text align (Inherit)' => '',
'Left' => 'align_left_mobile',
'Center' => 'align_center_mobile',
'Right' => 'align_right_mobile',
) ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
array(
"heading" => "Mobile column width",
"type" => "type_numeric_slider",
"param_name" => "mobile_width",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 0,
"description" => esc_html__("NB. If you change this value for one column you must specify a value for every column of the row.", 'uncode-core') ,
"group" => esc_html__("Responsive", 'uncode-core')
) ,
array(
"heading" => "Mobile minimum height",
"type" => "textfield",
"param_name" => "mobile_height",
"description" => esc_html__("Insert the value in pixel.", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'vc_link',
'heading' => esc_html__('Custom link *', 'uncode-core') ,
'param_name' => 'link_to',
'description' => esc_html__('Enter a custom link for the column. NB. For performance reasons, this option is disabled while working with the Frontend Editor.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Sticky", 'uncode-core') ,
"param_name" => "sticky",
"description" => esc_html__("Activate this to stick the element when scrolling.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shadow", 'uncode-core') ,
"param_name" => "shadow",
"description" => esc_html__("Activate this for the shadow effect.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('None', 'uncode-core') => 'none',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow Darker", 'uncode-core') ,
"param_name" => "shadow_darker",
"description" => esc_html__("Activate this for the dark shadow effect.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Extra", 'uncode-core') ,
'dependency' => array(
'element' => 'shadow',
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border radius", 'uncode-core') ,
"param_name" => "radius",
"description" => esc_html__("Specify the border radius effect.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
"type" => "textfield",
"heading" => esc_html__("Extra class", 'uncode-core') ,
"param_name" => "el_class",
"description" => esc_html__("If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core')
) ,
) ,
"js_view" => 'UncodeColumnView'
));
vc_map(array(
"name" => esc_html__("Inner Column", 'uncode-core') ,
"base" => "vc_column_inner",
"class" => "",
"icon" => "",
"wrapper_class" => "",
"controls" => "full",
"allowed_container_element" => false,
"content_element" => false,
"is_container" => true,
"params" => array(
array(
"type" => 'checkbox',
"heading" => esc_html__("Content Width", 'uncode-core') ,
"param_name" => "column_width_use_pixel",
"edit_field_class" => 'vc_column row_height',
"description" => 'Set this value if you want to constrain the column width.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
"param_name" => "column_width_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the column width with a percent value.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'is_empty' => true,
)
) ,
array(
'type' => 'textfield',
"heading" => esc_html__("Content Width Value", 'uncode-core') ,
'param_name' => 'column_width_pixel',
'description' => esc_html__("Insert the column width in pixel.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'column_width_use_pixel',
'value' => 'yes'
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Horizontal position", 'uncode-core') ,
"param_name" => "position_horizontal",
"description" => esc_html__("Specify the horizontal position of the content if you have decreased the width value.", 'uncode-core') ,
"std" => 'center',
"value" => array(
'Left' => 'left',
'Center' => 'center',
'Right' => 'right'
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Vertical position", 'uncode-core') ,
"param_name" => "position_vertical",
"description" => esc_html__("Specify the vertical position of the content.", 'uncode-core') ,
"value" => array(
'Top' => 'top',
'Middle' => 'middle',
'Bottom' => 'bottom'
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text alignment", 'uncode-core') ,
"param_name" => "align_horizontal",
"description" => esc_html__("Specify the alignment inside the content box.", 'uncode-core') ,
"value" => array(
'Left' => 'align_left',
'Center' => 'align_center',
'Right' => 'align_right',
) ,
'group' => esc_html__('Aspect', 'uncode-core')
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Inner Vertical Spacing", 'uncode-core') ,
"param_name" => "gutter_size",
"min" => 0,
"max" => 6,
"step" => 1,
"value" => 3,
"description" => esc_html__("Set the vertical rhythm between elements.", 'uncode-core') ,
'group' => esc_html__('Aspect', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Custom padding", 'uncode-core') ,
"param_name" => "override_padding",
"description" => esc_html__('Activate this to define custom paddings.', 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Extend height", 'uncode-core') ,
"param_name" => "expand_height",
"description" => esc_html__("Activate this to expand the height of the column to 100% when you have fluid content such as Maps. If you need to create equal height columns do not use this option but use the Rows > Columns > Columns Equal Height.", 'uncode-core') ,
'group' => esc_html__('Aspect', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom padding", 'uncode-core') ,
"param_name" => "column_padding",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the column padding", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"dependency" => Array(
'element' => "override_padding",
'value' => array(
'yes'
)
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Skin", 'uncode-core') ,
"param_name" => "style",
"value" => array(
esc_html__('Inherit', 'uncode-core') => '',
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
'group' => esc_html__('Style', 'uncode-core') ,
"description" => esc_html__("Specify the text/skin color of the column.", 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Font Family", 'uncode-core') ,
"param_name" => "font_family",
"description" => esc_html__("Specify the column font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
'group' => esc_html__('Style', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background Color", 'uncode-core') ,
"param_name" => "back_color",
"description" => esc_html__("Specify a background color for the column.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Style', 'uncode-core')
) ,
array(
"type" => "media_element",
"heading" => esc_html__("Background Media", 'uncode-core') ,
"param_name" => "back_image",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
'group' => esc_html__('Style', 'uncode-core')
) ,
$add_background_repeat,
$add_background_attachment,
$add_background_position,
$add_background_size,
array(
"type" => 'checkbox',
"heading" => esc_html__("Parallax *", 'uncode-core') ,
"param_name" => "parallax",
"description" => esc_html__("Activate the Parallax effect. NB. Not available with Slides Scroll and, for performance reasons, this option is disabled while working with the Frontend Editor.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"dependency" => Array(
'element' => "back_image",
'not_empty' => true
) ,
"group" => esc_html__("Style", 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Zoom effect", 'uncode-core') ,
"param_name" => "kburns",
"description" => esc_html__("Activate the Zoom effect you prefer.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core'),
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Ken Burns', 'uncode-core') => 'yes',
esc_html__('Zoom Out', 'uncode-core') => 'zoom'
) ,
"dependency" => array(
'element' => "back_image",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "overlay_color",
"description" => esc_html__("Specify an overlay color for the background.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "overlay_alpha",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the transparency for the overlay.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "overlay_color_blend",
"description" => esc_html__("Specify a blending mode. NB. IE and Edge still do not support it.", 'uncode-core') ,
"group" => esc_html__("Style", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => "css_editor",
"heading" => esc_html__('Css', 'uncode-core') ,
"param_name" => "css",
"group" => esc_html__('Custom', 'uncode-core'),
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Lateral border mobile", 'uncode-core') ,
"param_name" => "preserve_border",
"description" => esc_html__("By default, columns are stack on mobile, and lateral borders are hidden. Use this option to preserve custom lateral Borders on mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "preserve_border_tablet",
"description" => esc_html__("Use this option to preserve lateral borders on tablet.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "preserve_border_mobile",
"description" => esc_html__("Use this option to preserve lateral borders on Mobile.", 'uncode-core') ,
'group' => esc_html__('Custom', 'uncode-core'),
"value" => Array(
'' => 'yes'
) ,
"dependency" => array(
'element' => "preserve_border",
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border color", 'uncode-core') ,
"param_name" => "border_color",
"description" => esc_html__("Specify a border color.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $uncode_colors_w_transp,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border style", 'uncode-core') ,
"param_name" => "border_style",
"description" => esc_html__("Specify a border style.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $border_style,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift x-axis", 'uncode-core') ,
"param_name" => "shift_x",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the X axis.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift x-axis fixed", 'uncode-core') ,
"param_name" => "shift_x_fixed",
"description" => esc_html__("Deactive shift-x responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Shift y-axis", 'uncode-core') ,
"param_name" => "shift_y",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to shift in the Y axis. This works on the margin-top property.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shift y-axis fixed", 'uncode-core') ,
"param_name" => "shift_y_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Downward off-grid", 'uncode-core') ,
"param_name" => "shift_y_down",
"min" => - 5,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set how much the element has to move toward the element below.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Downward off-grid fixed", 'uncode-core') ,
"param_name" => "shift_y_down_fixed",
"description" => esc_html__("Deactive shift-y responsiveness.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Custom z-index", 'uncode-core') ,
"param_name" => "z_index",
"min" => 0,
"max" => 10,
"step" => 1,
"value" => 0,
"description" => esc_html__("Set a custom z-index to ensure the visibility of the element.", 'uncode-core') ,
'group' => esc_html__('Off-grid', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"heading" => "Tablet text alignment",
"type" => 'dropdown',
"param_name" => "align_medium",
"description" => esc_html__("Specify the text alignment inside the content box in tablet layout mode.", 'uncode-core') ,
"value" => array(
'Text align (Inherit)' => '',
'Left' => 'align_left_tablet',
'Center' => 'align_center_tablet',
'Right' => 'align_right_tablet',
) ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
array(
"heading" => "Tablet column width",
"type" => "type_numeric_slider",
"param_name" => "medium_width",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 0,
"description" => esc_html__("COLUMN WIDTH. NB. If you change this value for one column you must specify a value for every column of the row.", 'uncode-core') ,
"group" => esc_html__("Responsive", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"heading" => "Mobile text alignment",
"type" => 'dropdown',
"param_name" => "align_mobile",
"description" => esc_html__("Specify the text alignment inside the content box in mobile layout mode.", 'uncode-core') ,
"value" => array(
'Text align (Inherit)' => '',
'Left' => 'align_left_mobile',
'Center' => 'align_center_mobile',
'Right' => 'align_right_mobile',
) ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
array(
"heading" => "Mobile column width",
"type" => "type_numeric_slider",
"param_name" => "mobile_width",
"min" => 0,
"max" => 7,
"step" => 1,
"value" => 0,
"description" => esc_html__("COLUMN WIDTH. NB. If you change this value for one column you must specify a value for every column of the row.", 'uncode-core') ,
"group" => esc_html__("Responsive", 'uncode-core')
) ,
array(
"heading" => "Mobile minimum height",
"type" => "textfield",
"param_name" => "mobile_height",
"description" => esc_html__("MINIMUM HEIGHT. Insert the value in pixel.", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core')
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'vc_link',
'heading' => esc_html__('Custom link *', 'uncode-core') ,
'param_name' => 'link_to',
'description' => esc_html__('Enter a custom link for the column. NB. For performance reasons, this option is disabled while working with the Frontend Editor.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Sticky", 'uncode-core') ,
"param_name" => "sticky",
"description" => esc_html__("Activate this to stick the element when scrolling.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shadow", 'uncode-core') ,
"param_name" => "shadow",
"description" => esc_html__("Activate this for the shadow effect.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => array(
esc_html__('Disabled', 'uncode-core') => '',
esc_html__('None', 'uncode-core') => 'none',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow Darker", 'uncode-core') ,
"param_name" => "shadow_darker",
"description" => esc_html__("Activate this for the dark shadow effect.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Extra", 'uncode-core') ,
'dependency' => array(
'element' => 'shadow',
'not_empty' => true
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border radius", 'uncode-core') ,
"param_name" => "radius",
"description" => esc_html__("Specify the border radius effect.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
"type" => "textfield",
"heading" => esc_html__("Extra class", 'uncode-core') ,
"param_name" => "el_class",
"description" => esc_html__("If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core')
) ,
) ,
"js_view" => 'UncodeColumnView'
));
/* Gallery/Slideshow
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Media Gallery', 'uncode-core') ,
'base' => 'vc_gallery',
'php_class_name' => 'uncode_generic_admin',
'weight' => 990,
'icon' => 'fa fa-th-large',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Masonry Grid or Carosuel', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core') ,
'admin_label' => true,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Unique ID', 'uncode-core') ,
'param_name' => 'el_id',
'value' => (function_exists('uncode_big_rand')) ? uncode_big_rand() : rand() ,
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Layout Mode', 'uncode-core') ,
'param_name' => 'type',
'value' => array(
esc_html__('Isotope', 'uncode-core') => 'isotope',
esc_html__('Carousel', 'uncode-core') => 'carousel',
esc_html__('Justified gallery', 'uncode-core') => 'justified',
) ,
'admin_label' => true,
'description' => esc_html__('Specify the module layout mode.', 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Layout mode', 'uncode-core') ,
'param_name' => 'isotope_mode',
'admin_label' => true,
"description" => wp_kses(__("Specify the module layout mode. <a href='http://isotope.metafizzy.co/layout-modes.html' target='_blank'>Check this for reference</a>", 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) ,
"value" => array(
esc_html__('Masonry', 'uncode-core') => 'masonry',
esc_html__('Fit rows', 'uncode-core') => 'fitRows',
esc_html__('Cells by row', 'uncode-core') => 'cellsByRow',
esc_html__('Vertical', 'uncode-core') => 'vertical',
esc_html__('Packery', 'uncode-core') => 'packery',
) ,
'group' => esc_html__('General', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Random order", 'uncode-core') ,
"param_name" => "random",
"description" => esc_html__("Activate this to have a media random order.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("General", 'uncode-core') ,
) ,
array(
'type' => 'media_element',
'heading' => esc_html__('Media', 'uncode-core') ,
'param_name' => 'medias',
'has_galleries' => true,
"edit_field_class" => 'vc_column uncode_gallery',
'value' => '',
'description' => esc_html__('Specify images from Media Library.', 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Explode albums", 'uncode-core') ,
"param_name" => "explode_albums",
"description" => esc_html__("Activate to treat gallery elements as single media part of a unique gallery.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'group' => esc_html__('General', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Style", 'uncode-core') ,
"param_name" => "style_preset",
"description" => esc_html__("Select the visualization mode.", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
"value" => array(
esc_html__('Masonry', 'uncode-core') => 'masonry',
esc_html__('Metro', 'uncode-core') => 'metro',
) ,
'group' => esc_html__('Module', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Gallery background color", 'uncode-core') ,
"param_name" => "gallery_back_color",
"description" => esc_html__("Specify a background color for the module.", 'uncode-core') ,
"class" => 'uncode_colors',
"value" => $uncode_colors,
'group' => esc_html__('Module', 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Items Desktop', 'uncode-core') ,
'param_name' => 'carousel_lg',
'value' => 3,
'description' => esc_html__('Insert the numbers of columns for the viewport from 960px.', 'uncode-core') ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Items Tablet', 'uncode-core') ,
'param_name' => 'carousel_md',
'value' => 3,
'description' => esc_html__('Insert the numbers of columns for the viewport from 570px to 960px.', 'uncode-core') ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Items Device', 'uncode-core') ,
'param_name' => 'carousel_sm',
'value' => 1,
'description' => esc_html__('Insert the numbers of columns for the viewport from 0 to 570px.', 'uncode-core') ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Row height', 'uncode-core') ,
'param_name' => 'justify_row_height',
'value' => 250,
'description' => esc_html__('The preferred height of rows in pixel.', 'uncode-core'),
'dependency' => array(
'element' => 'type',
'value' => array(
'justified',
) ,
) ,
'group' => esc_html__('Module', 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Optional max row height', 'uncode-core') ,
'param_name' => 'justify_max_row_height',
'value' => '',
'description' => esc_html__('The preferred maximum height of rows in pixel. Note that with this option can crop the images if they need to be higher to be justified.', 'uncode-core'),
'dependency' => array(
'element' => 'type',
'value' => array(
'justified',
) ,
) ,
'group' => esc_html__('Module', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Justify last row", 'uncode-core') ,
"param_name" => "justify_last_row",
"description" => esc_html__("Decide to justify the last row, to hide it if it can't be justified or to align them to the left, center or right", 'uncode-core') ,
"value" => array(
esc_html__('Default (no justisfied, left aligned)', 'uncode-core') => 'nojustify',
esc_html__('Hide', 'uncode-core') => 'hide',
esc_html__('Align to the center', 'uncode-core') => 'center',
esc_html__('Align to the right', 'uncode-core') => 'right',
) ,
"std" => "nojustify",
'dependency' => array(
'element' => 'type',
'value' => array(
'justified',
) ,
) ,
'group' => esc_html__('Module', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Thumbnail size', 'uncode-core') ,
'param_name' => 'thumb_size',
'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode-core') ,
"value" => array(
esc_html__('Regular', 'uncode-core') => '',
'1:1' => 'one-one',
'2:1' => 'two-one',
'3:2' => 'three-two',
'4:3' => 'four-three',
'10:3' => 'ten-three',
'16:9' => 'sixteen-nine',
'21:9' => 'twentyone-nine',
'1:2' => 'one-two',
'2:3' => 'two-three',
'3:4' => 'three-four',
'3:10' => 'three-ten',
'9:16' => 'nine-sixteen',
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filtering", 'uncode-core') ,
"param_name" => "filtering",
"description" => esc_html__("Activate this to add the isotope filtering.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array('isotope', 'justified'),
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Filter skin", 'uncode-core') ,
"param_name" => "filter_style",
"description" => esc_html__("Specify the filter skin color.", 'uncode-core') ,
"value" => array(
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Filter menu color", 'uncode-core') ,
"param_name" => "filter_back_color",
"description" => esc_html__("Specify a background color for the filter menu.", 'uncode-core') ,
"class" => 'uncode_colors',
"value" => $uncode_colors,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filter menu full width", 'uncode-core') ,
"param_name" => "filtering_full_width",
"description" => esc_html__("Activate this to force the full width of the filter.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Filter menu position", 'uncode-core') ,
"param_name" => "filtering_position",
"description" => esc_html__("Specify the filter menu positioning.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Center', 'uncode-core') => 'center',
esc_html__('Right', 'uncode-core') => 'right',
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("'Show All' opposite", 'uncode-core') ,
"param_name" => "filter_all_opposite",
"description" => esc_html__("Activate this to position the 'Show All' button opposite to the rest.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
'dependency' => array(
'element' => 'filtering_position',
'value' => array(
'left',
'right'
)
) ,
) ,
array(
"type" => "textfield",
"heading" => esc_html__("'Show All' text", 'uncode-core') ,
"param_name" => "filter_all_text",
"description" => esc_html__("Specify the button label. NB. The default is 'Show All'.", 'uncode-core') ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filter menu uppercase", 'uncode-core') ,
"param_name" => "filtering_uppercase",
"description" => esc_html__("Activate this to have the filter menu in uppercase.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filter menu mobile hidden", 'uncode-core') ,
"param_name" => "filter_mobile",
"description" => esc_html__("Activate this to hide the filter menu in mobile mode.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filter scroll", 'uncode-core') ,
"param_name" => "filter_scroll",
"description" => esc_html__("Activate this to scroll to the module when filtering.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Filter sticky", 'uncode-core') ,
"param_name" => "filter_sticky",
"description" => esc_html__("Activate this to have a sticky filter menu when scrolling.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'isotope',
) ,
'dependency' => array(
'element' => 'filtering',
'value' => 'yes',
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Items gap", 'uncode-core') ,
"param_name" => "gutter_size",
"min" => 0,
"max" => 6,
"step" => 1,
"value" => 3,
"description" => esc_html__("Set the items gap.", 'uncode-core') ,
"group" => esc_html__("Module", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Inner Padding", 'uncode-core') ,
"param_name" => "inner_padding",
"description" => esc_html__("Activate this to have an inner padding with the same size as the items gap.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
'carousel',
) ,
) ,
) ,
array(
'type' => 'sorted_list',
'heading' => esc_html__('Media', 'uncode-core') ,
'param_name' => 'media_items',
'description' => esc_html__('Enable or disable elements and place them in desired order.', 'uncode-core') ,
'value' => 'media|lightbox|original,icon',
"group" => esc_html__("Module", 'uncode-core') ,
'options' => array(
array(
'media',
esc_html__('Media', 'uncode-core') ,
array(
array(
'lightbox',
esc_html__('Lightbox', 'uncode-core')
) ,
array(
'custom_link',
esc_html__('Custom link', 'uncode-core')
) ,
array(
'nolink',
esc_html__('No link', 'uncode-core')
)
) ,
array(
array(
'original',
esc_html__('Original', 'uncode-core')
) ,
array(
'poster',
esc_html__('Poster', 'uncode-core')
)
)
) ,
array(
'icon',
esc_html__('Icon', 'uncode-core') ,
array(
array(
'',
esc_html__('Small', 'uncode-core')
) ,
array(
'md',
esc_html__('Medium', 'uncode-core')
) ,
array(
'lg',
esc_html__('Large', 'uncode-core')
),
array(
'xl',
esc_html__('Extra Large', 'uncode-core')
)
) ,
) ,
array(
'title',
esc_html__('Title', 'uncode-core') ,
) ,
array(
'caption',
esc_html__('Caption', 'uncode-core') ,
) ,
array(
'description',
esc_html__('Description', 'uncode-core') ,
) ,
array(
'category',
esc_html__('Category', 'uncode-core') ,
) ,
array(
'spacer',
esc_html__('Spacer One', 'uncode-core') ,
array(
array(
'half',
esc_html__('0.5x', 'uncode-core')
) ,
array(
'one',
esc_html__('1x', 'uncode-core')
) ,
array(
'two',
esc_html__('2x', 'uncode-core')
)
)
) ,
array(
'spacer_two',
esc_html__('Spacer Two', 'uncode-core') ,
array(
array(
'half',
esc_html__('0.5x', 'uncode-core')
) ,
array(
'one',
esc_html__('1x', 'uncode-core')
) ,
array(
'two',
esc_html__('2x', 'uncode-core')
)
)
) ,
array(
'sep-one',
esc_html__('Separator One', 'uncode-core') ,
array(
array(
'full',
esc_html__('Full width', 'uncode-core')
) ,
array(
'reduced',
esc_html__('Reduced width', 'uncode-core')
),
array(
'extra',
esc_html__('Extra full width', 'uncode-core')
)
)
) ,
array(
'sep-two',
esc_html__('Separator Two', 'uncode-core') ,
array(
array(
'full',
esc_html__('Full width', 'uncode-core')
) ,
array(
'reduced',
esc_html__('Reduced width', 'uncode-core')
),
array(
'extra',
esc_html__('Extra full width', 'uncode-core')
)
)
) ,
array(
'team-social',
esc_html__('Team socials', 'uncode-core') ,
) ,
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Items height", 'uncode-core') ,
"param_name" => "carousel_height",
"description" => esc_html__("Specify the carousel items height.", 'uncode-core') ,
"value" => array(
esc_html__('Auto', 'uncode-core') => '',
esc_html__('Equal height', 'uncode-core') => 'equal',
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'thumb_size',
'value' => array(
'',
'one-one',
'two-one',
'three-two',
'four-three',
'ten-three',
'sixteen-nine',
'twentyone-nine',
'one-two',
'two-three',
'three-four',
'three-ten',
'nine-sixteen',
),
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Items vertical alignment", 'uncode-core') ,
"param_name" => "carousel_v_align",
"description" => esc_html__("Specify the items vertical alignment.", 'uncode-core') ,
"value" => array(
esc_html__('Top', 'uncode-core') => '',
esc_html__('Middle', 'uncode-core') => 'middle',
esc_html__('Bottom', 'uncode-core') => 'bottom'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
'dependency' => array(
'element' => 'carousel_height',
'is_empty' => true,
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Transition type', 'uncode-core') ,
'param_name' => 'carousel_type',
"value" => array(
esc_html__('Slide', 'uncode-core') => '',
esc_html__('Fade', 'uncode-core') => 'fade'
) ,
'description' => esc_html__('Specify the transition type.', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
'group' => esc_html__('Module', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Auto rotate slides', 'uncode-core') ,
'param_name' => 'carousel_interval',
'value' => array(
3000,
5000,
10000,
15000,
esc_html__('Disable', 'uncode-core') => 0
) ,
'description' => esc_html__('Specify the automatic timeout between slides in milliseconds.', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
'group' => esc_html__('Module', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Navigation speed', 'uncode-core') ,
'param_name' => 'carousel_navspeed',
'value' => array(
200,
400,
700,
1000,
esc_html__('Disable', 'uncode-core') => 0
) ,
'std' => 400,
'description' => esc_html__('Specify the navigation speed between slides in milliseconds.', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
'group' => esc_html__('Module', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Loop", 'uncode-core') ,
"param_name" => "carousel_loop",
"description" => esc_html__("Activate the loop option to make the carousel infinite.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Overflow visible", 'uncode-core') ,
"param_name" => "carousel_overflow",
"description" => esc_html__("Activate this option to make the element overflow its container (get rid of the cropping area).", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Navigation", 'uncode-core') ,
"param_name" => "carousel_nav",
"description" => esc_html__("Activate the navigation to show navigational arrows.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_overflow',
'is_empty' => true,
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Navigation Mobile", 'uncode-core') ,
"param_name" => "carousel_nav_mobile",
"description" => esc_html__("Activate the navigation to show navigational arrows for mobile devices.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_overflow',
'is_empty' => true,
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Navigation skin", 'uncode-core') ,
"param_name" => "carousel_nav_skin",
"description" => esc_html__("Specify the navigation arrows skin.", 'uncode-core') ,
"value" => array(
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_overflow',
'is_empty' => true,
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Dots navigation", 'uncode-core') ,
"param_name" => "carousel_dots",
"description" => esc_html__("Activate the dots navigation to show navigational dots in the bottom.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Dots Navigation Extra Top", 'uncode-core') ,
"param_name" => "carousel_dots_space",
"description" => esc_html__("Activate this to add extra top space to the Navigation Dots.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'std' => '',
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_dots',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Dots Navigation Mobile", 'uncode-core') ,
"param_name" => "carousel_dots_mobile",
"description" => esc_html__("Activate the dots navigation to show navigational dots in the bottom for mobile devices.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Dots navigation inside", 'uncode-core') ,
"param_name" => "carousel_dots_inside",
"description" => esc_html__("Activate to have the dots navigation inside the carousel.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Dots Navigation Position', 'uncode-core') ,
'param_name' => 'carousel_dot_position',
"value" => array(
esc_html__('Center', 'uncode-core') => '',
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Right', 'uncode-core') => 'right',
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'description' => esc_html__('Specify the position of dots.', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Dots Navigation Padding", 'uncode-core') ,
"param_name" => "carousel_dot_padding",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the distance from the carousel horizontal edge", 'uncode-core') ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_dots_inside',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Autoheight", 'uncode-core') ,
"param_name" => "carousel_autoh",
"description" => esc_html__("Activate to adjust the height automatically when possible.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'thumb_size',
'value' => array(
'',
'one-one',
'two-one',
'three-two',
'four-three',
'ten-three',
'sixteen-nine',
'twentyone-nine',
'one-two',
'two-three',
'three-four',
'three-ten',
'nine-sixteen',
),
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Textual carousel", 'uncode-core') ,
"param_name" => "carousel_textual",
"description" => esc_html__("Activate this to have a carousel with only text.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Hide quotes", 'uncode-core') ,
"param_name" => "hide_quotes",
"description" => esc_html__("Activate this to hide the automatic quotes.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'carousel_textual',
'value' => 'yes',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Off-Grid", 'uncode-core') ,
"param_name" => "off_grid",
"description" => esc_html__("Activate this to put odd or even elements Off-Grid.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'std' => '',
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'isotope_mode',
'value' => array(
'masonry',
'packery'
),
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Select the set of items to shift.", 'uncode-core') ,
"param_name" => "off_grid_element",
"description" => esc_html__("Select what item to put Off-Grid.", 'uncode-core') ,
'value' => array(
esc_html__('Odd', 'uncode-core') => 'odd',
esc_html__('Even', 'uncode-core') => 'even',
esc_html__('Custom', 'uncode-core') => 'custom'
) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'off_grid',
'not_empty' => true,
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Off-Grid custom value', 'uncode-core') ,
'param_name' => 'off_grid_custom',
'value' => '0,2',
'description' => wp_kses(__('Enter a number or a series of comma separated numbers.<br />NB. The first element is identified by 0.', 'uncode-core'), array( 'br' => array( ) ) ) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'off_grid_element',
'value' => array(
'custom',
) ,
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Off-Grid value", 'uncode-core') ,
"param_name" => "off_grid_val",
"min" => 1,
"max" => 7,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the shift value.", 'uncode-core') ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'off_grid',
'not_empty' => true,
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Breakpoint - First step', 'uncode-core') ,
'param_name' => 'screen_lg',
'value' => 1000,
'description' => wp_kses(__('Insert the isotope large layout breakpoint in pixel.<br />NB. This is referring to the width of the isotope container, not to the window width.', 'uncode-core'), array( 'br' => array( ) ) ) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Breakpoint - Second step', 'uncode-core') ,
'param_name' => 'screen_md',
'value' => 600,
'description' => wp_kses(__('Insert the isotope medium layout breakpoint in pixel.<br />NB. This is referring to the width of the isotope container, not to the window width.', 'uncode-core'), array( 'br' => array( ) ) ) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Breakpoint - Third step', 'uncode-core') ,
'param_name' => 'screen_sm',
'value' => 480,
'description' => wp_kses(__('Insert the isotope small layout breakpoint in pixel.<br />NB. This is referring to the width of the isotope container, not to the window width.', 'uncode-core'), array( 'br' => array( ) ) ) ,
'group' => esc_html__('Module', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Not Active Items Transparent", 'uncode-core') ,
"param_name" => "carousel_half_opacity",
"description" => esc_html__("Activate this option to make semitransparent not active items.", 'uncode-core') ,
"std" => '',
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Not active items scaled", 'uncode-core') ,
"param_name" => "carousel_scaled",
"description" => esc_html__("Activate this option to scale not active items.", 'uncode-core') ,
"std" => '',
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Not Active Items Not Clickable", 'uncode-core') ,
"param_name" => "carousel_pointer_events",
"description" => esc_html__("Activate this option to make Not Active Items Not Clickable.", 'uncode-core') ,
"std" => '',
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Stage padding", 'uncode-core') ,
"description" => esc_html__("Activate this option to add left and right padding style onto stage-wrapper.", 'uncode-core') ,
"param_name" => "stage_padding",
"min" => 0,
"max" => 75,
"step" => 5,
"value" => 0,
"group" => esc_html__("Module", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel',
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Block layout", 'uncode-core') ,
"param_name" => "single_text",
"description" => esc_html__("Specify the text positioning inside the box.", 'uncode-core') ,
"value" => array(
esc_html__('Content overlay', 'uncode-core') => 'overlay',
esc_html__('Content under image', 'uncode-core') => 'under'
) ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope','carousel'
) ,
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Width", 'uncode-core') ,
"param_name" => "single_width",
"description" => esc_html__("Specify the box width.", 'uncode-core') ,
"value" => $units,
"std" => "4",
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Height", 'uncode-core') ,
"param_name" => "single_height",
"description" => esc_html__("Specify the box height.", 'uncode-core') ,
"value" => array(
esc_html__("Default", 'uncode-core') => ""
) + $units,
"std" => "",
'group' => esc_html__('Blocks', 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => array(
'isotope',
) ,
) ,
'dependency' => array(
'element' => 'style_preset',
'value' => 'metro',
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Aspect ratio', 'uncode-core') ,
'param_name' => 'images_size',
'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode-core') ,
"value" => array(
esc_html__('Regular', 'uncode-core') => '',
'1:1' => 'one-one',
'2:1' => 'two-one',
'3:2' => 'three-two',
'4:3' => 'four-three',
'10:3' => 'ten-three',
'16:9' => 'sixteen-nine',
'21:9' => 'twentyone-nine',
'1:2' => 'one-two',
'2:3' => 'two-three',
'3:4' => 'three-four',
'3:10' => 'three-ten',
'9:16' => 'nine-sixteen',
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
'dependency' => array(
'element' => 'style_preset',
'value' => 'masonry',
) ,
'admin_label' => true,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "single_back_color",
"description" => esc_html__("Specify a background color for the box.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Shape', 'uncode-core') ,
'param_name' => 'single_shape',
'value' => array(
esc_html__('Select…', 'uncode-core') => '',
esc_html__('Rounded', 'uncode-core') => 'round',
esc_html__('Circular', 'uncode-core') => 'circle'
) ,
'description' => esc_html__('Specify one if you want to shape the block.', 'uncode-core') ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border radius", 'uncode-core') ,
"param_name" => "radius",
"description" => esc_html__("Specify the border radius effect.", 'uncode-core') ,
'group' => esc_html__('Blocks', 'uncode-core') ,
'std' => '',
"value" => array(
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => ' ',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
),
"std" => ' ',
'dependency' => array(
'element' => 'single_shape',
'value' => 'round'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Skin", 'uncode-core') ,
"param_name" => "single_style",
"description" => esc_html__("Specify the skin inside the content box.", 'uncode-core') ,
"value" => array(
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "single_overlay_color",
"description" => esc_html__("Specify a background color for the box.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay coloration", 'uncode-core') ,
"param_name" => "single_overlay_coloration",
"description" => wp_kses(__("Specify the coloration style for the overlay.<br />NB. For the gradient you can't customize the overlay color.", 'uncode-core'), array( 'br' => array( ) ) ) ,
"value" => array(
esc_html__('Fully colored', 'uncode-core') => '',
esc_html__('Gradient top', 'uncode-core') => 'top_gradient',
esc_html__('Gradient bottom', 'uncode-core') => 'bottom_gradient',
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "single_overlay_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
'group' => esc_html__('Blocks', 'uncode-core'),
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "single_overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "single_overlay_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the overlay opacity.", 'uncode-core') ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text visibility", 'uncode-core') ,
"param_name" => "single_text_visible",
"description" => esc_html__("Activate this to show the text as starting point.", 'uncode-core') ,
"value" => array(
esc_html__('Hidden', 'uncode-core') => 'no',
esc_html__('Visible', 'uncode-core') => 'yes',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text animation", 'uncode-core') ,
"param_name" => "single_text_anim",
"description" => esc_html__("Activate this to animate the text on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text animation type", 'uncode-core') ,
"param_name" => "single_text_anim_type",
"description" => esc_html__("Specify the animation type.", 'uncode-core') ,
"value" => array(
esc_html__('Opacity', 'uncode-core') => '',
esc_html__('Bottom to top', 'uncode-core') => 'btt',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'single_text_anim',
'value' => 'yes',
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay visibility", 'uncode-core') ,
"param_name" => "single_overlay_visible",
"description" => esc_html__("Activate this to show the overlay as starting point.", 'uncode-core') ,
"value" => array(
esc_html__('Hidden', 'uncode-core') => 'no',
esc_html__('Visible', 'uncode-core') => 'yes',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay animation", 'uncode-core') ,
"param_name" => "single_overlay_anim",
"description" => esc_html__("Activate this to animate the overlay on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image coloration", 'uncode-core') ,
"param_name" => "single_image_coloration",
"description" => esc_html__("Specify the image coloration mode.", 'uncode-core') ,
"value" => array(
esc_html__('Standard', 'uncode-core') => '',
esc_html__('Desaturated', 'uncode-core') => 'desaturated',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image coloration animation", 'uncode-core') ,
"param_name" => "single_image_color_anim",
"description" => esc_html__("Activate this to animate the image coloration on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Static', 'uncode-core') => '',
esc_html__('Animated', 'uncode-core') => 'yes',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image animation", 'uncode-core') ,
"param_name" => "single_image_anim",
"description" => esc_html__("Activate this to animate the image on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Image Animation Mouse Move", 'uncode-core') ,
"param_name" => "single_image_anim_move",
"description" => esc_html__("Activate this to animate the image on the mouse move.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'single_image_anim',
'value' => array('yes'),
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text Alignment", 'uncode-core') ,
"param_name" => "single_h_align",
"description" => esc_html__("Specify the horizontal alignment.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Center', 'uncode-core') => 'center',
esc_html__('Right', 'uncode-core') => 'right',
esc_html__('Justify', 'uncode-core') => 'justify'
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content vertical position", 'uncode-core') ,
"param_name" => "single_v_position",
"description" => esc_html__("Specify the text vertical position.", 'uncode-core') ,
"value" => array(
esc_html__('Middle', 'uncode-core') => '',
esc_html__('Top', 'uncode-core') => 'top',
esc_html__('Bottom', 'uncode-core') => 'bottom'
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content width reduced", 'uncode-core') ,
"param_name" => "single_reduced",
"description" => esc_html__("Specify the text reduction amount to shrink the overlay content dimension.", 'uncode-core') ,
"value" => array(
esc_html__('100%', 'uncode-core') => '',
esc_html__('75%', 'uncode-core') => 'three_quarter',
esc_html__('50%', 'uncode-core') => 'half',
esc_html__('Limit Width', 'uncode-core') => 'limit-width',
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Content Width Preserved Device", 'uncode-core') ,
"param_name" => "single_reduced_mobile",
"description" => esc_html__("Activate this to have 100% content wide on mobile devices.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'single_reduced',
'value' => array('three_quarter', 'half'),
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content horizontal position", 'uncode-core') ,
"param_name" => "single_h_position",
"description" => esc_html__("Specify the text horizontal position.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Center', 'uncode-core') => 'center',
esc_html__('Right', 'uncode-core') => 'right'
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
'dependency' => array(
'element' => 'single_reduced',
'not_empty' => true,
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Text Padding", 'uncode-core') ,
"param_name" => "single_padding",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the text padding", 'uncode-core') ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Inner Elements Reduced Gap", 'uncode-core') ,
"param_name" => "single_text_reduced",
"description" => esc_html__("Activate this to have less space between all the text elements inside the box.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Multiple click areas", 'uncode-core') ,
"param_name" => "single_elements_click",
"description" => esc_html__("Activate this to make every single elements clickable instead of the whole block (when available).", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'single_text',
'value' => 'overlay',
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title font family", 'uncode-core') ,
"param_name" => "single_title_family",
"description" => esc_html__("Specify the title font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title size", 'uncode-core') ,
"param_name" => "single_title_dimension",
"description" => esc_html__("Specify the title dimension.", 'uncode-core') ,
"value" => $heading_size,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title font weight", 'uncode-core') ,
"param_name" => "single_title_weight",
"description" => esc_html__("Specify the title font weight.", 'uncode-core') ,
"value" => $heading_weight,
'std' => '',
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title text transform", 'uncode-core') ,
"param_name" => "single_title_transform",
"description" => esc_html__("Specify the title text transformation.", 'uncode-core') ,
"value" => array(
esc_html__('Default CSS', 'uncode-core') => '',
esc_html__('Uppercase', 'uncode-core') => 'uppercase',
esc_html__('Lowercase', 'uncode-core') => 'lowercase',
esc_html__('Capitalize', 'uncode-core') => 'capitalize'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title line height", 'uncode-core') ,
"param_name" => "single_title_height",
"description" => esc_html__("Specify the title line height.", 'uncode-core') ,
"value" => $heading_height,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title letter spacing", 'uncode-core') ,
"param_name" => "single_title_space",
"description" => esc_html__("Specify the title letter spacing.", 'uncode-core') ,
"value" => $heading_space,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'single_icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'value' => '',
'settings' => array(
'emptyIcon' => true,
// default true, display an "EMPTY" icon?
'iconsPerPage' => 1100,
// default 100, how many icons per/page to display
'type' => 'uncode'
) ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
'type' => 'vc_link',
'heading' => esc_html__('Custom link', 'uncode-core') ,
'param_name' => 'single_link',
'description' => esc_html__('Enter the custom link for the item.', 'uncode-core') ,
'group' => esc_html__('Blocks', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow", 'uncode-core') ,
"param_name" => "single_shadow",
"description" => esc_html__("Activate this for the shadow effect.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shadow type", 'uncode-core') ,
"param_name" => "shadow_weight",
"description" => esc_html__("Specify the shadow option preset.", 'uncode-core') ,
"group" => esc_html__("Blocks", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
'dependency' => array(
'element' => 'single_shadow',
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow Darker", 'uncode-core') ,
"param_name" => "shadow_darker",
"description" => esc_html__("Activate this for the dark shadow effect.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'single_shadow',
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No border", 'uncode-core') ,
"param_name" => "single_border",
"description" => esc_html__("Activate this to remove the border around the block.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
) ,
array_merge($add_css_animation, array(
"group" => esc_html__("Blocks", 'uncode-core') ,
"param_name" => 'single_css_animation'
)) ,
array_merge($add_animation_speed, array(
"group" => esc_html__("Blocks", 'uncode-core') ,
"param_name" => 'single_animation_speed',
'dependency' => array(
'element' => 'single_css_animation',
'not_empty' => true
)
)) ,
array_merge($add_animation_delay, array(
"group" => esc_html__("Blocks", 'uncode-core') ,
"param_name" => 'single_animation_delay',
'dependency' => array(
'element' => 'single_css_animation',
'not_empty' => true
)
)) ,
array(
"type" => "checkbox",
"heading" => esc_html__("Animation first items", 'uncode-core') ,
"description" => esc_html__("Animate only the first items.", 'uncode-core') ,
"param_name" => "single_animation_first",
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Blocks", 'uncode-core') ,
'dependency' => array(
'element' => 'type',
'value' => 'carousel' ,
) ,
) ,
array(
'type' => 'uncode_items',
'heading' => 'Items List',
'param_name' => 'items',
'description' => esc_html__('Edit single items.') ,
'group' => esc_html__('Single', 'uncode-core') ,
'dependency' => array(
'element' => 'explode_albums',
'is_empty' => true
)
) ,
array(
'type' => 'dropdown',
'heading' => 'Skin',
'param_name' => 'lbox_skin',
'value' => array(
esc_html__('Dark', 'uncode-core') => '',
esc_html__('Light', 'uncode-core') => 'white',
) ,
'description' => esc_html__('Specify the lightbox skin color.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => 'Direction',
'param_name' => 'lbox_dir',
'value' => array(
esc_html__('Horizontal', 'uncode-core') => '',
esc_html__('Vertical', 'uncode-core') => 'vertical',
) ,
'description' => esc_html__('Specify the lightbox sliding direction.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Title", 'uncode-core') ,
"param_name" => "lbox_title",
"description" => esc_html__("Activate this to add the media title.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Caption", 'uncode-core') ,
"param_name" => "lbox_caption",
"description" => esc_html__("Activate this to add the media caption.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Social", 'uncode-core') ,
"param_name" => "lbox_social",
"description" => esc_html__("Activate this for the social sharing buttons.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Deeplinking", 'uncode-core') ,
"param_name" => "lbox_deep",
"description" => esc_html__("Activate this for the deeplinking of every slide.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No thumbnails", 'uncode-core') ,
"param_name" => "lbox_no_tmb",
"description" => esc_html__("Activate this for not showing the thumbnails.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No arrows", 'uncode-core') ,
"param_name" => "lbox_no_arrows",
"description" => esc_html__("Activate this for not showing the navigation arrows.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Remove double tap", 'uncode-core') ,
"param_name" => "no_double_tap",
"description" => esc_html__("Remove the double tap action on mobile. This doesn't work with lightbox.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Mobile", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core')
)
)
));
/* Text Block
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Text Block', 'uncode-core') ,
'base' => 'vc_column_text',
'weight' => 975,
'icon' => 'fa fa-font',
'wrapper_class' => 'clearfix',
'php_class_name' => 'uncode_generic_admin',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Basic Block of Text', 'uncode-core') ,
'params' => array(
array(
'type' => 'textarea_html',
'holder' => 'div',
'heading' => esc_html__('Text', 'uncode-core') ,
'param_name' => 'content',
'value' => wp_kses(__('<p>I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>', 'uncode-core'), array( 'p' => array()))
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Text large", 'uncode-core') ,
"param_name" => "text_lead",
"description" => esc_html__("Activate if you want to enlarge the font size.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'css_editor',
'heading' => esc_html__('Css', 'uncode-core') ,
'param_name' => 'css',
'group' => esc_html__('Custom', 'uncode-core')
),
array(
"type" => "dropdown",
"heading" => esc_html__("Border color", 'uncode-core') ,
"param_name" => "border_color",
"description" => esc_html__("Specify a border color.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $uncode_colors_w_transp,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border style", 'uncode-core') ,
"param_name" => "border_style",
"description" => esc_html__("Specify a border style.", 'uncode-core') ,
"group" => esc_html__("Custom", 'uncode-core') ,
"value" => $border_style,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
) ,
'js_view' => 'UncodeTextView'
));
/* Separator (Divider)
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Divider', 'uncode-core') ,
'base' => 'vc_separator',
'weight' => 935,
'icon' => 'fa fa-arrows-h',
'show_settings_on_create' => true,
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Horizontal Divider', 'uncode-core') ,
'params' => array(
array(
"type" => "dropdown",
"heading" => esc_html__("Color", 'uncode-core') ,
"param_name" => "sep_color",
"description" => esc_html__("Separator color.", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'value' => '',
'settings' => array(
'emptyIcon' => true,
'iconsPerPage' => 1100,
'type' => 'uncode'
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Icon position', 'uncode-core') ,
'param_name' => 'icon_position',
'value' => array(
esc_html__('Center', 'uncode-core') => '',
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Right', 'uncode-core') => "right"
) ,
'description' => esc_html__('Specify title location.', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Style', 'uncode-core') ,
'param_name' => 'type',
'value' => array(
esc_html__('Border', 'uncode-core') => '',
esc_html__('Dashed', 'uncode-core') => 'dashed',
esc_html__('Dotted', 'uncode-core') => 'dotted',
//esc_html__('Double', 'uncode-core') => 'double',
) ,
'description' => esc_html__('Separator style.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Custom width', 'uncode-core') ,
'param_name' => 'el_width',
'description' => esc_html__('Insert the custom value in % or px.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Custom thickness', 'uncode-core') ,
'param_name' => 'el_height',
'description' => esc_html__('Insert the custom value in em or px. This option can\'t be used with the separator with the icon.', 'uncode-core') ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Activate scroll to top', 'uncode-core') ,
'param_name' => 'scroll_top',
'description' => esc_html__('Activate if you want the scroll top function with the icon.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'icon',
'not_empty' => true
) ,
) ,
array(
'type' => 'vc_link',
'heading' => esc_html__('URL (Link)', 'uncode-core') ,
'param_name' => 'link',
'description' => esc_html__('Separator link.', 'uncode-core') ,
'dependency' => array(
'element' => 'icon',
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
/* Message box
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Message Box', 'uncode-core') ,
'base' => 'vc_message',
'weight' => 870,
//'php_class_name' => 'uncode_message',
'icon' => 'fa fa-info',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Notification Element', 'uncode-core') ,
'params' => array(
array(
'type' => 'dropdown',
'heading' => esc_html__('Message box color', 'uncode-core') ,
'param_name' => 'message_color',
'admin_label' => true,
'value' => $uncode_colors,
'description' => esc_html__('Specify message box color.', 'uncode-core') ,
'param_holder_class' => 'vc_message-type'
) ,
array(
'type' => 'textarea_html',
'class' => 'messagebox_text',
'param_name' => 'content',
'heading' => esc_html__('Message text', 'uncode-core') ,
'value' => wp_kses(__('<p>I am message box. Click edit button to change this text.</p>', 'uncode-core'), array( 'p' => array()))
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
) ,
));
/* Single image */
vc_map(array(
'name' => esc_html__('Single Media', 'uncode-core') ,
'base' => 'vc_single_image',
'icon' => 'fa fa-image',
'weight' => 985,
'php_class_name' => 'uncode_generic_admin',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Simple Media Item', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
"type" => "media_element",
"heading" => esc_html__("Media", 'uncode-core') ,
"param_name" => "media",
"value" => "",
"description" => esc_html__("Specify a media from the Media Library.", 'uncode-core') ,
"admin_label" => true
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Caption", 'uncode-core') ,
"param_name" => "caption",
"description" => 'Activate to have the caption under the image.',
"value" => array(
'' => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Lightbox', 'uncode-core') ,
'param_name' => 'media_lightbox',
'description' => esc_html__('Activate if you want to open the media in the lightbox.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Poster', 'uncode-core') ,
'param_name' => 'media_poster',
'description' => esc_html__('Activate if you want to view the poster image instead (this is usefull for other media than images with the use of the lightbox).', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'vc_link',
'heading' => esc_html__('URL (Link)', 'uncode-core') ,
'param_name' => 'media_link',
'description' => esc_html__('Enter URL if you want this image to have a link.', 'uncode-core') ,
'dependency' => array(
'element' => 'media_link_large',
'is_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Width unit", 'uncode-core') ,
"param_name" => "media_width_use_pixel",
"description" => 'Set this value if you want to constrain the media width.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Width", 'uncode-core') ,
"param_name" => "media_width_percent",
"min" => 0,
"max" => 100,
"step" => 1,
"value" => 100,
"description" => esc_html__("Set the media width with a percent value.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'media_width_use_pixel',
'is_empty' => true,
)
) ,
array(
'type' => 'textfield',
"heading" => esc_html__("Width", 'uncode-core') ,
'param_name' => 'media_width_pixel',
'description' => esc_html__("Insert the media width in pixel.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'media_width_use_pixel',
'value' => 'yes'
)
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Aspect ratio', 'uncode-core') ,
'param_name' => 'media_ratio',
'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode-core') ,
"value" => array(
esc_html__('Regular', 'uncode-core') => '',
esc_html__('1:1', 'uncode-core') => 'one-one',
esc_html__('4:3', 'uncode-core') => 'four-three',
esc_html__('3:2', 'uncode-core') => 'three-two',
esc_html__('16:9', 'uncode-core') => 'sixteen-nine',
esc_html__('21:9', 'uncode-core') => 'twentyone-nine',
esc_html__('3:4', 'uncode-core') => 'three-four',
esc_html__('2:3', 'uncode-core') => 'two-three',
esc_html__('9:16', 'uncode-core') => 'nine-sixteen',
) ,
'group' => esc_html__('Aspect', 'uncode-core') ,
'admin_label' => true,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Alignment', 'uncode-core') ,
'param_name' => 'alignment',
'value' => array(
esc_html__('Align Left', 'uncode-core') => '',
esc_html__('Align Right', 'uncode-core') => 'right',
esc_html__('Align Center', 'uncode-core') => 'center'
) ,
'description' => esc_html__('Specify image alignment.', 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Shape', 'uncode-core') ,
'param_name' => 'shape',
'value' => array(
esc_html__('Select…', 'uncode-core') => '',
esc_html__('Rounded', 'uncode-core') => 'img-round',
esc_html__('Circular', 'uncode-core') => 'img-circle'
) ,
'description' => esc_html__('Specify media shape.', 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Border radius", 'uncode-core') ,
"param_name" => "radius",
"description" => esc_html__("Specify the border radius effect.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"std" => "",
"value" => array(
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => ' ',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
),
"std" => ' ',
'dependency' => array(
'element' => 'shape',
'value' => 'img-round'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Border", 'uncode-core') ,
"param_name" => "border",
"description" => 'Activate to have a border around like a thumbnail.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow", 'uncode-core') ,
"param_name" => "shadow",
"description" => 'Activate this for the shadow effect.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shadow type", 'uncode-core') ,
"param_name" => "shadow_weight",
"description" => esc_html__("Specify the shadow option preset.", 'uncode-core') ,
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Extra Small', 'uncode-core') => 'xs',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
'dependency' => array(
'element' => 'shadow',
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Shadow Darker", 'uncode-core') ,
"param_name" => "shadow_darker",
"description" => esc_html__("Activate this for the dark shadow effect.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Aspect", 'uncode-core') ,
'dependency' => array(
'element' => 'shadow',
'not_empty' => true
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Activate advanced preset", 'uncode-core') ,
"param_name" => "advanced",
"description" => 'Activate if you want to have advanced options.',
"group" => esc_html__("Aspect", 'uncode-core') ,
"value" => array(
'' => 'yes'
)
) ,
array(
'type' => 'sorted_list',
'heading' => esc_html__('Media', 'uncode-core') ,
'param_name' => 'media_items',
'description' => esc_html__('Enable or disable elements and place them in desired order.', 'uncode-core') ,
'value' => 'media',
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'options' => array(
array(
'media',
esc_html__('Media', 'uncode-core') ,
array(
array(
'original',
esc_html__('Original', 'uncode-core')
) ,
array(
'poster',
esc_html__('Poster', 'uncode-core')
)
)
) ,
array(
'icon',
esc_html__('Icon', 'uncode-core') ,
array(
array(
'',
esc_html__('Small', 'uncode-core')
) ,
array(
'md',
esc_html__('Medium', 'uncode-core')
) ,
array(
'lg',
esc_html__('Large', 'uncode-core')
),
array(
'xl',
esc_html__('Extra Large', 'uncode-core')
)
) ,
) ,
array(
'title',
esc_html__('Title', 'uncode-core') ,
) ,
array(
'caption',
esc_html__('Caption', 'uncode-core') ,
) ,
array(
'description',
esc_html__('Description', 'uncode-core') ,
) ,
array(
'spacer',
esc_html__('Spacer One', 'uncode-core') ,
array(
array(
'half',
esc_html__('0.5x', 'uncode-core')
) ,
array(
'one',
esc_html__('1x', 'uncode-core')
) ,
array(
'two',
esc_html__('2x', 'uncode-core')
)
)
) ,
array(
'spacer_two',
esc_html__('Spacer Two', 'uncode-core') ,
array(
array(
'half',
esc_html__('0.5x', 'uncode-core')
) ,
array(
'one',
esc_html__('1x', 'uncode-core')
) ,
array(
'two',
esc_html__('2x', 'uncode-core')
)
)
) ,
array(
'sep-one',
esc_html__('Separator One', 'uncode-core') ,
array(
array(
'full',
esc_html__('Full width', 'uncode-core')
) ,
array(
'reduced',
esc_html__('Reduced width', 'uncode-core')
),
array(
'extra',
esc_html__('Extra full width', 'uncode-core')
)
)
) ,
array(
'sep-two',
esc_html__('Separator Two', 'uncode-core') ,
array(
array(
'full',
esc_html__('Full width', 'uncode-core')
) ,
array(
'reduced',
esc_html__('Reduced width', 'uncode-core')
),
array(
'extra',
esc_html__('Extra full width', 'uncode-core')
)
)
) ,
array(
'team-social',
esc_html__('Team socials', 'uncode-core') ,
) ,
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Block layout", 'uncode-core') ,
"param_name" => "media_text",
"description" => esc_html__("Specify the text positioning inside the box.", 'uncode-core') ,
"value" => array(
esc_html__('Content overlay', 'uncode-core') => 'overlay',
esc_html__('Content under image', 'uncode-core') => 'under'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Skin", 'uncode-core') ,
"param_name" => "media_style",
"description" => esc_html__("Specify the skin inside the content box.", 'uncode-core') ,
"value" => array(
esc_html__('Light', 'uncode-core') => 'light',
esc_html__('Dark', 'uncode-core') => 'dark'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Background color", 'uncode-core') ,
"param_name" => "media_back_color",
"description" => esc_html__("Specify a background color for the box.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Advanced', 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay color", 'uncode-core') ,
"param_name" => "media_overlay_color",
"description" => esc_html__("Specify a background color for the box.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('Advanced', 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay coloration", 'uncode-core') ,
"param_name" => "media_overlay_coloration",
"description" => wp_kses(__("Specify the coloration style for the overlay.<br />NB. For the gradient you can't customize the overlay color.", 'uncode-core'), array( 'br' => array( ) ) ) ,
"value" => array(
esc_html__('Fully colored', 'uncode-core') => '',
esc_html__('Gradient top', 'uncode-core') => 'top_gradient',
esc_html__('Gradient bottom', 'uncode-core') => 'bottom_gradient',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Overlay Blend Mode *", 'uncode-core') ,
"param_name" => "media_overlay_color_blend",
"description" => esc_html__("Specify a Blend Mode. NB. It does not work on IE and Edge.", 'uncode-core') ,
'group' => esc_html__('Advanced', 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Multiply', 'uncode-core') => 'multiply',
esc_html__('Screen', 'uncode-core') => 'screen',
esc_html__('Overlay', 'uncode-core') => 'overlay',
esc_html__('Darken', 'uncode-core') => 'darken',
esc_html__('Lighten', 'uncode-core') => 'lighten',
esc_html__('Color dodge', 'uncode-core') => 'color-dodge',
esc_html__('Color burn', 'uncode-core') => 'color-burn',
esc_html__('Hard light', 'uncode-core') => 'hard-light',
esc_html__('Soft light', 'uncode-core') => 'soft-light',
esc_html__('Difference', 'uncode-core') => 'difference',
esc_html__('Exclusion', 'uncode-core') => 'exclusion',
) ,
"dependency" => array(
'element' => "media_overlay_color",
'not_empty' => true
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Overlay Opacity", 'uncode-core') ,
"param_name" => "media_overlay_opacity",
"min" => 1,
"max" => 100,
"step" => 1,
"value" => 50,
"description" => esc_html__("Set the overlay opacity.", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text visibility", 'uncode-core') ,
"param_name" => "media_text_visible",
"description" => esc_html__("Activate this to show the text as starting point.", 'uncode-core') ,
"value" => array(
esc_html__('Hidden', 'uncode-core') => 'no',
esc_html__('Visible', 'uncode-core') => 'yes',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text animation", 'uncode-core') ,
"param_name" => "media_text_anim",
"description" => esc_html__("Activate this to animate the text on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay text animation type", 'uncode-core') ,
"param_name" => "media_text_anim_type",
"description" => esc_html__("Specify the animation type.", 'uncode-core') ,
"value" => array(
esc_html__('Opacity', 'uncode-core') => '',
esc_html__('Bottom to top', 'uncode-core') => 'btt',
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'media_text_anim',
'value' => 'yes',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay visibility", 'uncode-core') ,
"param_name" => "media_overlay_visible",
"description" => esc_html__("Activate this to show the overlay as starting point.", 'uncode-core') ,
"value" => array(
esc_html__('Hidden', 'uncode-core') => 'no',
esc_html__('Visible', 'uncode-core') => 'yes',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Overlay animation", 'uncode-core') ,
"param_name" => "media_overlay_anim",
"description" => esc_html__("Activate this to animate the overlay on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image coloration", 'uncode-core') ,
"param_name" => "media_image_coloration",
"description" => esc_html__("Specify the image coloration mode.", 'uncode-core') ,
"value" => array(
esc_html__('Standard', 'uncode-core') => '',
esc_html__('Desaturated', 'uncode-core') => 'desaturated',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image coloration animation", 'uncode-core') ,
"param_name" => "media_image_color_anim",
"description" => esc_html__("Activate this to animate the image coloration on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Static', 'uncode-core') => '',
esc_html__('Animated', 'uncode-core') => 'yes',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Image animation", 'uncode-core') ,
"param_name" => "media_image_anim",
"description" => esc_html__("Activate this to animate the image on mouse over.", 'uncode-core') ,
"value" => array(
esc_html__('Animated', 'uncode-core') => 'yes',
esc_html__('Static', 'uncode-core') => 'no',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Image Animation Mouse Move", 'uncode-core') ,
"param_name" => "single_image_anim_move",
"description" => esc_html__("Activate this to animate the image on the mouse move.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'media_image_anim',
'value' => array('yes'),
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text Alignment", 'uncode-core') ,
"param_name" => "media_h_align",
"description" => esc_html__("Specify the horizontal alignment.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Center', 'uncode-core') => 'center',
esc_html__('Right', 'uncode-core') => 'right',
esc_html__('Justify', 'uncode-core') => 'justify'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content vertical position", 'uncode-core') ,
"param_name" => "media_v_position",
"description" => esc_html__("Specify the text vertical position.", 'uncode-core') ,
"value" => array(
esc_html__('Middle', 'uncode-core') => '',
esc_html__('Top', 'uncode-core') => 'top',
esc_html__('Bottom', 'uncode-core') => 'bottom'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content dimension reduced", 'uncode-core') ,
"param_name" => "media_reduced",
"description" => esc_html__("Specify the text reduction amount to shrink the overlay content dimension.", 'uncode-core') ,
"value" => array(
esc_html__('100%', 'uncode-core') => '',
esc_html__('75%', 'uncode-core') => 'three_quarter',
esc_html__('50%', 'uncode-core') => 'half',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Content horizontal position", 'uncode-core') ,
"param_name" => "media_h_position",
"description" => esc_html__("Specify the text horizontal position.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Center', 'uncode-core') => 'center',
esc_html__('Right', 'uncode-core') => 'right'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
'dependency' => array(
'element' => 'media_reduced',
'not_empty' => true,
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Text Padding", 'uncode-core') ,
"param_name" => "media_padding",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the text padding", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Inner Elements Reduced Gap", 'uncode-core') ,
"param_name" => "media_text_reduced",
"description" => esc_html__("Activate this to have less space between all the text elements inside the box.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Multiple click areas", 'uncode-core') ,
"param_name" => "media_elements_click",
"description" => esc_html__("Activate this to make every single elements clickable instead of the whole block (when available).", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'media_text',
'value' => 'overlay',
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title text transform", 'uncode-core') ,
"param_name" => "media_title_transform",
"description" => esc_html__("Specify the title text transformation.", 'uncode-core') ,
"value" => array(
esc_html__('Default CSS', 'uncode-core') => '',
esc_html__('Uppercase', 'uncode-core') => 'uppercase',
esc_html__('Lowercase', 'uncode-core') => 'lowercase',
esc_html__('Capitalize', 'uncode-core') => 'capitalize'
) ,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title font family", 'uncode-core') ,
"param_name" => "media_title_family",
"description" => esc_html__("Specify the title font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title size", 'uncode-core') ,
"param_name" => "media_title_dimension",
"description" => esc_html__("Specify the title dimension.", 'uncode-core') ,
"value" => $heading_size,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title font weight", 'uncode-core') ,
"param_name" => "media_title_weight",
"description" => esc_html__("Specify the title font weight.", 'uncode-core') ,
"value" =>$heading_weight,
'std' => '',
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title line height", 'uncode-core') ,
"param_name" => "media_title_height",
"description" => esc_html__("Specify the title line height.", 'uncode-core') ,
"value" => $heading_height,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title letter spacing", 'uncode-core') ,
"param_name" => "media_title_space",
"description" => esc_html__("Specify the title letter spacing.", 'uncode-core') ,
"value" => $heading_space,
"group" => esc_html__("Advanced", 'uncode-core') ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Title Custom Text', 'uncode-core') ,
"param_name" => "media_title_custom",
"group" => esc_html__("Advanced", 'uncode-core') ,
'description' => esc_html__('Type a custom title.', 'uncode-core'),
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Description Custom Text', 'uncode-core') ,
"param_name" => "media_subtitle_custom",
"group" => esc_html__("Advanced", 'uncode-core') ,
'description' => esc_html__('Type a custom description.', 'uncode-core'),
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Caption Custom Text', 'uncode-core') ,
"param_name" => "media_caption_custom",
"group" => esc_html__("Advanced", 'uncode-core') ,
'description' => esc_html__('Type a custom caption.', 'uncode-core'),
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'media_icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'value' => '',
'settings' => array(
'emptyIcon' => true,
// default true, display an "EMPTY" icon?
'iconsPerPage' => 1100,
// default 100, how many icons per/page to display
'type' => 'uncode'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes'
) ,
'group' => esc_html__('Advanced', 'uncode-core') ,
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'dropdown',
'heading' => 'Skin',
'param_name' => 'lbox_skin',
'value' => array(
esc_html__('Dark', 'uncode-core') => '',
esc_html__('Light', 'uncode-core') => 'white',
) ,
'description' => esc_html__('Specify the lightbox skin color.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => 'Direction',
'param_name' => 'lbox_dir',
'value' => array(
esc_html__('Horizontal', 'uncode-core') => '',
esc_html__('Vertical', 'uncode-core') => 'vertical',
) ,
'description' => esc_html__('Specify the lightbox sliding direction.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Title", 'uncode-core') ,
"param_name" => "lbox_title",
"description" => esc_html__("Activate this to add the media title.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Caption", 'uncode-core') ,
"param_name" => "lbox_caption",
"description" => esc_html__("Activate this to add the media caption.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Social", 'uncode-core') ,
"param_name" => "lbox_social",
"description" => esc_html__("Activate this for the social sharing buttons.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Deeplinking", 'uncode-core') ,
"param_name" => "lbox_deep",
"description" => esc_html__("Activate this for the deeplinking of every slide.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No thumbnails", 'uncode-core') ,
"param_name" => "lbox_no_tmb",
"description" => esc_html__("Activate this for not showing the thumbnails.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No arrows", 'uncode-core') ,
"param_name" => "lbox_no_arrows",
"description" => esc_html__("Activate this for not showing the navigation arrows.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Connect to other media in page", 'uncode-core') ,
"param_name" => "lbox_connected",
"description" => esc_html__("Activate this to connect the lightbox with other media in the same page with this option active.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Remove double tap", 'uncode-core') ,
"param_name" => "no_double_tap",
"description" => esc_html__("Remove the double tap action on mobile.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'advanced',
'value' => 'yes',
) ,
"group" => esc_html__("Mobile", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
"group" => esc_html__("Extra", 'uncode-core') ,
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core')
) ,
)
));
/* Tabs
---------------------------------------------------------- */
$tab_id_1 = time() . '-1-' . rand(0, 100);
$tab_id_2 = time() . '-2-' . rand(0, 100);
vc_map(array(
"name" => esc_html__('Tabs', 'uncode-core') ,
'base' => 'vc_tabs',
'weight' => 925,
'show_settings_on_create' => false,
'is_container' => true,
'icon' => 'fa fa-folder',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Tabbed Contents', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Vertical tabs', 'uncode-core') ,
'param_name' => 'vertical',
'description' => esc_html__('Specify checkbox to allow all sections to be collapsible.', 'uncode-core') ,
'value' => array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('History (permalinks)', 'uncode-core') ,
'param_name' => 'history',
'description' => esc_html__('Activate this to activate url history for tabs.', 'uncode-core') ,
'value' => array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
),
) ,
'custom_markup' => '
<div class="wpb_tabs_holder wpb_holder vc_container_for_children">
<ul class="tabs_controls">
</ul>
%content%
</div>',
'default_content' => '
[vc_tab title="' . esc_html__('Tab 1', 'uncode-core') . '" tab_id="' . $tab_id_1 . '"][/vc_tab]
[vc_tab title="' . esc_html__('Tab 2', 'uncode-core') . '" tab_id="' . $tab_id_2 . '"][/vc_tab]
',
'js_view' => 'VcTabsView'
));
vc_map(array(
'name' => esc_html__('Tab', 'uncode-core') ,
'base' => 'vc_tab',
'allowed_container_element' => 'vc_row',
'is_container' => true,
'content_element' => false,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Tab title.', 'uncode-core')
) ,
array(
'type' => 'tab_id',
'heading' => esc_html__('Tab ID', 'uncode-core') ,
'param_name' => "tab_id",
),
array(
'type' => 'textfield',
'heading' => esc_html__('Slug', 'uncode-core') ,
'param_name' => "slug",
'description' => esc_html__('Custom value used for permalink. This value has to be unique.', 'uncode-core')
),
array(
'type' => 'checkbox',
'heading' => esc_html__('Remove top margin', 'uncode-core') ,
'param_name' => 'no_margin',
'description' => esc_html__('Activate this to remove the top margin.', 'uncode-core') ,
'value' => array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
)
) ,
) ,
'js_view' => 'VcTabView'
));
/* Accordion block
---------------------------------------------------------- */
$panel_id_1 = time() . '-1-' . rand(0, 100);
$panel_id_2 = time() . '-2-' . rand(0, 100);
vc_map(array(
'name' => esc_html__('Accordion', 'uncode-core') ,
'base' => 'vc_accordion',
'weight' => 920,
'show_settings_on_create' => false,
'is_container' => true,
'icon' => 'fa fa-indent',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Collapsible Panels', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Active section', 'uncode-core') ,
'param_name' => 'active_tab',
'description' => esc_html__('Enter section number to be active on load.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('History (permalinks)', 'uncode-core') ,
'param_name' => 'history',
'description' => esc_html__('Activate this to activate url history for tabs.', 'uncode-core') ,
'value' => array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
) ,
'custom_markup' => '
<div class="wpb_accordion_holder wpb_holder clearfix vc_container_for_children">
%content%
</div>
<div class="tab_controls">
<a class="add_tab" title="' . esc_html__('Add section', 'uncode-core') . '"><span class="vc_icon"></span> <span class="tab-label">' . esc_html__('Add section', 'uncode-core') . '</span></a>
</div>
',
'default_content' => '
[vc_accordion_tab title="' . esc_html__('Section 1', 'uncode-core') . '" tab_id="' . $panel_id_1 . '"][/vc_accordion_tab]
[vc_accordion_tab title="' . esc_html__('Section 2', 'uncode-core') . '" tab_id="' . $panel_id_2 . '"][/vc_accordion_tab]
',
'js_view' => 'UncodePanelsView'
));
vc_map(array(
'name' => esc_html__('Section', 'uncode-core') ,
'base' => 'vc_accordion_tab',
'weight' => 840,
'allowed_container_element' => 'vc_row',
'is_container' => true,
'content_element' => false,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Accordion section title.', 'uncode-core')
) ,
array(
'type' => 'tab_id',
'heading' => esc_html__('Tab ID', 'uncode-core') ,
'param_name' => "tab_id",
),
array(
'type' => 'textfield',
'heading' => esc_html__('Slug', 'uncode-core') ,
'param_name' => "slug",
'description' => esc_html__('Custom value used for permalink. This value has to be unique.', 'uncode-core')
),
) ,
'js_view' => 'VcAccordionTabView'
));
/* Widgetised sidebar
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Widgetised Sidebar', 'uncode-core') ,
'base' => 'vc_widget_sidebar',
'weight' => 850,
'class' => 'wpb_widget_sidebar_widget',
'icon' => 'fa fa-tags',
'category' => esc_html__('Structure', 'uncode-core') ,
'description' => esc_html__('Widgetised Sidebar', 'uncode-core') ,
'params' => array(
array(
'type' => 'widgetised_sidebars',
'heading' => esc_html__('Sidebar', 'uncode-core') ,
'param_name' => 'sidebar_id',
'description' => esc_html__('Specify which widget area output.', 'uncode-core'),
'admin_label' => true,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
/* Button
---------------------------------------------------------- */
$icons_arr = array(
esc_html__('None', 'uncode-core') => 'none',
esc_html__('Address book icon', 'uncode-core') => 'wpb_address_book',
esc_html__('Alarm clock icon', 'uncode-core') => 'wpb_alarm_clock',
esc_html__('Anchor icon', 'uncode-core') => 'wpb_anchor',
esc_html__('Application Image icon', 'uncode-core') => 'wpb_application_image',
esc_html__('Arrow icon', 'uncode-core') => 'wpb_arrow',
esc_html__('Asterisk icon', 'uncode-core') => 'wpb_asterisk',
esc_html__('Hammer icon', 'uncode-core') => 'wpb_hammer',
esc_html__('Balloon icon', 'uncode-core') => 'wpb_balloon',
esc_html__('Balloon Buzz icon', 'uncode-core') => 'wpb_balloon_buzz',
esc_html__('Balloon Facebook icon', 'uncode-core') => 'wpb_balloon_facebook',
esc_html__('Balloon Twitter icon', 'uncode-core') => 'wpb_balloon_twitter',
esc_html__('Battery icon', 'uncode-core') => 'wpb_battery',
esc_html__('Binocular icon', 'uncode-core') => 'wpb_binocular',
esc_html__('Document Excel icon', 'uncode-core') => 'wpb_document_excel',
esc_html__('Document Image icon', 'uncode-core') => 'wpb_document_image',
esc_html__('Document Music icon', 'uncode-core') => 'wpb_document_music',
esc_html__('Document Office icon', 'uncode-core') => 'wpb_document_office',
esc_html__('Document PDF icon', 'uncode-core') => 'wpb_document_pdf',
esc_html__('Document Powerpoint icon', 'uncode-core') => 'wpb_document_powerpoint',
esc_html__('Document Word icon', 'uncode-core') => 'wpb_document_word',
esc_html__('Bookmark icon', 'uncode-core') => 'wpb_bookmark',
esc_html__('Camcorder icon', 'uncode-core') => 'wpb_camcorder',
esc_html__('Camera icon', 'uncode-core') => 'wpb_camera',
esc_html__('Chart icon', 'uncode-core') => 'wpb_chart',
esc_html__('Chart pie icon', 'uncode-core') => 'wpb_chart_pie',
esc_html__('Clock icon', 'uncode-core') => 'wpb_clock',
esc_html__('Fire icon', 'uncode-core') => 'wpb_fire',
esc_html__('Heart icon', 'uncode-core') => 'wpb_heart',
esc_html__('Mail icon', 'uncode-core') => 'wpb_mail',
esc_html__('Play icon', 'uncode-core') => 'wpb_play',
esc_html__('Shield icon', 'uncode-core') => 'wpb_shield',
esc_html__('Video icon', 'uncode-core') => "wpb_video"
);
vc_map(array(
'name' => esc_html__('Button', 'uncode-core') ,
'base' => 'vc_button',
'weight' => 965,
'icon' => 'fa fa-external-link',
'php_class_name' => 'uncode_generic_admin',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Button Element', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Text', 'uncode-core') ,
'admin_label' => true,
'param_name' => 'content',
'value' => esc_html__('Text on the button', 'uncode-core') ,
'description' => esc_html__('Text on the button.', 'uncode-core')
) ,
array(
'type' => 'vc_link',
'heading' => esc_html__('URL (Link)', 'uncode-core') ,
'param_name' => 'link',
'description' => esc_html__('Button link.', 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Button color", 'uncode-core') ,
"param_name" => "button_color",
"description" => esc_html__("Specify button color.", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Size', 'uncode-core') ,
'param_name' => 'size',
'value' => $size_arr,
'admin_label' => true,
'description' => esc_html__('Button size.', 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text size", 'uncode-core') ,
"param_name" => "btn_link_size",
"description" => esc_html__("Specify text size.", 'uncode-core') ,
'std' => '',
"value" => $heading_size,
'dependency' => array(
'element' => 'size',
'value' => 'link',
)
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Shape", 'uncode-core') ,
"param_name" => "radius",
"description" => esc_html__("You can shape the button with the corners round, squared or circle.", 'uncode-core') ,
"value" => array(
esc_html__('Default', 'uncode-core') => '',
esc_html__('Round', 'uncode-core') => 'btn-round',
esc_html__('Circle', 'uncode-core') => 'btn-circle',
esc_html__('Square', 'uncode-core') => 'btn-square'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Border animation", 'uncode-core') ,
"param_name" => "border_animation",
"description" => esc_html__("Specify a button border animation.", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Ripple Out', 'uncode-core') => 'btn-ripple-out',
esc_html__('Ripple In', 'uncode-core') => 'btn-ripple-in',
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Fluid', 'uncode-core') ,
'param_name' => 'wide',
'description' => esc_html__('Fluid buttons has 100% width.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
"type" => 'textfield',
"heading" => esc_html__("Fixed width", 'uncode-core') ,
"param_name" => "width",
"description" => esc_html__("Add a fixed width in pixel.", 'uncode-core') ,
'dependency' => array(
'element' => 'wide',
'is_empty' => true,
)
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Hover effect", 'uncode-core') ,
"param_name" => "hover_fx",
"description" => esc_html__("Specify an effect on hover state.", 'uncode-core') ,
"value" => array(
'Inherit' => '',
'Outlined' => 'outlined',
'Flat' => 'full-colored',
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Outlined inverse', 'uncode-core') ,
'param_name' => 'outline',
'description' => esc_html__("Outlined buttons don't have a full background color. NB. This option is available only with Hover Effect > Outlined.", 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Skin text', 'uncode-core') ,
'param_name' => 'text_skin',
'description' => esc_html__("Keep the text color as the skin. NB. This option works well with Hover Effect > Outlined.", 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
),
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Shadow', 'uncode-core') ,
'param_name' => 'shadow',
'description' => esc_html__('Activate this for the shadow effect.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Shadow type", 'uncode-core') ,
"param_name" => "shadow_weight",
"description" => esc_html__("Specify the shadow option preset.", 'uncode-core') ,
"value" => array(
esc_html__('Extra Small', 'uncode-core') => '',
esc_html__('Small', 'uncode-core') => 'sm',
esc_html__('Standard', 'uncode-core') => 'std',
esc_html__('Large', 'uncode-core') => 'lg',
esc_html__('Extra Large', 'uncode-core') => 'xl',
) ,
'dependency' => array(
'element' => 'shadow',
'not_empty' => true
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Custom typography', 'uncode-core') ,
'param_name' => 'custom_typo',
'description' => esc_html__('Define custom font settings.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'dropdown',
'param_name' => 'font_family',
'heading' => esc_html__('Font family', 'uncode-core') ,
'description' => esc_html__('Specify the buttons font family.', 'uncode-core') ,
'std' => '',
'value' => $button_font,
'dependency' => array(
'element' => 'custom_typo',
'not_empty' => true,
)
) ,
array(
'type' => 'dropdown',
'param_name' => 'font_weight',
'heading' => esc_html__('Font weight', 'uncode-core') ,
'description' => esc_html__('Specify the buttons font weight.', 'uncode-core') ,
'std' => '',
'value' => $button_weight,
'dependency' => array(
'element' => 'custom_typo',
'not_empty' => true,
)
) ,
array(
'type' => 'dropdown',
'param_name' => 'text_transform',
'heading' => esc_html__('Text transform', 'uncode-core') ,
'description' => esc_html__('Specify the buttons text transform.', 'uncode-core') ,
'std' => '',
'value' => array(
array(
'value' => '',
'label' => esc_html__('Initial', 'uncode-core') ,
) ,
array(
'value' => 'uppercase',
'label' => esc_html__('Uppercase', 'uncode-core') ,
) ,
array(
'value' => 'lowercase',
'label' => esc_html__('Lowercase', 'uncode-core') ,
) ,
array(
'value' => 'capitalize',
'label' => esc_html__('Capitalize', 'uncode-core') ,
) ,
) ,
'dependency' => array(
'element' => 'custom_typo',
'not_empty' => true,
)
) ,
array(
'type' => 'dropdown',
'param_name' => 'letter_spacing',
'heading' => esc_html__('Letter spacing', 'uncode-core') ,
'description' => esc_html__('Specify the letter spacing value.', 'uncode-core') ,
'value' => $btn_letter_spacing,
'dependency' => array(
'element' => 'custom_typo',
'not_empty' => true,
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Italic text', 'uncode-core') ,
'param_name' => 'Italic',
'description' => esc_html__('Button with italic text style.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Border width", 'uncode-core') ,
"param_name" => "border_width",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 0,
"description" => esc_html__("Specify button border width in pixels.", 'uncode-core') ,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'settings' => array(
'emptyIcon' => true,
// default true, display an "EMPTY" icon?
'iconsPerPage' => 1100,
// default 100, how many icons per/page to display
'type' => 'uncode'
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Icon position", 'uncode-core') ,
"param_name" => "icon_position",
"description" => esc_html__("Choose the position of the icon.", 'uncode-core') ,
"value" => array(
esc_html__('Left', 'uncode-core') => 'left',
esc_html__('Right', 'uncode-core') => 'right',
) ,
'dependency' => array(
'element' => 'icon',
'not_empty' => true,
)
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Layout display', 'uncode-core') ,
'param_name' => 'display',
'description' => esc_html__('Specify the display mode.', 'uncode-core') ,
"value" => array(
esc_html__('Block', 'uncode-core') => '',
esc_html__('Inline', 'uncode-core') => 'inline',
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Margin top', 'uncode-core') ,
'param_name' => 'top_margin',
'description' => esc_html__('Activate to add the top margin.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'display',
'not_empty' => true,
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Rel attribute', 'uncode-core') ,
'param_name' => 'rel',
'description' => wp_kses(__('Here you can add value for the rel attribute.<br>Example values: <b%value>nofollow</b>, <b%value>lightbox</b>.', 'uncode-core'), array( 'br' => array( ),'b' => array( ) ) )
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('onClick', 'uncode-core') ,
'param_name' => 'onclick',
'description' => esc_html__('Advanced JavaScript code for onClick action.', 'uncode-core')
) ,
array(
'type' => 'media_element',
'heading' => esc_html__('Media lightbox', 'uncode-core') ,
'param_name' => 'media_lightbox',
'has_galleries' => true,
'description' => esc_html__('Specify a media from the lightbox.', 'uncode-core') ,
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'dropdown',
'heading' => 'Skin',
'param_name' => 'lbox_skin',
'value' => array(
esc_html__('Dark', 'uncode-core') => '',
esc_html__('Light', 'uncode-core') => 'white',
) ,
'description' => esc_html__('Specify the lightbox skin color.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
'type' => 'dropdown',
'heading' => 'Direction',
'param_name' => 'lbox_dir',
'value' => array(
esc_html__('Horizontal', 'uncode-core') => '',
esc_html__('Vertical', 'uncode-core') => 'vertical',
) ,
'description' => esc_html__('Specify the lightbox sliding direction.', 'uncode-core') ,
'group' => esc_html__('Lightbox', 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Title", 'uncode-core') ,
"param_name" => "lbox_title",
"description" => esc_html__("Activate this to add the media title.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Caption", 'uncode-core') ,
"param_name" => "lbox_caption",
"description" => esc_html__("Activate this to add the media caption.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Social", 'uncode-core') ,
"param_name" => "lbox_social",
"description" => esc_html__("Activate this for the social sharing buttons.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Deeplinking", 'uncode-core') ,
"param_name" => "lbox_deep",
"description" => esc_html__("Activate this for the deeplinking of every slide.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No thumbnails", 'uncode-core') ,
"param_name" => "lbox_no_tmb",
"description" => esc_html__("Activate this for not showing the thumbnails.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("No arrows", 'uncode-core') ,
"param_name" => "lbox_no_arrows",
"description" => esc_html__("Activate this for not showing the navigation arrows.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Connect to other media in page", 'uncode-core') ,
"param_name" => "lbox_connected",
"description" => esc_html__("Activate this to connect the lightbox with other media in the same page with this option active.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("Lightbox", 'uncode-core') ,
'dependency' => array(
'element' => 'media_lightbox',
'not_empty' => true,
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'group' => esc_html__('Extra', 'uncode-core') ,
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core')
)
) ,
'js_view' => 'VcButtonView'
));
/* Google maps element
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Google Maps', 'uncode-core') ,
'base' => 'vc_gmaps',
'weight' => 915,
'icon' => 'fa fa-map-marker',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Google Map Module', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Latitude, Longitude', 'uncode-core') ,
'param_name' => 'latlon',
'description' => sprintf(wp_kses(__('To extract the Latitude and Longitude of your address, follow the instructions %s. 1) Use the directions under the section "Get the coordinates of a place" 2) Copy the coordinates 3) Paste the coordinates in the field with the "comma" sign.', 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) , '<a href="https://support.google.com/maps/answer/18539?source=gsearch&hl=en" target="_blank">here</a>')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Map height', 'uncode-core') ,
'param_name' => 'size',
'admin_label' => true,
'description' => esc_html__('Enter map height in pixels. Example: 200 or leave it empty to make map responsive (in this case you need to declare a minimun height for the row and the column equal height or expanded).', 'uncode-core')
) ,
array(
'type' => 'textarea_safe',
'heading' => esc_html__('Address', 'uncode-core') ,
'param_name' => 'address',
'description' => esc_html__('Insert here the address in case you want it to be display on the bottom of the map.', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Map color', 'uncode-core') ,
'param_name' => 'map_color',
'value' => $uncode_colors,
'description' => esc_html__('Specify the map base color.', 'uncode-core') ,
//'admin_label' => true,
'param_holder_class' => 'vc_colored-dropdown'
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('UI color', 'uncode-core') ,
'param_name' => 'ui_color',
'value' => $uncode_colors,
'description' => esc_html__('Specify the UI color.', 'uncode-core') ,
//'admin_label' => true,
'param_holder_class' => 'vc_colored-dropdown'
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Zoom", 'uncode-core') ,
"param_name" => "zoom",
"min" => 0,
"max" => 19,
"step" => 1,
"value" => 14,
"description" => esc_html__("Set map zoom level.", 'uncode-core') ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Saturation", 'uncode-core') ,
"param_name" => "map_saturation",
"min" => - 100,
"max" => 100,
"step" => 1,
"value" => - 20,
"description" => esc_html__("Set map color saturation.", 'uncode-core') ,
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Brightness", 'uncode-core') ,
"param_name" => "map_brightness",
"min" => - 100,
"max" => 100,
"step" => 1,
"value" => 5,
"description" => esc_html__("Set map color brightness.", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile no draggable", 'uncode-core') ,
"param_name" => "mobile_no_drag",
"description" => esc_html__("Deactivate the drag function on mobile devices.", 'uncode-core') ,
'group' => esc_html__('Mobile', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'group' => esc_html__('Extra', 'uncode-core') ,
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core')
)
)
));
/* Raw HTML
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Raw HTML', 'uncode-core') ,
'base' => 'vc_raw_html',
'weight' => 835,
'icon' => 'fa fa-code',
'category' => esc_html__('Structure', 'uncode-core') ,
'wrapper_class' => 'clearfix',
'description' => esc_html__('Raw HTML Code', 'uncode-core') ,
'params' => array(
array(
'type' => 'textarea_raw_html',
'holder' => 'div',
'heading' => esc_html__('Raw HTML', 'uncode-core') ,
'param_name' => 'content',
'value' => base64_encode('<p>I am raw html block.<br/>Click edit button to change this html</p>') ,
'description' => esc_html__('Enter your HTML content.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
)
));
/* Raw JS
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Raw JS', 'uncode-core') ,
'base' => 'vc_raw_js',
'weight' => 830,
'icon' => 'fa fa-code',
'category' => esc_html__('Structure', 'uncode-core') ,
'wrapper_class' => 'clearfix',
'description' => esc_html__('Raw JavaScript Code', 'uncode-core') ,
'params' => array(
array(
'type' => 'textarea_raw_html',
'holder' => 'div',
'heading' => esc_html__('Raw js', 'uncode-core') ,
'param_name' => 'content',
'value' => esc_html__(base64_encode('<script type="text/javascript"> alert("Enter your js here!" ); </script>') , 'uncode-core') ,
'description' => esc_html__('Enter your JS code.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core')
) ,
)
));
/* Flickr
---------------------------------------------------------- */
vc_map(array(
'base' => 'vc_flickr',
'name' => esc_html__('Flickr Widget', 'uncode-core') ,
'icon' => 'fa fa-flickr',
'weight' => 845,
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Flickr Images Feed', 'uncode-core') ,
"params" => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Flickr ID', 'uncode-core') ,
'param_name' => 'flickr_id',
'admin_label' => true,
'description' => sprintf(wp_kses(__('To find your flickID visit %s.', 'uncode-core'), array( 'a' => array( 'href' => array(),'target' => array() ) ) ) , '<a href="http://idgettr.com/" target="_blank">idGettr</a>')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Number of photos', 'uncode-core') ,
'param_name' => 'count',
'value' => array(
9,
8,
7,
6,
5,
4,
3,
2,
1
) ,
'description' => esc_html__('Number of photos.', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Type', 'uncode-core') ,
'param_name' => 'type',
'value' => array(
esc_html__('User', 'uncode-core') => 'user',
esc_html__('Group', 'uncode-core') => 'group'
) ,
'description' => esc_html__('Photo stream type.', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Display', 'uncode-core') ,
'param_name' => 'display',
'value' => array(
esc_html__('Latest', 'uncode-core') => 'latest',
esc_html__('Random', 'uncode-core') => 'random'
) ,
'description' => esc_html__('Photo order.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
/**
* Pie chart
*/
vc_map(array(
'name' => esc_html__('Pie chart', 'vc_extend') ,
'base' => 'vc_pie',
'weight' => 890,
'class' => '',
'icon' => 'fa fa-pie-chart',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Animated Pie Chart', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core') ,
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Pie value', 'uncode-core') ,
'param_name' => 'value',
'description' => esc_html__('Input graph value here. Choose range between 0 and 100.', 'uncode-core') ,
'value' => '50',
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Pie label value', 'uncode-core') ,
'param_name' => 'label_value',
'description' => esc_html__('Input integer value for label. If empty "Pie value" will be used.', 'uncode-core') ,
'value' => ''
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Units', 'uncode-core') ,
'param_name' => 'units',
'description' => esc_html__('Enter measurement units (if needed) Eg. %, px, points, etc. Graph value and unit will be appended to the graph title.', 'uncode-core')
) ,
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Circle thickness", 'uncode-core') ,
"param_name" => "arc_width",
"min" => 1,
"max" => 30,
"step" => 1,
"value" => 5,
"description" => esc_html__("Set the circle thickness.", 'uncode-core') ,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'value' => '',
'admin_label' => true,
'settings' => array(
'emptyIcon' => true,
'iconsPerPage' => 1100,
'type' => 'uncode'
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Bar color', 'uncode-core') ,
'param_name' => 'bar_color',
'value' => $uncode_colors,
'description' => esc_html__('Specify pie chart color.', 'uncode-core') ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Coloring icon', 'uncode-core') ,
'param_name' => 'col_icon',
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
)
));
/* Graph
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Progress Bar', 'uncode-core') ,
'base' => 'vc_progress_bar',
'weight' => 895,
'icon' => 'fa fa-tasks',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Animated Progress Bar', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('Enter text which will be used as module title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'param_group',
'heading' => esc_html__('Graphic values', 'uncode-core') ,
'param_name' => 'values',
'description' => esc_html__( 'Enter values for graph - value, title and color.', 'uncode-core' ),
'value' => urlencode( json_encode( array(
array(
'label' => esc_html__( 'Development', 'uncode-core' ),
'value' => '90',
),
array(
'label' => esc_html__( 'Design', 'uncode-core' ),
'value' => '80',
),
array(
'label' => esc_html__( 'Marketing', 'uncode-core' ),
'value' => '70',
),
) ) ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Label', 'uncode-core' ),
'param_name' => 'label',
'description' => esc_html__( 'Enter text used as title of bar.', 'uncode-core' ),
'admin_label' => true,
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Value', 'uncode-core' ),
'param_name' => 'value',
'description' => esc_html__( 'Enter value of bar.', 'uncode-core' ),
'admin_label' => true,
),
array(
'type' => 'dropdown',
'heading' => esc_html__('Bar color', 'uncode-core') ,
'param_name' => 'bar_color',
'value' => $flat_uncode_colors,
'admin_label' => true,
'description' => esc_html__('Specify bar color.', 'uncode-core') ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Background color', 'uncode-core') ,
'param_name' => 'back_color',
'value' => $flat_uncode_colors,
'admin_label' => true,
'description' => esc_html__('Specify bar background color.', 'uncode-core') ,
) ,
),
),
array(
'type' => 'textfield',
'heading' => esc_html__('Units', 'uncode-core') ,
'param_name' => 'units',
'description' => esc_html__('Enter measurement units (if needed) Eg. %, px, points, etc. Graph value and unit will be appended to the graph title.', 'uncode-core')
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
/* Support for 3rd Party plugins
---------------------------------------------------------- */
// Contact form 7 plugin
if ( class_exists( 'WPCF7' ) )
{
global $wpdb;
$cf7 = $wpdb->get_results("
SELECT ID, post_title
FROM $wpdb->posts
WHERE post_type = 'wpcf7_contact_form'
");
$contact_forms = array(esc_html__('Select a form…','uncode-core') => 0);
if ($cf7)
{
foreach ($cf7 as $cform)
{
$contact_forms[$cform->post_title] = $cform->ID;
}
}
else
{
$contact_forms[esc_html__('No contact forms found', 'uncode-core') ] = 0;
}
vc_map(array(
'base' => 'contact-form-7',
'name' => esc_html__('Contact Form 7', 'uncode-core') ,
'weight' => 955,
'icon' => 'fa fa-envelope',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Place Contact Form7', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Form title', 'uncode-core') ,
'param_name' => 'title',
'admin_label' => true,
'description' => esc_html__('What text use as form title. Leave blank if no title is needed.', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Specify contact form', 'uncode-core') ,
'param_name' => 'id',
'value' => $contact_forms,
'description' => esc_html__('Choose previously created contact form from the drop down list.', 'uncode-core')
),
array(
'type' => 'checkbox',
'heading' => esc_html__('Input Text Underlined', 'uncode-core') ,
'param_name' => 'html_class',
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'input-underline'
)
) ,
)
));
}
// if contact form7 plugin active
/* WordPress default Widgets (Appearance->Widgets)
---------------------------------------------------------- */
vc_map(array(
'name' => 'WP ' . esc_html__("Search", 'uncode-core') ,
'base' => 'vc_wp_search',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('A search form for your site', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Live search *', 'uncode-core') ,
'param_name' => 'live_search',
'description' => esc_html__('NB. For performance reasons, this option is disabled while working with the Frontend Editor unless you refresh.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Meta', 'uncode-core') ,
'base' => 'vc_wp_meta',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Log in/out, admin, feed and WordPress links', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Recent Comments', 'uncode-core') ,
'base' => 'vc_wp_recentcomments',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('The most recent comments', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Number of comments to show', 'uncode-core') ,
'param_name' => 'number',
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Calendar', 'uncode-core') ,
'base' => 'vc_wp_calendar',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('A calendar of your sites posts', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Pages', 'uncode-core') ,
'base' => 'vc_wp_pages',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Your sites WordPress Pages', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Sort by', 'uncode-core') ,
'param_name' => 'sortby',
'value' => array(
esc_html__('Page title', 'uncode-core') => 'post_title',
esc_html__('Page order', 'uncode-core') => 'menu_order',
esc_html__('Page ID', 'uncode-core') => 'ID'
) ,
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Exclude', 'uncode-core') ,
'param_name' => 'exclude',
'description' => esc_html__('Page IDs, separated by commas.', 'uncode-core') ,
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
$tag_taxonomies = array();
foreach (get_taxonomies() as $taxonomy)
{
$tax = get_taxonomy($taxonomy);
if (!$tax->show_tagcloud || empty($tax->labels->name))
{
continue;
}
$tag_taxonomies[$tax->labels->name] = esc_attr($taxonomy);
}
vc_map(array(
'name' => 'WP ' . esc_html__('Tag Cloud', 'uncode-core') ,
'base' => 'vc_wp_tagcloud',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Your most used tags in cloud format', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Taxonomy', 'uncode-core') ,
'param_name' => 'taxonomy',
'value' => $tag_taxonomies,
'admin_label' => true
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core'),
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
$custom_menus = array(esc_html__('Select…','uncode-core') => '');
$menus = get_terms('nav_menu', array(
'hide_empty' => false
));
if (is_array($menus))
{
foreach ($menus as $single_menu)
{
$custom_menus[$single_menu->name] = $single_menu->term_id;
}
}
vc_map(array(
'name' => 'WP ' . esc_html__("Custom Menu", 'uncode-core') ,
'base' => 'vc_wp_custommenu',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Use this widget to add one of your custom menus as a widget', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Menu', 'uncode-core') ,
'param_name' => 'nav_menu',
'value' => $custom_menus,
'description' => empty($custom_menus) ? esc_html__('Custom menus not found. Please visit <b>Appearance > Menus</b> page to create new menu.', 'uncode-core') : esc_html__('Specify menu', 'uncode-core') ,
'admin_label' => true
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Horizontal menu', 'uncode-core') ,
'param_name' => 'nav_menu_horizontal',
'value' => array(
esc_html__('Yes, please', 'uncode-core') => true
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Text', 'uncode-core') ,
'base' => 'vc_wp_text',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Arbitrary text or HTML', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'textarea',
'heading' => esc_html__('Text', 'uncode-core') ,
'param_name' => 'content',
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Recent Posts', 'uncode-core') ,
'base' => 'vc_wp_posts',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('The most recent posts on your site', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Number of posts to show', 'uncode-core') ,
'param_name' => 'number',
'admin_label' => true
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Display post date?', 'uncode-core') ,
'param_name' => 'show_date',
'value' => array(
esc_html__('Yes, please', 'uncode-core') => true
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
$link_category = array(
esc_html__('All Links', 'uncode-core') => ''
);
$link_cats = get_terms('link_category');
if (is_array($link_cats))
{
foreach ($link_cats as $link_cat)
{
$link_category[$link_cat->name] = $link_cat->term_id;
}
}
vc_map(array(
'name' => 'WP ' . esc_html__('Links', 'uncode-core') ,
'base' => 'vc_wp_links',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => -50,
'description' => esc_html__('Your blogroll', 'uncode-core') ,
'params' => array(
array(
'type' => 'dropdown',
'heading' => esc_html__('Link Category', 'uncode-core') ,
'param_name' => 'category',
'value' => $link_category,
'admin_label' => true
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Sort by', 'uncode-core') ,
'param_name' => 'orderby',
'value' => array(
esc_html__('Link title', 'uncode-core') => 'name',
esc_html__('Link rating', 'uncode-core') => 'rating',
esc_html__('Link ID', 'uncode-core') => 'id',
esc_html__('Random', 'uncode-core') => 'rand'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Options', 'uncode-core') ,
'param_name' => 'options',
'value' => array(
esc_html__('Show Link Image', 'uncode-core') => 'images',
esc_html__('Show Link Name', 'uncode-core') => 'name',
esc_html__('Show Link Description', 'uncode-core') => 'description',
esc_html__('Show Link Rating', 'uncode-core') => 'rating'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Number of links to show', 'uncode-core') ,
'param_name' => 'limit'
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Categories', 'uncode-core') ,
'base' => 'vc_wp_categories',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('A list or dropdown of categories', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Options', 'uncode-core') ,
'param_name' => 'options',
'value' => array(
esc_html__('Display as dropdown', 'uncode-core') => 'dropdown',
esc_html__('Show post counts', 'uncode-core') => 'count',
esc_html__('Show hierarchy', 'uncode-core') => 'hierarchical'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('Archives', 'uncode-core') ,
'base' => 'vc_wp_archives',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('A monthly archive of your sites posts', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Hide Title', 'uncode-core') ,
'param_name' => 'hide_title',
'description' => esc_html__('Hide the widget title and avoid to display the default title when you leave it empty.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
)
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Options', 'uncode-core') ,
'param_name' => 'options',
'value' => array(
esc_html__('Display as dropdown', 'uncode-core') => 'dropdown',
esc_html__('Show post counts', 'uncode-core') => 'count'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
vc_map(array(
'name' => 'WP ' . esc_html__('RSS', 'uncode-core') ,
'base' => 'vc_wp_rss',
'icon' => 'fa fa-wordpress',
'category' => esc_html__('WordPress Widgets', 'uncode-core') ,
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__('Entries from any RSS or Atom feed', 'uncode-core') ,
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'description' => esc_html__('What text use as a widget title. Leave blank to use default widget title.', 'uncode-core')
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('RSS feed URL', 'uncode-core') ,
'param_name' => 'url',
'description' => esc_html__('Enter the RSS feed URL.', 'uncode-core') ,
'admin_label' => true
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Items', 'uncode-core') ,
'param_name' => 'items',
'value' => array(
esc_html__('10 - Default', 'uncode-core') => '',
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
) ,
'description' => esc_html__('How many items would you like to display?', 'uncode-core') ,
'admin_label' => true
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Options', 'uncode-core') ,
'param_name' => 'options',
'value' => array(
esc_html__('Display item content?', 'uncode-core') => 'show_summary',
esc_html__('Display item author if available?', 'uncode-core') => 'show_author',
esc_html__('Display item date?', 'uncode-core') => 'show_date'
)
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
)
)
));
/* Empty Space Element
---------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Empty Space', 'uncode-core') ,
'base' => 'vc_empty_space',
'icon' => 'fa fa-arrows-v',
'weight' => 960,
'show_settings_on_create' => true,
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Vertical Spacer', 'uncode-core') ,
'params' => array(
array(
"type" => "type_numeric_slider",
"heading" => esc_html__("Height", 'uncode-core') ,
"param_name" => "empty_h",
"min" => 0,
"max" => 5,
"step" => 1,
"value" => 2,
"description" => esc_html__("Set the empty space height.", 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core') ,
) ,
) ,
));
/* Custom Heading element
----------------------------------------------------------- */
$new_css_animation = array (
esc_html__('Lines curtain', 'uncode-core') => 'curtain',
esc_html__('Words curtain', 'uncode-core') => 'curtain-words',
esc_html__('Words sliding', 'uncode-core') => 'single-slide',
esc_html__('Words sliding reverse', 'uncode-core') => 'single-slide-opposite',
esc_html__('Letters curtain', 'uncode-core') => 'single-curtain',
esc_html__('Letters typewriter', 'uncode-core') => 'typewriter',
);
$old_css_animation = $add_css_animation['value'];
$add_text_css_animation = $add_css_animation;
$add_text_css_animation['value'] = array_merge($old_css_animation, $new_css_animation);
vc_map(array(
'name' => esc_html__('Heading', 'uncode-core') ,
'base' => 'vc_custom_heading',
'icon' => 'fa fa-header',
'php_class_name' => 'uncode_generic_admin',
'weight' => 980,
'show_settings_on_create' => true,
'category' => esc_html__('Content', 'uncode-core') ,
'shortcode' => true,
'description' => esc_html__('Text Heading', 'uncode-core') ,
'params' => array(
array(
'type' => 'textarea_html',
'heading' => esc_html__('Heading text', 'uncode-core') ,
'param_name' => 'content',
'admin_label' => true,
'value' => esc_html__('This is a custom heading element.', 'uncode-core') ,
//'description' => esc_html__('Enter your content. If you are using non-latin characters be sure to activate them under Settings/Visual Composer/General Settings.', 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Automatic heading text", 'uncode-core') ,
"param_name" => "auto_text",
"description" => esc_html__("Activate this to pull automatic text content (title or excerpt).", 'uncode-core') ,
'group' => esc_html__('General', 'uncode-core') ,
"value" => array(
esc_html__('No', 'uncode-core') => '',
esc_html__('Get the title', 'uncode-core') => 'yes',
esc_html__('Get the excerpt', 'uncode-core') => 'excerpt',
) ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Element semantic", 'uncode-core') ,
"param_name" => "heading_semantic",
"description" => esc_html__("Specify element tag.", 'uncode-core') ,
"value" => $heading_semantic,
'std' => 'h2',
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text font family", 'uncode-core') ,
"param_name" => "text_font",
"description" => esc_html__("Specify text font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
"group" => esc_html__("General", 'uncode-core') ,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text size", 'uncode-core') ,
"param_name" => "text_size",
"description" => esc_html__("Specify text size.", 'uncode-core') ,
'std' => 'h2',
"value" => $heading_size,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text weight", 'uncode-core') ,
"param_name" => "text_weight",
"description" => esc_html__("Specify text weight.", 'uncode-core') ,
"value" => $heading_weight,
'std' => '',
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text transform", 'uncode-core') ,
"param_name" => "text_transform",
"description" => esc_html__("Specify the heading text transformation.", 'uncode-core') ,
"value" => array(
esc_html__('Default CSS', 'uncode-core') => '',
esc_html__('Uppercase', 'uncode-core') => 'uppercase',
esc_html__('Lowercase', 'uncode-core') => 'lowercase',
esc_html__('Capitalize', 'uncode-core') => 'capitalize'
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text line height", 'uncode-core') ,
"param_name" => "text_height",
"description" => esc_html__("Specify text line height.", 'uncode-core') ,
"value" => $heading_height,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text letter spacing", 'uncode-core') ,
"param_name" => "text_space",
"description" => esc_html__("Specify letter spacing.", 'uncode-core') ,
"value" => $heading_space,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Text italic", 'uncode-core') ,
"param_name" => "text_italic",
"description" => esc_html__("Transform the text to italic.", 'uncode-core') ,
"value" => array(
esc_html__('Normal', 'uncode-core') => '',
esc_html__('Italic', 'uncode-core') => 'yes',
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Text color", 'uncode-core') ,
"param_name" => "text_color",
"description" => esc_html__("Specify text color.", 'uncode-core') ,
"value" => $uncode_colors,
'group' => esc_html__('General', 'uncode-core')
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Separator", 'uncode-core') ,
"param_name" => "separator",
"description" => esc_html__("Activate the separator. This will appear under the text.", 'uncode-core') ,
"value" => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Under Heading', 'uncode-core') => 'yes',
esc_html__('Under Subheading', 'uncode-core') => 'under',
esc_html__('Over Heading', 'uncode-core') => 'over'
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Separator colored", 'uncode-core') ,
"param_name" => "separator_color",
"description" => esc_html__("Color the separator with the accent color.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
'dependency' => array(
'element' => 'separator',
'not_empty' => true,
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Separator double space", 'uncode-core') ,
"param_name" => "separator_double",
"description" => esc_html__("Activate to increase the separator space.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
'dependency' => array(
'element' => 'separator',
'not_empty' => true,
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
'type' => 'textarea',
'heading' => esc_html__('Subheading', 'uncode-core') ,
"param_name" => "subheading",
"description" => esc_html__("Add a subheading text.", 'uncode-core') ,
"group" => esc_html__("General", 'uncode-core') ,
'admin_label' => true,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Subheading Text large", 'uncode-core') ,
"param_name" => "sub_lead",
"description" => esc_html__("Activate if you want to enlarge the font size.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
"group" => esc_html__("General", 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Subheading reduced space", 'uncode-core') ,
"param_name" => "sub_reduced",
"description" => esc_html__("Activate this to reduce the subheading top margin.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
"group" => esc_html__("General", 'uncode-core') ,
) ,
$add_text_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'dropdown',
'heading' => esc_html__('Animation interval', 'uncode-core') ,
'param_name' => 'interval_animation',
'admin_label' => true,
'value' => array(
esc_html__('Default (ms 0)', 'uncode-core') => '',
esc_html__('ms 20', 'uncode-core') => 20,
esc_html__('ms 40', 'uncode-core') => 40,
esc_html__('ms 60', 'uncode-core') => 60,
esc_html__('ms 80', 'uncode-core') => 80,
esc_html__('ms 100', 'uncode-core') => 100,
esc_html__('ms 120', 'uncode-core') => 120,
esc_html__('ms 140', 'uncode-core') => 140,
esc_html__('ms 160', 'uncode-core') => 160,
esc_html__('ms 180', 'uncode-core') => 180,
esc_html__('ms 200', 'uncode-core') => 200,
esc_html__('ms 250', 'uncode-core') => 250,
esc_html__('ms 300', 'uncode-core') => 300,
esc_html__('ms 350', 'uncode-core') => 350,
esc_html__('ms 400', 'uncode-core') => 400,
esc_html__('ms 450', 'uncode-core') => 450,
esc_html__('ms 500', 'uncode-core') => 500,
) ,
'dependency' => array(
'element' => 'css_animation',
'value' => array(
'curtain',
'curtain-words',
'single-curtain',
'single-slide',
'single-slide-opposite',
'typewriter',
),
) ,
'group' => esc_html__('Animation', 'uncode-core') ,
'description' => esc_html__('Specify the interval between animations.', 'uncode-core')
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Desktop", 'uncode-core') ,
"param_name" => "desktop_visibility",
"description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Tablet", 'uncode-core') ,
"param_name" => "medium_visibility",
"description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Mobile", 'uncode-core') ,
"param_name" => "mobile_visibility",
"description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode-core') ,
'group' => esc_html__('Responsive', 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core')
) ,
) ,
));
/* Icon element
----------------------------------------------------------- */
vc_map(array(
'name' => esc_html__('Icon Box', 'uncode-core') ,
'base' => 'vc_icon',
'icon' => 'fa fa-star',
'weight' => 970,
'php_class_name' => 'uncode_generic_admin',
'category' => esc_html__('Content', 'uncode-core') ,
'description' => esc_html__('Icon Box Module', 'uncode-core') ,
'params' => array(
array(
"type" => 'dropdown',
"heading" => esc_html__("Icon position", 'uncode-core') ,
"param_name" => "position",
'admin_label' => true,
"value" => array(
esc_html__('Icon top', 'uncode-core') => '',
esc_html__('Icon bottom', 'uncode-core') => 'bottom',
esc_html__('Icon left', 'uncode-core') => 'left',
esc_html__('Icon right', 'uncode-core') => 'right',
) ,
'description' => esc_html__('Specify where the icon is positioned inside the module.', 'uncode-core') ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Title & text top", 'uncode-core') ,
"param_name" => "title_aligned_icon",
"description" => esc_html__("Activate this to align the title and text to top. NB. Default title is vertically middle aligned with the icon.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'position',
'value' => array(
'left',
'right'
)
) ,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Layout display', 'uncode-core') ,
'param_name' => 'display',
'description' => esc_html__('Specify the display mode.', 'uncode-core') ,
"value" => array(
esc_html__('Block', 'uncode-core') => '',
esc_html__('Inline', 'uncode-core') => 'inline',
esc_html__('Absolute', 'uncode-core') => 'absolute-center'
) ,
) ,
array(
'type' => 'iconpicker',
'heading' => esc_html__('Icon', 'uncode-core') ,
'param_name' => 'icon',
'description' => esc_html__('Specify icon from library.', 'uncode-core') ,
'value' => '',
'admin_label' => true,
'settings' => array(
'emptyIcon' => true,
'iconsPerPage' => 1100,
'type' => 'uncode'
) ,
) ,
array(
"type" => "media_element",
"heading" => esc_html__("Media icon", 'uncode-core') ,
"param_name" => "icon_image",
"value" => "",
"description" => esc_html__("Specify a media icon from the Media Library.", 'uncode-core') ,
) ,
array(
"type" => "dropdown",
"heading" => esc_html__("Icon color", 'uncode-core') ,
"param_name" => "icon_color",
"description" => esc_html__("Specify icon color. NB. This doesn't work for media icons.", 'uncode-core') ,
"value" => $uncode_colors,
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Icon background style', 'uncode-core') ,
'param_name' => 'background_style',
'value' => array(
esc_html__('None', 'uncode-core') => '',
esc_html__('Circle', 'uncode-core') => 'fa-rounded',
esc_html__('Square', 'uncode-core') => 'fa-squared',
) ,
'description' => esc_html__("Background style for icon. NB. This doesn't work for media icons.", 'uncode-core')
) ,
array(
'type' => 'dropdown',
'heading' => esc_html__('Icon size', 'uncode-core') ,
'param_name' => 'size',
'value' => $icon_sizes,
'std' => '',
'description' => esc_html__("Icon size. NB. This doesn't work for media icons.", 'uncode-core') ,
'dependency' => array(
'element' => 'icon_image',
'is_empty' => true,
) ,
) ,
array(
"type" => "textfield",
'heading' => esc_html__('Media icon size', 'uncode-core') ,
'param_name' => 'media_size',
'std' => '',
'description' => esc_html__("Media icon size in pixel. NB. If it's empty the default value is 50.", 'uncode-core') ,
'dependency' => array(
'element' => 'icon_image',
'not_empty' => true,
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Icon outlined', 'uncode-core') ,
'param_name' => 'outline',
'description' => esc_html__("Outlined icon doesn't have a full background color.", 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'background_style',
'not_empty' => true,
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Icon animated', 'uncode-core') ,
'param_name' => 'icon_automatic',
'description' => esc_html__("Activate the animation effect.", 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'background_style',
'not_empty' => true,
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Icon shadow', 'uncode-core') ,
'param_name' => 'shadow',
'description' => esc_html__('Icon shadow.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'background_style',
'not_empty' => true,
) ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Title', 'uncode-core') ,
'param_name' => 'title',
'admin_label' => true,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title semantic", 'uncode-core') ,
"param_name" => "heading_semantic",
"description" => esc_html__("Specify element tag.", 'uncode-core') ,
"value" => $heading_semantic,
'std' => 'h3',
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title font family", 'uncode-core') ,
"param_name" => "text_font",
"description" => esc_html__("Specify title font family.", 'uncode-core') ,
"value" => $heading_font,
'std' => '',
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title size", 'uncode-core') ,
"param_name" => "text_size",
"description" => esc_html__("Specify title size.", 'uncode-core') ,
'std' => 'h3',
"value" => $heading_size,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title weight", 'uncode-core') ,
"param_name" => "text_weight",
"description" => esc_html__("Specify title weight.", 'uncode-core') ,
"value" => $heading_weight,
'std' => '',
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title line height", 'uncode-core') ,
"param_name" => "text_height",
"description" => esc_html__("Specify text line height.", 'uncode-core') ,
"value" => $heading_height,
) ,
array(
"type" => 'dropdown',
"heading" => esc_html__("Title letter spacing", 'uncode-core') ,
"param_name" => "text_space",
"description" => esc_html__("Specify letter spacing.", 'uncode-core') ,
"value" => $heading_space,
) ,
array(
'type' => 'textarea_html',
'heading' => esc_html__('Text', 'uncode-core') ,
'param_name' => 'content',
'admin_label' => true,
"value" => '',
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Text large", 'uncode-core') ,
"param_name" => "text_lead",
"description" => esc_html__("Activate if you want to enlarge the font size.", 'uncode-core') ,
"value" => Array(
'' => 'yes'
) ,
) ,
array(
"type" => 'checkbox',
"heading" => esc_html__("Text top space reduced", 'uncode-core') ,
"param_name" => "text_reduced",
"description" => esc_html__("Activate this to reduce the text top margin.", 'uncode-core') ,
"value" => Array(
esc_html__("Yes, please", 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'position',
'value' => array(
'',
'bottom'
)
) ,
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Add top margin', 'uncode-core') ,
'param_name' => 'add_margin',
'description' => esc_html__('Add text top margin.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
'dependency' => array(
'element' => 'position',
'value' => array(
'left',
'right'
)
) ,
) ,
array(
'type' => 'vc_link',
'heading' => esc_html__('URL (Link)', 'uncode-core') ,
'param_name' => 'link',
'description' => esc_html__('Add link to icon.', 'uncode-core')
) ,
array(
'type' => 'checkbox',
'heading' => esc_html__('Title linked', 'uncode-core') ,
'param_name' => 'linked_title',
'description' => esc_html__('Activate this to enable the Url (Link) or Media Lightbox in the title element.', 'uncode-core') ,
'value' => array(
esc_html__('Yes, please', 'uncode-core') => 'yes'
) ,
) ,
array(
'type' => 'media_element',
'heading' => esc_html__('Media lightbox', 'uncode-core') ,
'param_name' => 'media_lightbox',
'description' => esc_html__('Specify a media from the lightbox.', 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Link text', 'uncode-core') ,
'param_name' => 'link_text',
'description' => esc_html__('Add a text link if you wish, this will be added under the text.', 'uncode-core')
) ,
$add_css_animation,
$add_animation_speed,
$add_animation_delay,
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'group' => esc_html__('Extra', 'uncode-core') ,
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core')
) ,
) ,
));
/* Gutenberg VC module
----------------------------------------------------------- */
vc_map(array(
'name' => esc_html__( 'Gutenberg Editor', 'uncode-core' ),
'base' => 'vc_gutenberg',
'icon' => 'fa fa-google',
'wrapper_class' => 'clearfix',
'category' => esc_html__( 'Content', 'uncode-core' ),
'description' => esc_html__( 'Insert Gutenberg editor in your layout', 'uncode-core' ),
'weight' => -10,
'params' => array(
array(
'type' => 'gutenberg',
'holder' => 'div',
'heading' => esc_html__( 'Gutengerg Editor', 'uncode-core' ),
'description' => esc_html__( 'Insert Gutenberg editor in your layout', 'uncode-core' ),
'param_name' => 'content',
'value' => esc_html__( 'I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', 'uncode-core' ),
),
/*$add_css_animation,
$add_animation_speed,
$add_animation_delay,*/
array(
'type' => 'textfield',
'heading' => esc_html__('Element ID', 'uncode-core') ,
'param_name' => 'el_id',
'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode-core') ,
"group" => esc_html__("Extra", 'uncode-core') ,
) ,
array(
'type' => 'textfield',
'heading' => esc_html__('Extra class name', 'uncode-core') ,
'param_name' => 'el_class',
'description' => esc_html__('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'uncode-core') ,
'group' => esc_html__('Extra', 'uncode-core')
),
array(
'type' => 'css_editor',
'heading' => esc_html__( 'CSS box', 'uncode-core' ),
'param_name' => 'css',
'group' => esc_html__( 'Design Options', 'uncode-core' ),
),
),
));
//vc_remove_element( "add_to_cart" );
//vc_remove_element( "add_to_cart_url" );