} else {
            if ($media_mime === 'image/url') {
                $a_href = $media_attributes->guid;
            } else {
                $media_oembed = uncode_get_oembed($media_lightbox, $media_attributes->guid, $media_attributes->post_mime_type, false, $media_attributes->post_excerpt, $media_attributes->post_content, true);
                if ($media_mime === 'oembed/html' || $media_mime === 'oembed/iframe') {
                    $frame_id = 'frame-' . big_rand();
                    $a_href = '#' . $frame_id;
                    echo '<div id="' . $frame_id . '" style="display: none;">' . $media_attributes->post_content . '</div>';
                } else {
                    $a_href = $media_oembed['code'];
                }
            }
        }
    }
    $lightbox_data = ' data-lbox="ilightbox_single-' . big_rand() . '"';
} else {
    $lightbox_data = '';
}
// Prepare button classes
$wrapper_class = array('btn-container');
$classes = array('btn');
$div_data = array();
// Additional classes
if ($el_class) {
    $classes[] = $el_class;
}
// Size class
if ($size) {
    $classes[] = $size;
}
}
// Exit if accessed directly
global $post, $woocommerce, $product;
?>
<div class="images">

	<?php 
if (has_post_thumbnail()) {
    $image_title = esc_attr(get_the_title(get_post_thumbnail_id()));
    $image_attributes = uncode_get_media_info(get_post_thumbnail_id());
    $image_metavalues = unserialize($image_attributes->metadata);
    $image_resized = uncode_resize_image($image_attributes->guid, $image_attributes->path, $image_metavalues['width'], $image_metavalues['height'], 5, null, false);
    $image_link = $image_attributes->guid;
    $image = '<img src="' . $image_resized['url'] . '" width="' . $image_resized['width'] . '" height="' . $image_resized['height'] . '" />';
    $attachment_count = count($product->get_gallery_attachment_ids());
    if ($attachment_count > 0) {
        global $gallery_id;
        $gallery_id = big_rand();
    }
    echo apply_filters('woocommerce_single_product_image_html', sprintf('<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s" data-options="thumbnail: \'' . $image_resized['url'] . '\'" data-lbox="ilightbox_gallery-' . $gallery_id . '">%s</a>', $image_link, $image_title, $image), $post->ID);
} else {
    echo apply_filters('woocommerce_single_product_image_html', sprintf('<img src="%s" alt="%s" />', wc_placeholder_img_src(), esc_html__('Placeholder', 'woocommerce')), $post->ID);
}
?>

	<?php 
do_action('woocommerce_product_thumbnails');
?>

</div>
    $the_content = get_the_content();
    if (has_shortcode($the_content, 'vc_row')) {
        $with_builder = true;
    }
    $the_content = apply_filters('the_content', $the_content);
    $text_content = apply_filters('the_content', get_the_excerpt());
    /** Build media **/
    if ($media !== '' && !$with_builder && $show_media) {
        if ($layout === 'sidebar_right' || $layout === 'sidebar_left') {
            $media_size = 12 - $sidebar_size;
        } else {
            $media_size = 12;
        }
        $media_array = explode(',', $media);
        $media_counter = count($media_array);
        $rand_id = big_rand();
        if ($media_counter === 0) {
            $media_array = array($media);
        }
        if ($media_display === 'isotope') {
            $media_content .= '<div id="gallery-' . $rand_id . '" class="isotope-system">
					<div class="isotope-wrapper half-gutter">
      			<div class="isotope-container isotope-layout style-masonry" data-type="masonry" data-layout="masonry" data-lg="1000" data-md="600" data-sm="480">';
        }
        foreach ($media_array as $key => $value) {
            if ($media_display === 'carousel') {
                $value = $media;
            }
            $block_data = array();
            $block_data['tmb_data'] = array();
            $block_layout['media'] = array();
					<div class="uncoltable">
						<div class="uncell no-block-padding">
							<div class="uncont">
								' . $ordering_content . '
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>';
$the_content .= uncode_get_row_template($body_head, $limit_width, $limit_content_width, $style, '', false, false, true);
if (have_posts()) {
    woocommerce_product_subcategories();
    global $wp_query;
    $posts_counter = $wp_query->post_count;
    $the_content .= '<div id="index-' . big_rand() . '" class="isotope-system' . ($posts_counter === 1 ? ' index-single' : '') . '">
			<div class="isotope-wrapper single-gutter">
				<div class="isotope-container isotope-layout style-masonry isotope-pagination" data-type="masonry" data-layout="fitRows" data-lg="800">';
    /* Start the Loop */
    while (have_posts()) {
        the_post();
        ob_start();
        wc_get_template_part('content', 'product');
        $the_content .= ob_get_clean();
    }
    $the_content .= '</div>
			</div>
		</div>';
} else {
    ob_start();
    get_template_part('content', 'none');
$target_arr = array(esc_html__('Same window', 'uncode') => '_self', esc_html__('New window', 'uncode') => "_blank");
$border_style = array(esc_html__('None', 'uncode') => '', esc_html__('Solid', 'uncode') => 'solid', esc_html__('Dotted', 'uncode') => 'dotted', esc_html__('Dashed', 'uncode') => 'dashed', esc_html__('Double', 'uncode') => 'double', esc_html__('Groove', 'uncode') => 'groove', esc_html__('Ridge', 'uncode') => 'ridge', esc_html__('Inset', 'uncode') => 'inset', esc_html__('Outset', 'uncode') => 'outset', esc_html__('Initial', 'uncode') => 'initial', esc_html__('Inherit', 'uncode') => 'inherit');
$add_css_animation = array('type' => 'dropdown', 'heading' => esc_html__('Animation', 'uncode'), 'param_name' => 'css_animation', 'admin_label' => true, 'value' => array(esc_html__('No', 'uncode') => '', esc_html__('Opacity', 'uncode') => 'alpha-anim', esc_html__('Zoom in', 'uncode') => 'zoom-in', esc_html__('Zoom out', 'uncode') => 'zoom-out', esc_html__('Top to bottom', 'uncode') => 'top-t-bottom', esc_html__('Bottom to top', 'uncode') => 'bottom-t-top', esc_html__('Left to right', 'uncode') => 'left-t-right', esc_html__('Right to left', 'uncode') => 'right-t-left'), 'group' => esc_html__('Animation', 'uncode'), 'description' => esc_html__('Specify the entrance animation.', 'uncode'));
$add_animation_delay = array('type' => 'dropdown', 'heading' => esc_html__('Animation delay', 'uncode'), 'param_name' => 'animation_delay', 'value' => array(esc_html__('None', 'uncode') => '', esc_html__('ms 100', 'uncode') => 100, esc_html__('ms 200', 'uncode') => 200, esc_html__('ms 300', 'uncode') => 300, esc_html__('ms 400', 'uncode') => 400, esc_html__('ms 500', 'uncode') => 500, esc_html__('ms 600', 'uncode') => 600, esc_html__('ms 700', 'uncode') => 700, esc_html__('ms 800', 'uncode') => 800, esc_html__('ms 900', 'uncode') => 900, esc_html__('ms 1000', 'uncode') => 1000, esc_html__('ms 1100', 'uncode') => 1100, esc_html__('ms 1200', 'uncode') => 1200, esc_html__('ms 1300', 'uncode') => 1300, esc_html__('ms 1400', 'uncode') => 1400, esc_html__('ms 1500', 'uncode') => 1500, esc_html__('ms 1600', 'uncode') => 1600, esc_html__('ms 1700', 'uncode') => 1700, esc_html__('ms 1800', 'uncode') => 1800, esc_html__('ms 1900', 'uncode') => 1900, esc_html__('ms 2000', 'uncode') => 2000), 'group' => esc_html__('Animation', 'uncode'), 'description' => esc_html__('Specify the entrance animation delay in milliseconds.', 'uncode'), 'admin_label' => true, 'dependency' => array('element' => 'css_animation', 'not_empty' => true));
$add_animation_speed = array('type' => 'dropdown', 'heading' => esc_html__('Animation speed', 'uncode'), 'param_name' => 'animation_speed', 'admin_label' => true, 'value' => array(esc_html__('Default (400)', 'uncode') => '', esc_html__('ms 100', 'uncode') => 100, esc_html__('ms 200', 'uncode') => 200, esc_html__('ms 300', 'uncode') => 300, esc_html__('ms 400', 'uncode') => 400, esc_html__('ms 500', 'uncode') => 500, esc_html__('ms 600', 'uncode') => 600, esc_html__('ms 700', 'uncode') => 700, esc_html__('ms 800', 'uncode') => 800, esc_html__('ms 900', 'uncode') => 900, esc_html__('ms 1000', 'uncode') => 1000), 'group' => esc_html__('Animation', 'uncode'), 'description' => esc_html__('Specify the entrance animation speed in milliseconds.', 'uncode'), 'dependency' => array('element' => 'css_animation', 'not_empty' => true));
$add_background_repeat = array('type' => 'dropdown', 'heading' => '', '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'), array('a' => array('href' => array(), 'target' => array()))), 'param_name' => 'back_repeat', 'param_holder_class' => 'background-image-settings', 'value' => array(esc_html__('background-repeat', 'uncode') => '', esc_html__('No Repeat', 'uncode') => 'no-repeat', esc_html__('Repeat All', 'uncode') => 'repeat', esc_html__('Repeat Horizontally', 'uncode') => 'repeat-x', esc_html__('Repeat Vertically', 'uncode') => 'repeat-y', esc_html__('Inherit', 'uncode') => 'inherit'), 'dependency' => array('element' => 'back_image', 'not_empty' => true), "group" => esc_html__("Style", 'uncode'));
$add_background_attachment = array('type' => 'dropdown', 'heading' => '', "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'), array('a' => array('href' => array(), 'target' => array()))), 'param_name' => 'back_attachment', 'value' => array(esc_html__('background-attachement', 'uncode') => '', esc_html__('Fixed', 'uncode') => 'fixed', esc_html__('Scroll', 'uncode') => 'scroll', esc_html__('Inherit', 'uncode') => 'inherit'), 'dependency' => array('element' => 'back_image', 'not_empty' => true), "group" => esc_html__("Style", 'uncode'));
$add_background_position = array('type' => 'dropdown', 'heading' => '', "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'), array('a' => array('href' => array(), 'target' => array()))), 'param_name' => 'back_position', 'value' => array(esc_html__('background-position', 'uncode') => '', esc_html__('Left Top', 'uncode') => 'left top', esc_html__('Left Center', 'uncode') => 'left center', esc_html__('Left Bottom', 'uncode') => 'left bottom', esc_html__('Center Top', 'uncode') => 'center top', esc_html__('Center Center', 'uncode') => 'center center', esc_html__('Center Bottom', 'uncode') => 'center bottom', esc_html__('Right Top', 'uncode') => 'right top', esc_html__('Right Center', 'uncode') => 'right center', esc_html__('Right Bottom', 'uncode') => 'right bottom'), 'dependency' => array('element' => 'back_image', 'not_empty' => true), "group" => esc_html__("Style", 'uncode'));
$add_background_size = array('type' => 'textfield', 'heading' => '', "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'), array('a' => array('href' => array(), 'target' => array()))), 'param_name' => 'back_size', 'dependency' => array('element' => 'back_image', 'not_empty' => true), "group" => esc_html__("Style", 'uncode'));
vc_map(array('name' => esc_html__('Row', 'uncode'), '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'), 'description' => esc_html__('Row container element', 'uncode'), 'params' => array(array("type" => 'checkbox', "heading" => esc_html__("Container width", 'uncode'), "param_name" => "unlock_row", "description" => esc_html__("Define the width of the container.", 'uncode'), "value" => array('' => 'yes'), "std" => 'yes', "group" => esc_html__("Aspect", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Content width", 'uncode'), "param_name" => "unlock_row_content", "description" => esc_html__("Define the width of the content area.", 'uncode'), "value" => array('' => 'yes'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'unlock_row', 'value' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Height", 'uncode'), "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>N.B. This value is including the top and bottom padding.", 'uncode'), array('br' => array())), "group" => esc_html__("Aspect", 'uncode')), array('type' => 'textfield', 'heading' => esc_html__("Min height", 'uncode'), 'param_name' => 'row_height_pixel', 'description' => esc_html__("Insert the row minimum height in pixel.", 'uncode'), "group" => esc_html__("Aspect", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Custom padding", 'uncode'), "param_name" => "override_padding", "description" => esc_html__('Activate this to define custom paddings.', 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Left and right padding", 'uncode'), "param_name" => "h_padding", "min" => 0, "max" => 7, "step" => 1, "value" => 2, "description" => esc_html__("Set the left and right padding.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "dependency" => array('element' => "override_padding", 'value' => array('yes'))), array("type" => "type_numeric_slider", "heading" => esc_html__("Top padding", 'uncode'), "param_name" => "top_padding", "min" => 0, "max" => 7, "step" => 1, "value" => 2, "description" => esc_html__("Set the top padding.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "dependency" => array('element' => "override_padding", 'value' => array('yes'))), array("type" => "type_numeric_slider", "heading" => esc_html__("Bottom padding", 'uncode'), "param_name" => "bottom_padding", "min" => 0, "max" => 7, "step" => 1, "value" => 2, "description" => esc_html__("Set the bottom padding.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "dependency" => array('element' => "override_padding", 'value' => array('yes'))), array("type" => "dropdown", "heading" => esc_html__("Background color", 'uncode'), "param_name" => "back_color", "description" => esc_html__("Specify a background color for the row.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "media_element", "heading" => esc_html__("Background media", 'uncode'), "param_name" => "back_image", "value" => "", "description" => esc_html__("Specify a media from the media library.", 'uncode'), "group" => esc_html__("Style", 'uncode')), $add_background_repeat, $add_background_attachment, $add_background_position, $add_background_size, array("type" => 'checkbox', "heading" => esc_html__("Parallax", 'uncode'), "param_name" => "parallax", "description" => esc_html__("Activate this to have the background parallax effect.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "dependency" => array('element' => "back_image", 'not_empty' => true), "group" => esc_html__("Style", 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "overlay_color", "description" => esc_html__("Specify an overlay color for the background.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "type_numeric_slider", "heading" => '', "param_name" => "overlay_alpha", "min" => 0, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the transparency for the overlay.", 'uncode'), "group" => esc_html__("Style", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Columns with equal height", 'uncode'), "param_name" => "equal_height", "description" => esc_html__("Activate this to have columns that are all equally tall, matching the height of the tallest.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Inner columns", 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Columns gap", 'uncode'), "param_name" => "gutter_size", "min" => 0, "max" => 4, "step" => 1, "value" => 3, "description" => esc_html__("Set the columns gap.", 'uncode'), "group" => esc_html__("Inner columns", 'uncode')), array('type' => 'css_editor', 'heading' => esc_html__('Css', 'uncode'), 'param_name' => 'css', 'group' => esc_html__('Custom', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Border color", 'uncode'), "param_name" => "border_color", "description" => esc_html__("Specify a border color.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $uncode_colors_w_transp), array("type" => "dropdown", "heading" => esc_html__("Border style", 'uncode'), "param_name" => "border_style", "description" => esc_html__("Specify a border style.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $border_style), array("type" => 'checkbox', "heading" => esc_html__("Desktop", 'uncode'), "param_name" => "desktop_visibility", "description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Tablet", 'uncode'), "param_name" => "medium_visibility", "description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Mobile", 'uncode'), "param_name" => "mobile_visibility", "description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift y-axis", 'uncode'), "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.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift y-axis fixed", 'uncode'), "param_name" => "shift_y_fixed", "description" => esc_html__("Deactive shift-y responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array('type' => 'textfield', 'heading' => esc_html__('Extra class', 'uncode'), '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'), "group" => esc_html__("Extra", 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Section name', 'uncode'), 'param_name' => 'row_name', 'description' => esc_html__('Required for the onepage scroll, this gives the name to the section.', 'uncode'), "group" => esc_html__("Extra", 'uncode'))), 'js_view' => 'UncodeRowView'));
vc_map(array('name' => esc_html__('Row', 'uncode'), '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' => array(array("type" => "type_numeric_slider", 'heading' => esc_html__("Height", 'uncode'), "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>N.B. This value is relative to the row parent.", 'uncode'), array('br' => array())), "group" => esc_html__("Aspect", 'uncode')), array('type' => 'textfield', 'heading' => esc_html__("Min height", 'uncode'), 'param_name' => 'row_height_pixel', 'description' => esc_html__("Insert the row minimum height in pixel.", 'uncode'), "group" => esc_html__("Aspect", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Force width 100%", 'uncode'), "param_name" => "force_width_grid", "description" => wp_kses(__('Set this value if you need to force the width to 100%.<br>N.B. This is needed only when all the columns are OFF-GRID.', 'uncode'), array('br' => array(), 'b' => array())), "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "dropdown", "heading" => esc_html__("Background color", 'uncode'), "param_name" => "back_color", "description" => esc_html__("Specify a background color for the row.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "media_element", "heading" => esc_html__("Background media", 'uncode'), "param_name" => "back_image", "value" => "", "description" => esc_html__("Specify a media from the media library.", 'uncode'), "group" => esc_html__("Style", 'uncode')), $add_background_repeat, $add_background_attachment, $add_background_position, $add_background_size, array("type" => 'checkbox', "heading" => esc_html__("Parallax", 'uncode'), "param_name" => "parallax", "description" => esc_html__("Activate this to have the background parallax effect.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "dependency" => array('element' => "back_image", 'not_empty' => true), "group" => esc_html__("Style", 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "overlay_color", "description" => esc_html__("Specify an overlay color for the background.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "type_numeric_slider", "heading" => '', "param_name" => "overlay_alpha", "min" => 0, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the transparency for the overlay.", 'uncode'), "group" => esc_html__("Style", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Columns with equal height", 'uncode'), "param_name" => "equal_height", "description" => esc_html__("Activate this to have columns that are all equally tall, matching the height of the tallest.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Inner columns", 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Columns gap", 'uncode'), "param_name" => "gutter_size", "min" => 0, "max" => 4, "step" => 1, "value" => 3, "description" => esc_html__("Set the columns gap.", 'uncode'), "group" => esc_html__("Inner columns", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Desktop", 'uncode'), "param_name" => "desktop_visibility", "description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Tablet", 'uncode'), "param_name" => "medium_visibility", "description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Mobile", 'uncode'), "param_name" => "mobile_visibility", "description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift y-axis", 'uncode'), "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.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift y-axis fixed", 'uncode'), "param_name" => "shift_y_fixed", "description" => esc_html__("Deactive shift-y responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array('type' => 'css_editor', 'heading' => esc_html__('Css', 'uncode'), 'param_name' => 'css', 'group' => esc_html__('Custom', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Border color", 'uncode'), "param_name" => "border_color", "description" => esc_html__("Specify a border color.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $uncode_colors_w_transp), array("type" => "dropdown", "heading" => esc_html__("Border style", 'uncode'), "param_name" => "border_style", "description" => esc_html__("Specify a border style.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $border_style), array('type' => 'textfield', 'heading' => esc_html__('Extra class', 'uncode'), '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'), "group" => esc_html__("Extra", 'uncode'))), 'js_view' => 'UncodeRowView'));
vc_map(array("name" => esc_html__("Column", 'uncode'), "base" => "vc_column", "is_container" => true, "content_element" => false, "params" => array(array("type" => 'checkbox', "heading" => esc_html__("Content width", 'uncode'), "param_name" => "column_width_use_pixel", "edit_field_class" => 'vc_col-sm-12 vc_column row_height', "description" => 'Set this value if you want to constrain the column width.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => '', "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'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'column_width_use_pixel', 'is_empty' => true)), array('type' => 'textfield', 'heading' => '', 'param_name' => 'column_width_pixel', 'description' => esc_html__("Insert the column width in pixel.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'column_width_use_pixel', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Horizontal position", 'uncode'), "param_name" => "position_horizontal", "description" => esc_html__("Specify the horizontal position of the content if you have decreased the width value.", 'uncode'), "std" => 'center', "value" => array('Left' => 'left', 'Center' => 'center', 'Right' => 'right'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Vertical position", 'uncode'), "param_name" => "position_vertical", "description" => esc_html__("Specify the vertical position of the content.", 'uncode'), "value" => array('Top' => 'top', 'Middle' => 'middle', 'Bottom' => 'bottom'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Text alignment", 'uncode'), "param_name" => "align_horizontal", "description" => esc_html__("Specify the alignment inside the content box.", 'uncode'), "value" => array('Left' => 'align_left', 'Center' => 'align_center', 'Right' => 'align_right'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Expand height to 100%", 'uncode'), "param_name" => "expand_height", "description" => esc_html__("Activate this to expand the height of the column to 100%, if you haven't activate the equal height row setting.", 'uncode'), 'group' => esc_html__('Aspect', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Custom padding", 'uncode'), "param_name" => "override_padding", "description" => esc_html__('Activate this to define custom paddings.', 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Custom padding", 'uncode'), "param_name" => "column_padding", "min" => 0, "max" => 5, "step" => 1, "value" => 2, "description" => esc_html__("Set the column padding", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "dependency" => array('element' => "override_padding", 'value' => array('yes'))), array("type" => "dropdown", "heading" => esc_html__("Column text skin", 'uncode'), "param_name" => "style", "value" => array(esc_html__('Inherit', 'uncode') => '', esc_html__('Light', 'uncode') => 'light', esc_html__('Dark', 'uncode') => 'dark'), 'group' => esc_html__('Style', 'uncode'), "description" => esc_html__("Specify the text/skin color of the column.", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Column font family", 'uncode'), "param_name" => "font_family", "description" => esc_html__("Specify the column font family.", 'uncode'), "value" => $heading_font, 'std' => '', 'group' => esc_html__('Style', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Column custom background color", 'uncode'), "param_name" => "back_color", "description" => esc_html__("Specify a background color for the column.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Style', 'uncode')), array("type" => "media_element", "heading" => esc_html__("Media", 'uncode'), "param_name" => "back_image", "value" => "", "description" => esc_html__("Specify a media from the media library.", 'uncode'), 'group' => esc_html__('Style', 'uncode')), $add_background_repeat, $add_background_attachment, $add_background_position, $add_background_size, array("type" => 'checkbox', "heading" => esc_html__("Parallax", 'uncode'), "param_name" => "parallax", "description" => esc_html__("Activate this to have the background parallax effect.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "dependency" => array('element' => "back_image", 'not_empty' => true), "group" => esc_html__("Style", 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "overlay_color", "description" => esc_html__("Specify an overlay color for the background.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "type_numeric_slider", "heading" => '', "param_name" => "overlay_alpha", "min" => 0, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the transparency for the overlay.", 'uncode'), "group" => esc_html__("Style", 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Vertical gap", 'uncode'), "param_name" => "gutter_size", "min" => 0, "max" => 6, "step" => 1, "value" => 3, "description" => esc_html__("Set the vertical space between elements.", 'uncode'), "group" => esc_html__("Inner elements", 'uncode')), array("type" => "css_editor", "heading" => esc_html__('Css', 'uncode'), "param_name" => "css", "group" => esc_html__('Custom', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Border color", 'uncode'), "param_name" => "border_color", "description" => esc_html__("Specify a border color.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $uncode_colors_w_transp), array("type" => "dropdown", "heading" => esc_html__("Border style", 'uncode'), "param_name" => "border_style", "description" => esc_html__("Specify a border style.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $border_style), array("type" => 'checkbox', "heading" => esc_html__("Desktop", 'uncode'), "param_name" => "desktop_visibility", "description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Tablet", 'uncode'), "param_name" => "medium_visibility", "description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'dropdown', "param_name" => "align_medium", "description" => esc_html__("Specify the text alignment inside the content box in tablet layout mode.", 'uncode'), "value" => array('Text align (Inherit)' => '', 'Left' => 'align_left_tablet', 'Center' => 'align_center_tablet', 'Right' => 'align_right_tablet'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "type_numeric_slider", "param_name" => "medium_width", "min" => 0, "max" => 7, "step" => 1, "value" => 0, "description" => esc_html__("COLUMN WIDTH. N.B. If you change this value for one column you must specify a value for every column of the row.", 'uncode'), "group" => esc_html__("Responsive", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Mobile", 'uncode'), "param_name" => "mobile_visibility", "description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'dropdown', "param_name" => "align_mobile", "description" => esc_html__("Specify the text alignment inside the content box in mobile layout mode.", 'uncode'), "value" => array('Text align (Inherit)' => '', 'Left' => 'align_left_mobile', 'Center' => 'align_center_mobile', 'Right' => 'align_right_mobile'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "textfield", "param_name" => "mobile_height", "description" => esc_html__("MINIMUM HEIGHT. Insert the value in pixel.", 'uncode'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift x-axis", 'uncode'), "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'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift x-axis fixed", 'uncode'), "param_name" => "shift_x_fixed", "description" => esc_html__("Deactive shift-x responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift y-axis", 'uncode'), "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.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift y-axis fixed", 'uncode'), "param_name" => "shift_y_fixed", "description" => esc_html__("Deactive shift-y responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Custom z-index", 'uncode'), "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'), 'group' => esc_html__('Off-grid', 'uncode')), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'vc_link', 'heading' => esc_html__('Custom link', 'uncode'), 'param_name' => 'link_to', 'description' => esc_html__('Enter a custom link for the column.', 'uncode'), 'group' => esc_html__('Extra', 'uncode')), array("type" => "textfield", "heading" => esc_html__("Extra class", 'uncode'), "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'), 'group' => esc_html__('Extra', 'uncode'))), "js_view" => 'UncodeColumnView'));
vc_map(array("name" => esc_html__("Column", 'uncode'), "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'), "param_name" => "column_width_use_pixel", "edit_field_class" => 'vc_col-sm-12 vc_column row_height', "description" => 'Set this value if you want to constrain the column width.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => '', "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'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'column_width_use_pixel', 'is_empty' => true)), array('type' => 'textfield', 'heading' => '', 'param_name' => 'column_width_pixel', 'description' => esc_html__("Insert the column width in pixel.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'column_width_use_pixel', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Horizontal position", 'uncode'), "param_name" => "position_horizontal", "description" => esc_html__("Specify the horizontal position of the content if you have decreased the width value.", 'uncode'), "std" => 'center', "value" => array('Left' => 'left', 'Center' => 'center', 'Right' => 'right'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Vertical position", 'uncode'), "param_name" => "position_vertical", "description" => esc_html__("Specify the vertical position of the content.", 'uncode'), "value" => array('Top' => 'top', 'Middle' => 'middle', 'Bottom' => 'bottom'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Text alignment", 'uncode'), "param_name" => "align_horizontal", "description" => esc_html__("Specify the alignment inside the content box.", 'uncode'), "value" => array('Left' => 'align_left', 'Center' => 'align_center', 'Right' => 'align_right'), 'group' => esc_html__('Aspect', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Expand height to 100%", 'uncode'), "param_name" => "expand_height", "description" => esc_html__("Activate this to expand the height of the column to 100%, if you haven't activate the equal height row setting.", 'uncode'), 'group' => esc_html__('Aspect', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Custom padding", 'uncode'), "param_name" => "override_padding", "description" => esc_html__('Activate this to define custom paddings.', 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Custom padding", 'uncode'), "param_name" => "column_padding", "min" => 0, "max" => 5, "step" => 1, "value" => 2, "description" => esc_html__("Set the column padding", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), "dependency" => array('element' => "override_padding", 'value' => array('yes'))), array("type" => "dropdown", "heading" => esc_html__("Column text skin", 'uncode'), "param_name" => "style", "value" => array(esc_html__('Inherit', 'uncode') => '', esc_html__('Light', 'uncode') => 'light', esc_html__('Dark', 'uncode') => 'dark'), 'group' => esc_html__('Style', 'uncode'), "description" => esc_html__("Specify the text/skin color of the column.", 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Vertical gap", 'uncode'), "param_name" => "gutter_size", "min" => 0, "max" => 6, "step" => 1, "value" => 3, "description" => esc_html__("Set the vertical space between elements.", 'uncode'), "group" => esc_html__("Inner elements", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Column font family", 'uncode'), "param_name" => "font_family", "description" => esc_html__("Specify the column font family.", 'uncode'), "value" => $heading_font, 'std' => '', 'group' => esc_html__('Style', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Column custom background color", 'uncode'), "param_name" => "back_color", "description" => esc_html__("Specify a background color for the column.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Style', 'uncode')), array("type" => "media_element", "heading" => esc_html__("Media", 'uncode'), "param_name" => "back_image", "value" => "", "description" => esc_html__("Specify a media from the media library.", 'uncode'), 'group' => esc_html__('Style', 'uncode')), $add_background_repeat, $add_background_attachment, $add_background_position, $add_background_size, array("type" => 'checkbox', "heading" => esc_html__("Parallax", 'uncode'), "param_name" => "parallax", "description" => esc_html__("Activate this to have the background parallax effect.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "dependency" => array('element' => "back_image", 'not_empty' => true), "group" => esc_html__("Style", 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "overlay_color", "description" => esc_html__("Specify an overlay color for the background.", 'uncode'), "group" => esc_html__("Style", 'uncode'), "value" => $uncode_colors), array("type" => "type_numeric_slider", "heading" => '', "param_name" => "overlay_alpha", "min" => 0, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the transparency for the overlay.", 'uncode'), "group" => esc_html__("Style", 'uncode')), array("type" => "css_editor", "heading" => esc_html__('Css', 'uncode'), "param_name" => "css", "group" => esc_html__('Custom', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Border color", 'uncode'), "param_name" => "border_color", "description" => esc_html__("Specify a border color.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $uncode_colors_w_transp), array("type" => "dropdown", "heading" => esc_html__("Border style", 'uncode'), "param_name" => "border_style", "description" => esc_html__("Specify a border style.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $border_style), array("type" => 'checkbox', "heading" => esc_html__("Desktop", 'uncode'), "param_name" => "desktop_visibility", "description" => esc_html__("Choose the visibiliy of the element in desktop layout mode (960px >).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Tablet", 'uncode'), "param_name" => "medium_visibility", "description" => esc_html__("Choose the visibiliy of the element in tablet layout mode (570px > < 960px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'dropdown', "param_name" => "align_medium", "description" => esc_html__("Specify the text alignment inside the content box in tablet layout mode.", 'uncode'), "value" => array('Text align (Inherit)' => '', 'Left' => 'align_left_tablet', 'Center' => 'align_center_tablet', 'Right' => 'align_right_tablet'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "type_numeric_slider", "param_name" => "medium_width", "min" => 0, "max" => 7, "step" => 1, "value" => 0, "description" => esc_html__("COLUMN WIDTH. N.B. If you change this value for one column you must specify a value for every column of the row.", 'uncode'), "group" => esc_html__("Responsive", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Mobile", 'uncode'), "param_name" => "mobile_visibility", "description" => esc_html__("Choose the visibiliy of the element in mobile layout mode (< 570px).", 'uncode'), 'group' => esc_html__('Responsive', 'uncode'), "value" => array('' => 'yes')), array("type" => 'dropdown', "param_name" => "align_mobile", "description" => esc_html__("Specify the text alignment inside the content box in mobile layout mode.", 'uncode'), "value" => array('Text align (Inherit)' => '', 'Left' => 'align_left_mobile', 'Center' => 'align_center_mobile', 'Right' => 'align_right_mobile'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "textfield", "param_name" => "mobile_height", "description" => esc_html__("MINIMUM HEIGHT. Insert the value in pixel.", 'uncode'), 'group' => esc_html__('Responsive', 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift x-axis", 'uncode'), "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'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift x-axis fixed", 'uncode'), "param_name" => "shift_x_fixed", "description" => esc_html__("Deactive shift-x responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Shift y-axis", 'uncode'), "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.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shift y-axis fixed", 'uncode'), "param_name" => "shift_y_fixed", "description" => esc_html__("Deactive shift-y responsiveness.", 'uncode'), 'group' => esc_html__('Off-grid', 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Custom z-index", 'uncode'), "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'), 'group' => esc_html__('Off-grid', 'uncode')), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'vc_link', 'heading' => esc_html__('Custom link', 'uncode'), 'param_name' => 'link_to', 'description' => esc_html__('Enter a custom link for the column.', 'uncode'), 'group' => esc_html__('Extra', 'uncode')), array("type" => "textfield", "heading" => esc_html__("Extra class", 'uncode'), "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'), 'group' => esc_html__('Extra', 'uncode'))), "js_view" => 'UncodeColumnView'));
/* Gallery/Slideshow
 ---------------------------------------------------------- */
vc_map(array('name' => esc_html__('Media Gallery', 'uncode'), 'base' => 'vc_gallery', 'php_class_name' => 'uncode_generic_admin', 'weight' => 102, 'icon' => 'fa fa-th-large', 'category' => esc_html__('Content', 'uncode'), 'description' => esc_html__('Isotope grid or carousel layout', 'uncode'), 'params' => array(array('type' => 'textfield', 'heading' => esc_html__('Widget title', 'uncode'), 'param_name' => 'title', 'description' => esc_html__('Enter text which will be used as widget title. Leave blank if no title is needed.', 'uncode'), 'group' => esc_html__('General', 'uncode'), 'admin_label' => true), array('type' => 'textfield', 'heading' => esc_html__('Widget ID', 'uncode'), 'param_name' => 'el_id', 'value' => function_exists('big_rand') ? big_rand() : rand(), 'description' => esc_html__('This value has to be unique. Change it in case it\'s needed.', 'uncode'), 'group' => esc_html__('General', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Gallery module', 'uncode'), 'param_name' => 'type', 'value' => array(esc_html__('Isotope', 'uncode') => 'isotope', esc_html__('Carousel', 'uncode') => 'carousel'), 'admin_label' => true, 'description' => esc_html__('Specify gallery module type.', 'uncode'), 'group' => esc_html__('General', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Layout modes', 'uncode'), 'param_name' => 'isotope_mode', 'admin_label' => true, "description" => wp_kses(__("Specify the isotpe layout mode. <a href='http://isotope.metafizzy.co/layout-modes.html' target='_blank'>Check this for reference</a>", 'uncode'), array('a' => array('href' => array(), 'target' => array()))), "value" => array(esc_html__('Masonry', 'uncode') => 'masonry', esc_html__('Fit rows', 'uncode') => 'fitRows', esc_html__('Cells by row', 'uncode') => 'cellsByRow', esc_html__('Vertical', 'uncode') => 'vertical', esc_html__('Packery', 'uncode') => 'packery'), 'group' => esc_html__('General', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'isotope')), array('type' => 'media_element', 'heading' => esc_html__('Medias', 'uncode'), 'param_name' => 'medias', "edit_field_class" => 'vc_col-sm-12 vc_column uncode_gallery', 'value' => '', 'description' => esc_html__('Specify images from media library.', 'uncode'), 'group' => esc_html__('General', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Style", 'uncode'), "param_name" => "style_preset", "description" => esc_html__("Specify the alignment inside the content box.", 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope')), "value" => array(esc_html__('Masonry', 'uncode') => 'masonry', esc_html__('Metro', 'uncode') => 'metro'), 'group' => esc_html__('Module', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Gallery background color", 'uncode'), "param_name" => "gallery_back_color", "description" => esc_html__("Specify a background color for the module.", 'uncode'), "class" => 'uncode_colors', "value" => $uncode_colors, 'group' => esc_html__('Module', 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Number columns ( > 960px )', 'uncode'), 'param_name' => 'carousel_lg', 'value' => 3, 'description' => esc_html__('Insert the numbers of columns for the viewport from 960px.', 'uncode'), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array('type' => 'textfield', 'heading' => esc_html__('Number columns ( > 570px and < 960px )', 'uncode'), 'param_name' => 'carousel_md', 'value' => 3, 'description' => esc_html__('Insert the numbers of columns for the viewport from 570px to 960px.', 'uncode'), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array('type' => 'textfield', 'heading' => esc_html__('Number columns ( > 0px and < 570px )', 'uncode'), 'param_name' => 'carousel_sm', 'value' => 1, 'description' => esc_html__('Insert the numbers of columns for the viewport from 0 to 570px.', 'uncode'), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array('type' => 'dropdown', 'heading' => esc_html__('Thumbnail size', 'uncode'), 'param_name' => 'thumb_size', 'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode'), "value" => array(esc_html__('Regular', 'uncode') => '', esc_html__('1:1', 'uncode') => 'one-one', esc_html__('4:3', 'uncode') => 'four-three', esc_html__('3:2', 'uncode') => 'three-two', esc_html__('16:9', 'uncode') => 'sixteen-nine', esc_html__('21:9', 'uncode') => 'twentyone-nine', esc_html__('3:4', 'uncode') => 'three-four', esc_html__('2:3', 'uncode') => 'two-three', esc_html__('9:16', 'uncode') => 'nine-sixteen'), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => "type_numeric_slider", "heading" => esc_html__("Items gap", 'uncode'), "param_name" => "gutter_size", "min" => 0, "max" => 4, "step" => 1, "value" => 3, "description" => esc_html__("Set the items gap.", 'uncode'), "group" => esc_html__("Module", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Inner module padding", 'uncode'), "param_name" => "inner_padding", "description" => esc_html__("Activate this to have an inner padding with the same size as the items gap.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope'))), array('type' => 'sorted_list', 'heading' => esc_html__('Media', 'uncode'), 'param_name' => 'media_items', 'description' => esc_html__('Control teasers look. Enable blocks and place them in desired order. Note: This setting can be overridden on post to post basis.', 'uncode'), 'value' => 'media|lightbox|original,icon', "group" => esc_html__("Module", 'uncode'), 'options' => array(array('media', esc_html__('Media', 'uncode'), array(array('lightbox', esc_html__('Lightbox', 'uncode')), array('custom_link', esc_html__('Custom link', 'uncode')), array('nolink', esc_html__('No link', 'uncode'))), array(array('original', esc_html__('Original', 'uncode')), array('poster', esc_html__('Poster', 'uncode')))), array('icon', esc_html__('Icon', 'uncode')), array('title', esc_html__('Title', 'uncode')), array('caption', esc_html__('Caption', 'uncode')), array('description', esc_html__('Description', 'uncode')), array('sep-one', esc_html__('Separator One', 'uncode'), array(array('full', esc_html__('Full width', 'uncode')), array('reduced', esc_html__('Reduced width', 'uncode')))), array('sep-two', esc_html__('Separator Two', 'uncode'), array(array('full', esc_html__('Full width', 'uncode')), array('reduced', esc_html__('Reduced width', 'uncode')))), array('team-social', esc_html__('Team socials', 'uncode')))), array("type" => 'dropdown', "heading" => esc_html__("Carousel items height", 'uncode'), "param_name" => "carousel_height", "description" => esc_html__("Specify the carousel items height.", 'uncode'), "value" => array(esc_html__('Auto', 'uncode') => '', esc_html__('Equal height', 'uncode') => 'equal'), 'group' => esc_html__('Module', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Items vertical alignment", 'uncode'), "param_name" => "carousel_v_align", "description" => esc_html__("Specify the items vertical alignment.", 'uncode'), "value" => array(esc_html__('Top', 'uncode') => '', esc_html__('Middle', 'uncode') => 'middle', esc_html__('Bottom', 'uncode') => 'bottom'), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel'), 'dependency' => array('element' => 'carousel_height', 'is_empty' => true)), array('type' => 'dropdown', 'heading' => esc_html__('Transition type', 'uncode'), 'param_name' => 'carousel_type', "value" => array(esc_html__('Slide', 'uncode') => '', esc_html__('Fade', 'uncode') => 'fade'), 'description' => esc_html__('Specify the transition type.', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel'), 'group' => esc_html__('Module', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Auto rotate slides', 'uncode'), 'param_name' => 'carousel_interval', 'value' => array(3000, 5000, 10000, 15000, esc_html__('Disable', 'uncode') => 0), 'description' => esc_html__('Specify the automatic timeout between slides in milliseconds.', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel'), 'group' => esc_html__('Module', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Navigation speed', 'uncode'), 'param_name' => 'carousel_navspeed', 'value' => array(200, 400, 700, 1000, esc_html__('Disable', 'uncode') => 0), 'std' => 400, 'description' => esc_html__('Specify the navigation speed between slides in milliseconds.', 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel'), 'group' => esc_html__('Module', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Loop", 'uncode'), "param_name" => "carousel_loop", "description" => esc_html__("Activate the loop option to make the carousel infinite.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Navigation", 'uncode'), "param_name" => "carousel_nav", "description" => esc_html__("Activate the navigation to show navigational arrows.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Mobile navigation", 'uncode'), "param_name" => "carousel_nav_mobile", "description" => esc_html__("Activate the navigation to show navigational arrows for mobile devices.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'dropdown', "heading" => esc_html__("Navigation skin", 'uncode'), "param_name" => "carousel_nav_skin", "description" => esc_html__("Specify the navigation arrows skin.", 'uncode'), "value" => array(esc_html__('Light', 'uncode') => 'light', esc_html__('Dark', 'uncode') => 'dark'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Dots navigation", 'uncode'), "param_name" => "carousel_dots", "description" => esc_html__("Activate the dots navigation to show navigational dots in the bottom.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Mobile dots navigation", 'uncode'), "param_name" => "carousel_dots_mobile", "description" => esc_html__("Activate the dots navigation to show navigational dots in the bottom for mobile devices.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Dots navigation inside", 'uncode'), "param_name" => "carousel_dots_inside", "description" => esc_html__("Activate to have the dots navigation inside the carousel.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Autoheight", 'uncode'), "param_name" => "carousel_autoh", "description" => esc_html__("Activate to adjust the height automatically when possible.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array("type" => 'checkbox', "heading" => esc_html__("Textual carousel ", 'uncode'), "param_name" => "carousel_textual", "description" => esc_html__("Activate this to have a carousel with only text.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Module", 'uncode'), 'dependency' => array('element' => 'type', 'value' => 'carousel')), array('type' => 'textfield', 'heading' => esc_html__('Breakpoint - First step', 'uncode'), 'param_name' => 'screen_lg', 'value' => 1000, 'description' => wp_kses(__('Insert the isotope large layout breakpoint in pixel.<br />N.B. This is referring to the width of the isotope container, not to the window width.', 'uncode'), array('br' => array())), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope'))), array('type' => 'textfield', 'heading' => esc_html__('Breakpoint - Second step', 'uncode'), 'param_name' => 'screen_md', 'value' => 600, 'description' => wp_kses(__('Insert the isotope medium layout breakpoint in pixel.<br />N.B. This is referring to the width of the isotope container, not to the window width.', 'uncode'), array('br' => array())), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope'))), array('type' => 'textfield', 'heading' => esc_html__('Breakpoint - Third step', 'uncode'), 'param_name' => 'screen_sm', 'value' => 480, 'description' => wp_kses(__('Insert the isotope small layout breakpoint in pixel.<br />N.B. This is referring to the width of the isotope container, not to the window width.', 'uncode'), array('br' => array())), 'group' => esc_html__('Module', 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope'))), array("type" => 'dropdown', "heading" => esc_html__("Block layout", 'uncode'), "param_name" => "single_text", "description" => esc_html__("Specify the text positioning inside the box.", 'uncode'), "value" => array(esc_html__('Content overlay', 'uncode') => 'overlay', esc_html__('Content under image', 'uncode') => 'under'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Width", 'uncode'), "param_name" => "single_width", "description" => esc_html__("Specify the box width.", 'uncode'), "value" => $units, "std" => "4", 'dependency' => array('element' => 'type', 'value' => array('isotope')), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Height", 'uncode'), "param_name" => "single_height", "description" => esc_html__("Specify the box height.", 'uncode'), "value" => array(esc_html__("Default", 'uncode') => "") + $units, "std" => "", 'group' => esc_html__('Blocks', 'uncode'), 'dependency' => array('element' => 'type', 'value' => array('isotope')), 'dependency' => array('element' => 'style_preset', 'value' => 'metro')), array('type' => 'dropdown', 'heading' => esc_html__('Media ratio', 'uncode'), 'param_name' => 'images_size', 'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode'), "value" => array(esc_html__('Regular', 'uncode') => '', esc_html__('1:1', 'uncode') => 'one-one', esc_html__('4:3', 'uncode') => 'four-three', esc_html__('3:2', 'uncode') => 'three-two', esc_html__('16:9', 'uncode') => 'sixteen-nine', esc_html__('21:9', 'uncode') => 'twentyone-nine', esc_html__('3:4', 'uncode') => 'three-four', esc_html__('2:3', 'uncode') => 'two-three', esc_html__('9:16', 'uncode') => 'nine-sixteen'), 'group' => esc_html__('Blocks', 'uncode'), 'dependency' => array('element' => 'style_preset', 'value' => 'masonry'), 'admin_label' => true), array("type" => "dropdown", "heading" => esc_html__("Background color", 'uncode'), "param_name" => "single_back_color", "description" => esc_html__("Specify a background color for the box.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Blocks', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Shape', 'uncode'), 'param_name' => 'single_shape', 'value' => array(esc_html__('Select…', 'uncode') => '', esc_html__('Rounded', 'uncode') => 'round', esc_html__('Circular', 'uncode') => 'circle'), 'description' => esc_html__('Specify one if you want to shape the block.', 'uncode'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Skin", 'uncode'), "param_name" => "single_style", "description" => esc_html__("Specify the skin inside the content box.", 'uncode'), "value" => array(esc_html__('Light', 'uncode') => 'light', esc_html__('Dark', 'uncode') => 'dark'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "single_overlay_color", "description" => esc_html__("Specify a background color for the box.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay coloration", 'uncode'), "param_name" => "single_overlay_coloration", "description" => wp_kses(__("Specify the coloration style for the overlay.<br />N.B. For the gradient you can't customize the overlay color.", 'uncode'), array('br' => array())), "value" => array(esc_html__('Fully colored', 'uncode') => '', esc_html__('Gradient top', 'uncode') => 'top_gradient', esc_html__('Gradient bottom', 'uncode') => 'bottom_gradient'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Overlay opacity", 'uncode'), "param_name" => "single_overlay_opacity", "min" => 1, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the overlay opacity.", 'uncode'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text visibility", 'uncode'), "param_name" => "single_text_visible", "description" => esc_html__("Activate this to show the text as starting point.", 'uncode'), "value" => array(esc_html__('Hidden', 'uncode') => 'no', esc_html__('Visible', 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text animation", 'uncode'), "param_name" => "single_text_anim", "description" => esc_html__("Activate this to animate the text on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text animation type", 'uncode'), "param_name" => "single_text_anim_type", "description" => esc_html__("Specify the animation type.", 'uncode'), "value" => array(esc_html__('Opacity', 'uncode') => '', esc_html__('Bottom to top', 'uncode') => 'btt'), "group" => esc_html__("Blocks", 'uncode'), 'dependency' => array('element' => 'single_text_anim', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Overlay visibility", 'uncode'), "param_name" => "single_overlay_visible", "description" => esc_html__("Activate this to show the overlay as starting point.", 'uncode'), "value" => array(esc_html__('Hidden', 'uncode') => 'no', esc_html__('Visible', 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay animation", 'uncode'), "param_name" => "single_overlay_anim", "description" => esc_html__("Activate this to animate the overlay on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image coloration", 'uncode'), "param_name" => "single_image_coloration", "description" => esc_html__("Specify the image coloration mode.", 'uncode'), "value" => array(esc_html__('Standard', 'uncode') => '', esc_html__('Desaturated', 'uncode') => 'desaturated'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image coloration animation", 'uncode'), "param_name" => "single_image_color_anim", "description" => esc_html__("Activate this to animate the image coloration on mouse over.", 'uncode'), "value" => array(esc_html__('Static', 'uncode') => '', esc_html__('Animated', 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image animation", 'uncode'), "param_name" => "single_image_anim", "description" => esc_html__("Activate this to animate the image on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Text horizontal alignment", 'uncode'), "param_name" => "single_h_align", "description" => esc_html__("Specify the horizontal alignment.", 'uncode'), "value" => array(esc_html__('Left', 'uncode') => 'left', esc_html__('Center', 'uncode') => 'center', esc_html__('Right', 'uncode') => 'right', esc_html__('Justify', 'uncode') => 'justify'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content vertical position", 'uncode'), "param_name" => "single_v_position", "description" => esc_html__("Specify the text vertical position.", 'uncode'), "value" => array(esc_html__('Middle', 'uncode') => '', esc_html__('Top', 'uncode') => 'top', esc_html__('Bottom', 'uncode') => 'bottom'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content dimension reduced", 'uncode'), "param_name" => "single_reduced", "description" => esc_html__("Specify the text reduction amount to shrink the overlay content dimension.", 'uncode'), "value" => array(esc_html__('100%', 'uncode') => '', esc_html__('75%', 'uncode') => 'three_quarter', esc_html__('50%', 'uncode') => 'half'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content horizontal position", 'uncode'), "param_name" => "single_h_position", "description" => esc_html__("Specify the text horizontal position.", 'uncode'), "value" => array(esc_html__('Left', 'uncode') => 'left', esc_html__('Center', 'uncode') => 'center', esc_html__('Right', 'uncode') => 'right'), 'group' => esc_html__('Blocks', 'uncode'), 'dependency' => array('element' => 'single_reduced', 'not_empty' => true)), array("type" => "type_numeric_slider", "heading" => esc_html__("Padding around text", 'uncode'), "param_name" => "single_padding", "min" => 0, "max" => 5, "step" => 1, "value" => 2, "description" => esc_html__("Set the text padding", 'uncode'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Reduce space between elements", 'uncode'), "param_name" => "single_text_reduced", "description" => esc_html__("Activate this to have less space between all the text elements inside the box.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Multiple click areas", 'uncode'), "param_name" => "single_elements_click", "description" => esc_html__("Activate this to make every single elements clickable instead of the whole block (when availabe).", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode'), 'dependency' => array('element' => 'single_text', 'value' => 'overlay')), array("type" => 'dropdown', "heading" => esc_html__("Title text trasnform", 'uncode'), "param_name" => "single_title_transform", "description" => esc_html__("Specify the title text transformation.", 'uncode'), "value" => array(esc_html__('Default CSS', 'uncode') => '', esc_html__('Uppercase', 'uncode') => 'uppercase', esc_html__('Lowercase', 'uncode') => 'lowercase', esc_html__('Capitalize', 'uncode') => 'capitalize'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Title dimension", 'uncode'), "param_name" => "single_title_dimension", "description" => esc_html__("Specify the title dimension.", 'uncode'), "value" => $heading_size, "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Title font family", 'uncode'), "param_name" => "single_title_family", "description" => esc_html__("Specify the title font family.", 'uncode'), "value" => $heading_font, 'std' => '', "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Title font weight", 'uncode'), "param_name" => "single_title_weight", "description" => esc_html__("Specify the title font weight.", 'uncode'), "value" => $heading_weight, 'std' => '', "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Title line height", 'uncode'), "param_name" => "single_title_height", "description" => esc_html__("Specify the title line height.", 'uncode'), "value" => $heading_height, "group" => esc_html__("Blocks", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Title letter spacing", 'uncode'), "param_name" => "single_title_space", "description" => esc_html__("Specify the title letter spacing.", 'uncode'), "value" => $heading_space, "group" => esc_html__("Blocks", 'uncode')), array('type' => 'iconpicker', 'heading' => esc_html__('Icon', 'uncode'), 'param_name' => 'single_icon', 'description' => esc_html__('Specify icon from library.', 'uncode'), 'value' => '', 'settings' => array('emptyIcon' => true, 'iconsPerPage' => 1100, 'type' => 'uncode'), 'group' => esc_html__('Blocks', 'uncode')), array('type' => 'vc_link', 'heading' => esc_html__('Custom link', 'uncode'), 'param_name' => 'single_link', 'description' => esc_html__('Enter the custom link for the item.', 'uncode'), 'group' => esc_html__('Blocks', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Shadow", 'uncode'), "param_name" => "single_shadow", "description" => esc_html__("Activate this to have the shadow behind the block.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("No border", 'uncode'), "param_name" => "single_border", "description" => esc_html__("Activate this to remove the border around the block.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Blocks", 'uncode')), array_merge($add_css_animation, array("group" => esc_html__("Blocks", 'uncode'), "param_name" => 'single_css_animation')), array_merge($add_animation_speed, array("group" => esc_html__("Blocks", 'uncode'), "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'), "param_name" => 'single_animation_delay', 'dependency' => array('element' => 'single_css_animation', 'not_empty' => true))), array('type' => 'uncode_items', 'heading' => '', 'param_name' => 'items', 'description' => esc_html__('Enter text which will be used as widget title. Leave blank if no title is needed.', 'uncode'), 'group' => esc_html__('Single block', 'uncode')), array('type' => 'dropdown', 'heading' => 'Skin', 'param_name' => 'lbox_skin', 'value' => array(esc_html__('Dark', 'uncode') => '', esc_html__('Light', 'uncode') => 'white'), 'description' => esc_html__('Specify the lightbox skin color.', 'uncode'), 'group' => esc_html__('Lightbox', 'uncode')), array('type' => 'dropdown', 'heading' => 'Direction', 'param_name' => 'lbox_dir', 'value' => array(esc_html__('Horizontal', 'uncode') => '', esc_html__('Vertical', 'uncode') => 'vertical'), 'description' => esc_html__('Specify the lightbox sliding direction.', 'uncode'), 'group' => esc_html__('Lightbox', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Title", 'uncode'), "param_name" => "lbox_title", "description" => esc_html__("Activate this to add the media title.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Caption", 'uncode'), "param_name" => "lbox_caption", "description" => esc_html__("Activate this to add the media caption.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Social", 'uncode'), "param_name" => "lbox_social", "description" => esc_html__("Activate this for the social sharing buttons.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Deeplinking", 'uncode'), "param_name" => "lbox_deep", "description" => esc_html__("Activate this for the deeplinking of every slide.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("No thumbnails", 'uncode'), "param_name" => "lbox_no_tmb", "description" => esc_html__("Activate this for not showing the thumbnails.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("No arrows", 'uncode'), "param_name" => "lbox_no_arrows", "description" => esc_html__("Activate this for not showing the navigation arrows.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Extra class name', 'uncode'), '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'), 'group' => esc_html__('Extra', 'uncode')))));
/* Text Block
 ---------------------------------------------------------- */
vc_map(array('name' => esc_html__('Text Block', 'uncode'), 'base' => 'vc_column_text', 'weight' => 98, 'icon' => 'fa fa-font', 'wrapper_class' => 'clearfix', 'php_class_name' => 'uncode_generic_admin', 'category' => esc_html__('Content', 'uncode'), 'description' => esc_html__('Basic block of text', 'uncode'), 'params' => array(array('type' => 'textarea_html', 'holder' => 'div', 'heading' => esc_html__('Text', 'uncode'), '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'), array('p' => array()))), array("type" => 'checkbox', "heading" => esc_html__("Text lead", 'uncode'), "param_name" => "text_lead", "description" => esc_html__("Transform the text to leading.", 'uncode'), "value" => array('' => 'yes')), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'textfield', 'heading' => esc_html__('Extra class name', 'uncode'), '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')), array('type' => 'css_editor', 'heading' => esc_html__('Css', 'uncode'), 'param_name' => 'css', 'group' => esc_html__('Custom', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Border color", 'uncode'), "param_name" => "border_color", "description" => esc_html__("Specify a border color.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $uncode_colors_w_transp), array("type" => "dropdown", "heading" => esc_html__("Border style", 'uncode'), "param_name" => "border_style", "description" => esc_html__("Specify a border style.", 'uncode'), "group" => esc_html__("Custom", 'uncode'), "value" => $border_style)), 'js_view' => 'UncodeTextView'));
/* Separator (Divider)
 ---------------------------------------------------------- */
vc_map(array('name' => esc_html__('Divider', 'uncode'), 'base' => 'vc_separator', 'icon' => 'fa fa-arrows-h', 'show_settings_on_create' => true, 'category' => esc_html__('Content', 'uncode'), 'description' => esc_html__('Horizontal divider', 'uncode'), 'params' => array(array("type" => "dropdown", "heading" => esc_html__("Color", 'uncode'), "param_name" => "sep_color", "description" => esc_html__("Separator color.", 'uncode'), "value" => $uncode_colors), array('type' => 'iconpicker', 'heading' => esc_html__('Icon', 'uncode'), 'param_name' => 'icon', 'description' => esc_html__('Specify icon from library.', 'uncode'), 'value' => '', 'settings' => array('emptyIcon' => true, 'iconsPerPage' => 1100, 'type' => 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Icon position', 'uncode'), 'param_name' => 'icon_position', 'value' => array(esc_html__('Center', 'uncode') => '', esc_html__('Left', 'uncode') => 'left', esc_html__('Right', 'uncode') => "right"), 'description' => esc_html__('Specify title location.', 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Style', 'uncode'), 'param_name' => 'type', 'value' => getVcShared('separator styles'), 'description' => esc_html__('Separator style.', 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Custom width', 'uncode'), 'param_name' => 'el_width', 'description' => esc_html__('Insert the custom value in % or px.', 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Custom thickness', 'uncode'), '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')), array('type' => 'checkbox', 'heading' => esc_html__('Activate scroll to top', 'uncode'), 'param_name' => 'scroll_top', 'description' => esc_html__('Activate if you want the scroll top function with the icon.', 'uncode'), 'value' => array(esc_html__('Yes, please', 'uncode') => 'yes'), 'dependency' => array('element' => 'icon', 'not_empty' => true)), array('type' => 'vc_link', 'heading' => esc_html__('URL (Link)', 'uncode'), 'param_name' => 'link', 'description' => esc_html__('Separator link.', 'uncode'), 'dependency' => array('element' => 'icon', 'not_empty' => true)), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'textfield', 'heading' => esc_html__('Extra class name', 'uncode'), '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')))));
/* Message box
 ---------------------------------------------------------- */
vc_map(array('name' => esc_html__('Message Box', 'uncode'), 'base' => 'vc_message', 'php_class_name' => 'uncode_message', 'icon' => 'fa fa-info', 'category' => esc_html__('Content', 'uncode'), 'description' => esc_html__('Notification element', 'uncode'), 'params' => array(array('type' => 'dropdown', 'heading' => esc_html__('Message box type', 'uncode'), 'param_name' => 'message_color', 'admin_label' => true, 'value' => $uncode_colors, 'description' => esc_html__('Specify message type.', 'uncode'), 'param_holder_class' => 'vc_message-type'), array('type' => 'textarea_html', 'class' => 'messagebox_text', 'param_name' => 'content', 'heading' => esc_html__('Message text', 'uncode'), 'value' => wp_kses(__('<p>I am message box. Click edit button to change this text.</p>', 'uncode'), array('p' => array()))), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'textfield', 'heading' => esc_html__('Extra class name', 'uncode'), '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')))));
/* Single image */
vc_map(array('name' => esc_html__('Single Media', 'uncode'), 'base' => 'vc_single_image', 'icon' => 'fa fa-image', 'weight' => 101, 'php_class_name' => 'uncode_generic_admin', 'category' => esc_html__('Content', 'uncode'), 'description' => esc_html__('Simple media item', 'uncode'), 'params' => array(array('type' => 'textfield', 'heading' => esc_html__('Widget title', 'uncode'), 'param_name' => 'title', 'description' => esc_html__('Enter text which will be used as widget title. Leave blank if no title is needed.', 'uncode')), array("type" => "media_element", "heading" => esc_html__("Media", 'uncode'), "param_name" => "media", "value" => "", "description" => esc_html__("Specify a media from the media library.", 'uncode'), "admin_label" => true), array("type" => 'checkbox', "heading" => esc_html__("Caption", 'uncode'), "param_name" => "caption", "description" => 'Activate to have the caption under the image.', "value" => array('' => 'yes')), array('type' => 'checkbox', 'heading' => esc_html__('Lightbox', 'uncode'), 'param_name' => 'media_lightbox', 'description' => esc_html__('Activate if you want to open the media in the lightbox.', 'uncode'), 'value' => array(esc_html__('Yes, please', 'uncode') => 'yes')), array('type' => 'vc_link', 'heading' => esc_html__('URL (Link)', 'uncode'), 'param_name' => 'media_link', 'description' => esc_html__('Enter URL if you want this image to have a link.', 'uncode'), 'dependency' => array('element' => 'media_link_large', 'is_empty' => true)), array("type" => 'checkbox', "heading" => esc_html__("Width", 'uncode'), "param_name" => "media_width_use_pixel", "description" => 'Set this value if you want to have a row height indipendent from the content.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => "type_numeric_slider", "heading" => '', "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'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'media_width_use_pixel', 'is_empty' => true)), array('type' => 'textfield', 'heading' => '', 'param_name' => 'media_width_pixel', 'description' => esc_html__("Insert the row width in pixel.", 'uncode'), "group" => esc_html__("Aspect", 'uncode'), 'dependency' => array('element' => 'media_width_use_pixel', 'value' => 'yes')), array('type' => 'dropdown', 'heading' => esc_html__('Aspect ratio', 'uncode'), 'param_name' => 'media_ratio', 'description' => esc_html__('Specify the aspect ratio for the media.', 'uncode'), "value" => array(esc_html__('Regular', 'uncode') => '', esc_html__('1:1', 'uncode') => 'one-one', esc_html__('4:3', 'uncode') => 'four-three', esc_html__('3:2', 'uncode') => 'three-two', esc_html__('16:9', 'uncode') => 'sixteen-nine', esc_html__('21:9', 'uncode') => 'twentyone-nine', esc_html__('3:4', 'uncode') => 'three-four', esc_html__('2:3', 'uncode') => 'two-three', esc_html__('9:16', 'uncode') => 'nine-sixteen'), 'group' => esc_html__('Aspect', 'uncode'), 'admin_label' => true), array('type' => 'dropdown', 'heading' => esc_html__('Alignment', 'uncode'), 'param_name' => 'alignment', 'value' => array(esc_html__('Align left', 'uncode') => '', esc_html__('Align right', 'uncode') => 'right', esc_html__('Align center', 'uncode') => 'center'), 'description' => esc_html__('Specify image alignment.', 'uncode'), "group" => esc_html__("Aspect", 'uncode')), array('type' => 'dropdown', 'heading' => esc_html__('Shape', 'uncode'), 'param_name' => 'shape', 'value' => array(esc_html__('Select…', 'uncode') => '', esc_html__('Rounded', 'uncode') => 'img-round', esc_html__('Circular', 'uncode') => 'img-circle'), 'description' => esc_html__('Specify media shape.', 'uncode'), "group" => esc_html__("Aspect", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Thumbnail border", 'uncode'), "param_name" => "border", "description" => 'Activate to have a border around like a thumbnail.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Shadow", 'uncode'), "param_name" => "shadow", "description" => 'Activate to have a shadow.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array("type" => 'checkbox', "heading" => esc_html__("Activate advanced preset", 'uncode'), "param_name" => "advanced", "description" => 'Activate if you want to have advanced options.', "group" => esc_html__("Aspect", 'uncode'), "value" => array('' => 'yes')), array('type' => 'sorted_list', 'heading' => esc_html__('Media', 'uncode'), 'param_name' => 'media_items', 'description' => esc_html__('Control teasers look. Enable blocks and place them in desired order. Note: This setting can be overridden on post to post basis.', 'uncode'), 'value' => 'media', "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'options' => array(array('media', esc_html__('Media', 'uncode'), array(array('original', esc_html__('Original', 'uncode')), array('poster', esc_html__('Poster', 'uncode')))), array('icon', esc_html__('Icon', 'uncode')), array('title', esc_html__('Title', 'uncode')), array('caption', esc_html__('Caption', 'uncode')), array('description', esc_html__('Description', 'uncode')), array('sep-one', esc_html__('Separator One', 'uncode'), array(array('full', esc_html__('Full width', 'uncode')), array('reduced', esc_html__('Reduced width', 'uncode')))), array('sep-two', esc_html__('Separator Two', 'uncode'), array(array('full', esc_html__('Full width', 'uncode')), array('reduced', esc_html__('Reduced width', 'uncode')))), array('team-social', esc_html__('Team socials', 'uncode')))), array("type" => 'dropdown', "heading" => esc_html__("Block layout", 'uncode'), "param_name" => "media_text", "description" => esc_html__("Specify the text positioning inside the box.", 'uncode'), "value" => array(esc_html__('Content overlay', 'uncode') => 'overlay', esc_html__('Content under image', 'uncode') => 'under'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Skin", 'uncode'), "param_name" => "media_style", "description" => esc_html__("Specify the skin inside the content box.", 'uncode'), "value" => array(esc_html__('Light', 'uncode') => 'light', esc_html__('Dark', 'uncode') => 'dark'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => "dropdown", "heading" => esc_html__("Background color", 'uncode'), "param_name" => "media_back_color", "description" => esc_html__("Specify a background color for the box.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Advanced', 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => "dropdown", "heading" => esc_html__("Overlay color", 'uncode'), "param_name" => "media_overlay_color", "description" => esc_html__("Specify a background color for the box.", 'uncode'), "value" => $uncode_colors, 'group' => esc_html__('Advanced', 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Overlay coloration", 'uncode'), "param_name" => "media_overlay_coloration", "description" => wp_kses(__("Specify the coloration style for the overlay.<br />N.B. For the gradient you can't customize the overlay color.", 'uncode'), array('br' => array())), "value" => array(esc_html__('Fully colored', 'uncode') => '', esc_html__('Gradient top', 'uncode') => 'top_gradient', esc_html__('Gradient bottom', 'uncode') => 'bottom_gradient'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => "type_numeric_slider", "heading" => esc_html__("Overlay opacity", 'uncode'), "param_name" => "media_overlay_opacity", "min" => 1, "max" => 100, "step" => 1, "value" => 50, "description" => esc_html__("Set the overlay opacity.", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text visibility", 'uncode'), "param_name" => "media_text_visible", "description" => esc_html__("Activate this to show the text as starting point.", 'uncode'), "value" => array(esc_html__('Hidden', 'uncode') => 'no', esc_html__('Visible', 'uncode') => 'yes'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text animation", 'uncode'), "param_name" => "media_text_anim", "description" => esc_html__("Activate this to animate the text on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay text animation type", 'uncode'), "param_name" => "media_text_anim_type", "description" => esc_html__("Specify the animation type.", 'uncode'), "value" => array(esc_html__('Opacity', 'uncode') => '', esc_html__('Bottom to top', 'uncode') => 'btt'), "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'media_text_anim', 'value' => 'yes'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Overlay visibility", 'uncode'), "param_name" => "media_overlay_visible", "description" => esc_html__("Activate this to show the overlay as starting point.", 'uncode'), "value" => array(esc_html__('Hidden', 'uncode') => 'no', esc_html__('Visible', 'uncode') => 'yes'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Overlay animation", 'uncode'), "param_name" => "media_overlay_anim", "description" => esc_html__("Activate this to animate the overlay on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image coloration", 'uncode'), "param_name" => "media_image_coloration", "description" => esc_html__("Specify the image coloration mode.", 'uncode'), "value" => array(esc_html__('Standard', 'uncode') => '', esc_html__('Desaturated', 'uncode') => 'desaturated'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image coloration animation", 'uncode'), "param_name" => "media_image_color_anim", "description" => esc_html__("Activate this to animate the image coloration on mouse over.", 'uncode'), "value" => array(esc_html__('Static', 'uncode') => '', esc_html__('Animated', 'uncode') => 'yes'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Image animation", 'uncode'), "param_name" => "media_image_anim", "description" => esc_html__("Activate this to animate the image on mouse over.", 'uncode'), "value" => array(esc_html__('Animated', 'uncode') => 'yes', esc_html__('Static', 'uncode') => 'no'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Text horizontal alignment", 'uncode'), "param_name" => "media_h_align", "description" => esc_html__("Specify the horizontal alignment.", 'uncode'), "value" => array(esc_html__('Left', 'uncode') => 'left', esc_html__('Center', 'uncode') => 'center', esc_html__('Right', 'uncode') => 'right', esc_html__('Justify', 'uncode') => 'justify'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content vertical position", 'uncode'), "param_name" => "media_v_position", "description" => esc_html__("Specify the text vertical position.", 'uncode'), "value" => array(esc_html__('Middle', 'uncode') => '', esc_html__('Top', 'uncode') => 'top', esc_html__('Bottom', 'uncode') => 'bottom'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content dimension reduced", 'uncode'), "param_name" => "media_reduced", "description" => esc_html__("Specify the text reduction amount to shrink the overlay content dimension.", 'uncode'), "value" => array(esc_html__('100%', 'uncode') => '', esc_html__('75%', 'uncode') => 'three_quarter', esc_html__('50%', 'uncode') => 'half'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'dropdown', "heading" => esc_html__("Content horizontal position", 'uncode'), "param_name" => "media_h_position", "description" => esc_html__("Specify the text horizontal position.", 'uncode'), "value" => array(esc_html__('Left', 'uncode') => 'left', esc_html__('Center', 'uncode') => 'center', esc_html__('Right', 'uncode') => 'right'), 'group' => esc_html__('Advanced', 'uncode'), 'dependency' => array('element' => 'media_reduced', 'not_empty' => true), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => "type_numeric_slider", "heading" => esc_html__("Padding around text", 'uncode'), "param_name" => "media_padding", "min" => 0, "max" => 5, "step" => 1, "value" => 2, "description" => esc_html__("Set the text padding", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Reduce space between elements", 'uncode'), "param_name" => "media_text_reduced", "description" => esc_html__("Activate this to have less space between all the text elements inside the box.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), "group" => esc_html__("Advanced", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Multiple click areas", 'uncode'), "param_name" => "media_elements_click", "description" => esc_html__("Activate this to make every single elements clickable instead of the whole block (when availabe).", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'media_text', 'value' => 'overlay'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title text transform", 'uncode'), "param_name" => "media_title_transform", "description" => esc_html__("Specify the title text transformation.", 'uncode'), "value" => array(esc_html__('Default CSS', 'uncode') => '', esc_html__('Uppercase', 'uncode') => 'uppercase', esc_html__('Lowercase', 'uncode') => 'lowercase', esc_html__('Capitalize', 'uncode') => 'capitalize'), "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title dimension", 'uncode'), "param_name" => "media_title_dimension", "description" => esc_html__("Specify the title dimension.", 'uncode'), "value" => $heading_size, "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title font family", 'uncode'), "param_name" => "media_title_family", "description" => esc_html__("Specify the title font family.", 'uncode'), "value" => $heading_font, 'std' => '', "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title font weight", 'uncode'), "param_name" => "media_title_weight", "description" => esc_html__("Specify the title font weight.", 'uncode'), "value" => $heading_weight, 'std' => '', "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title line height", 'uncode'), "param_name" => "media_title_height", "description" => esc_html__("Specify the title line height.", 'uncode'), "value" => $heading_height, "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array("type" => 'dropdown', "heading" => esc_html__("Title letter spacing", 'uncode'), "param_name" => "media_title_space", "description" => esc_html__("Specify the title letter spacing.", 'uncode'), "value" => $heading_space, "group" => esc_html__("Advanced", 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes')), array('type' => 'iconpicker', 'heading' => esc_html__('Icon', 'uncode'), 'param_name' => 'media_icon', 'description' => esc_html__('Specify icon from library.', 'uncode'), 'value' => '', 'settings' => array('emptyIcon' => true, 'iconsPerPage' => 1100, 'type' => 'uncode'), 'dependency' => array('element' => 'advanced', 'value' => 'yes'), 'group' => esc_html__('Advanced', 'uncode')), $add_css_animation, $add_animation_speed, $add_animation_delay, array('type' => 'dropdown', 'heading' => 'Skin', 'param_name' => 'lbox_skin', 'value' => array(esc_html__('Dark', 'uncode') => '', esc_html__('Light', 'uncode') => 'white'), 'description' => esc_html__('Specify the lightbox skin color.', 'uncode'), 'group' => esc_html__('Lightbox', 'uncode')), array('type' => 'dropdown', 'heading' => 'Direction', 'param_name' => 'lbox_dir', 'value' => array(esc_html__('Horizontal', 'uncode') => '', esc_html__('Vertical', 'uncode') => 'vertical'), 'description' => esc_html__('Specify the lightbox sliding direction.', 'uncode'), 'group' => esc_html__('Lightbox', 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Title", 'uncode'), "param_name" => "lbox_title", "description" => esc_html__("Activate this to add the media title.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Caption", 'uncode'), "param_name" => "lbox_caption", "description" => esc_html__("Activate this to add the media caption.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Social", 'uncode'), "param_name" => "lbox_social", "description" => esc_html__("Activate this for the social sharing buttons.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("Deeplinking", 'uncode'), "param_name" => "lbox_deep", "description" => esc_html__("Activate this for the deeplinking of every slide.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("No thumbnails", 'uncode'), "param_name" => "lbox_no_tmb", "description" => esc_html__("Activate this for not showing the thumbnails.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array("type" => 'checkbox', "heading" => esc_html__("No arrows", 'uncode'), "param_name" => "lbox_no_arrows", "description" => esc_html__("Activate this for not showing the navigation arrows.", 'uncode'), "value" => array(esc_html__("Yes, please", 'uncode') => 'yes'), "group" => esc_html__("Lightbox", 'uncode')), array('type' => 'textfield', 'heading' => esc_html__('Extra class name', 'uncode'), 'param_name' => 'el_class', "group" => esc_html__("Extra", 'uncode'), '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')))));
/* Tabs
 ---------------------------------------------------------- */
$tab_id_1 = time() . '-1-' . rand(0, 100);
$tab_id_2 = time() . '-2-' . rand(0, 100);
<?php

/**
 * Product Loop Start
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */
global $woocommerce_loop;
?>
<div class="owl-carousel-wrapper">
	<div class="owl-carousel-container owl-carousel-loading half-gutter">
		<div id="index-<?php 
echo big_rand();
?>
" class="owl-carousel owl-element owl-theme owl-dots-outside" data-loop="false" data-dots="true" data-nav="false" data-navspeed="400" data-autoplay="false" data-lg="<?php 
echo esc_attr($woocommerce_loop['columns']);
?>
" data-md="2" data-sm="1">
Exemplo n.º 7
0
if ($desktop_visibility === 'yes') {
    $row_cont_classes[] = 'desktop-hidden';
}
if ($medium_visibility === 'yes') {
    $row_cont_classes[] = 'tablet-hidden';
}
if ($mobile_visibility === 'yes') {
    $row_cont_classes[] = 'mobile-hidden';
}
$output .= '<div data-parent="true" class="' . esc_attr(trim(implode(' ', $row_cont_classes))) . '"' . $row_name . $row_style . '>';
if ($unlock_row === 'yes') {
    $output .= $background_div;
}
$output .= '<div class="' . esc_attr(trim(implode(' ', $row_classes))) . '"' . $row_height_percent . $row_inline_style . '>';
if ($unlock_row !== 'yes') {
    $output .= $background_div;
}
if (!$with_slider) {
    $output .= '<div class="' . esc_attr(trim(implode(' ', $row_inner_classes))) . '">';
}
$output .= $content;
echo wpb_js_remove_wpautop($output);
$script_id = 'script-' . big_rand();
echo '<script id="' . esc_attr($script_id) . '" type="text/javascript">UNCODE.initRow(document.getElementById("' . $script_id . '"));</script>';
$output = '';
if (!$with_slider) {
    $output .= '</div>';
}
$output .= '</div>';
$output .= '</div>';
echo wpb_js_remove_wpautop($output);
 function ot_list_item_view($name, $key, $list_item = array(), $post_id = 0, $get_option = '', $settings = array(), $type = '')
 {
     /* required title setting */
     $required_setting = array(array('id' => 'title', 'label' => esc_html__('Title', 'uncode'), 'desc' => '', 'std' => '', 'type' => 'text', 'rows' => '', 'class' => 'option-tree-setting-title', 'post_type' => '', 'choices' => array()));
     /* load the old filterable slider settings */
     if ('slider' == $type) {
         $settings = ot_slider_settings($name);
     }
     /* if no settings array load the filterable list item settings */
     if (empty($settings)) {
         $settings = ot_list_item_settings($name);
     }
     /* merge the two settings array */
     $settings = array_merge($required_setting, $settings);
     echo '
 <div class="option-tree-setting">
   <div class="open">' . (isset($list_item['title']) ? esc_attr($list_item['title']) : '') . '</div>
   <div class="button-section">
     <a href="javascript:void(0);" class="option-tree-setting-edit option-tree-ui-button button left-item" title="' . esc_html__('Edit', 'uncode') . '">
       <span class="icon ot-icon-pencil"></span>' . esc_html__('Edit', 'uncode') . '
     </a>
     <a href="javascript:void(0);" class="option-tree-setting-remove option-tree-ui-button button button-secondary light right-item" title="' . esc_html__('Delete', 'uncode') . '">
       <span class="icon ot-icon-trash-o"></span>' . esc_html__('Delete', 'uncode') . '
     </a>
   </div>
   <div class="option-tree-setting-body">';
     foreach ($settings as $field) {
         // Set field value
         $field_value = isset($list_item[$field['id']]) ? $list_item[$field['id']] : '';
         /* set default to standard value */
         if (isset($field['std'])) {
             $field_value = ot_filter_std_value($field_value, isset($field['class']) && $field['class'] === 'unique_id' ? $field['std'] . big_rand() : $field['std']);
         }
         // filter the title label and description
         if ($field['id'] == 'title') {
             // filter the label
             $field['label'] = apply_filters('ot_list_item_title_label', $field['label'], $name);
             // filter the description
             $field['desc'] = apply_filters('ot_list_item_title_desc', $field['desc'], $name);
         }
         /* make life easier */
         $_field_name = $get_option ? $get_option . '[' . $name . ']' : $name;
         /* build the arguments array */
         $_args = array('type' => $field['type'], 'field_id' => $name . '_' . $field['id'] . '_' . $key, 'field_name' => $_field_name . '[' . $key . '][' . $field['id'] . ']', 'field_value' => $field_value, 'field_desc' => isset($field['desc']) ? $field['desc'] : '', 'field_std' => isset($field['std']) ? $field['std'] : '', 'field_rows' => isset($field['rows']) ? $field['rows'] : 10, 'field_post_type' => isset($field['post_type']) && !empty($field['post_type']) ? $field['post_type'] : 'post', 'field_taxonomy' => isset($field['taxonomy']) && !empty($field['taxonomy']) ? $field['taxonomy'] : 'category', 'field_min_max_step' => isset($field['min_max_step']) && !empty($field['min_max_step']) ? $field['min_max_step'] : '0,100,1', 'field_class' => isset($field['class']) ? $field['class'] : '', 'field_condition' => isset($field['condition']) ? $field['condition'] : '', 'field_operator' => isset($field['operator']) ? $field['operator'] : 'and', 'field_choices' => isset($field['choices']) && !empty($field['choices']) ? $field['choices'] : array(), 'field_settings' => isset($field['settings']) && !empty($field['settings']) ? $field['settings'] : array(), 'post_id' => $post_id, 'get_option' => $get_option);
         $conditions = '';
         /* setup the conditions */
         if (isset($field['condition']) && !empty($field['condition'])) {
             /* doing magic on the conditions so they work in a list item */
             $conditionals = explode(',', $field['condition']);
             foreach ($conditionals as $condition) {
                 $parts = explode(':', $condition);
                 if (isset($parts[0])) {
                     $field['condition'] = str_replace($condition, $name . '_' . $parts[0] . '_' . $key . ':' . $parts[1], $field['condition']);
                 }
             }
             $conditions = ' data-condition="' . $field['condition'] . '"';
             $conditions .= isset($field['operator']) && in_array($field['operator'], array('and', 'AND', 'or', 'OR')) ? ' data-operator="' . $field['operator'] . '"' : '';
         }
         // Build the setting CSS class
         if (!empty($_args['field_class'])) {
             $classes = explode(' ', $_args['field_class']);
             foreach ($classes as $_key => $value) {
                 $classes[$_key] = $value . '-wrap';
             }
             $class = 'format-settings ' . implode(' ', $classes);
         } else {
             $class = 'format-settings';
         }
         /* option label */
         echo '<div id="setting_' . $_args['field_id'] . '" class="' . $class . '"' . $conditions . '>';
         /* don't show title with textblocks */
         if ($_args['type'] != 'textblock' && !empty($field['label'])) {
             echo '<div class="format-setting-label">';
             echo '<h3 class="label">' . esc_attr($field['label']) . '</h3>';
             echo '</div>';
         }
         /* only allow simple textarea inside a list-item due to known DOM issues with wp_editor() */
         if (apply_filters('ot_override_forced_textarea_simple', false, $field['id']) == false && $_args['type'] == 'textarea') {
             $_args['type'] = 'textarea-simple';
         }
         /* option body, list-item is not allowed inside another list-item */
         if ($_args['type'] !== 'list-item' && $_args['type'] !== 'slider') {
             echo ot_display_by_type($_args);
         }
         echo '</div>';
     }
     echo '</div>';
     echo '</div>';
 }