Example #1
0
/**
 * Get shortcodes list
 *
 */
function ts_get_shortcodes_list()
{
    $aHelp = array(array('shortcode' => 'accordion', 'name' => __('Accordion', 'framework'), 'description' => '', 'usage' => '[accordion style="normal" open="yes"][accordion_toggle title="title 1"]Your content goes here...[/accordion_toggle][/accordion]', 'code' => '[accordion style="{style}" open="{open}"]{child}[/accordion]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'desc' => '', 'values' => array('boxed' => __('boxed', 'framework'), 'normal' => __('normal', 'framework'))), 'open' => array('type' => 'select', 'label' => __('Open first', 'framework'), 'desc' => '', 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')))), 'add_child_button' => __('Add Item', 'framework'), 'child' => array('fields' => array('title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')), 'name' => __('Accordion item', 'framework'), 'code' => '[accordion_toggle title="{title}"]{content}[/accordion_toggle]')), array('shortcode' => 'button', 'name' => __('Button', 'framework'), 'description' => array(__('color - text color', 'framework'), __('background - background color', 'framework'), __('size - small, regular, large - default: regular', 'framework'), __('target - _blank, _parent, _self, _top', 'framework')), 'usage' => '[button color="#555555" style="1" size="small" icon="icon-briefcase" url="http://yourdomain.com" target="_blank" ]Your content here...[/button]', 'code' => '[button color="{color}" style="{style}" size="{size}" icon="{icon}" target="{target}" url="{url}"]{content}[/button]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => __('1', 'framework'), '2' => __('2', 'framework')), 'default' => '1', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Text color', 'framework'), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Size', 'framework'), 'values' => array('small' => __('small', 'framework'), 'regular' => __('regular', 'framework'), 'large' => __('large', 'framework')), 'default' => 'regular', 'desc' => ''), 'icon' => array('type' => 'select', 'label' => __('Icon (style 2 only)', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Button text', 'framework'), 'desc' => ''))), array('shortcode' => 'call_to_action', 'name' => __('Call To Action', 'framework'), 'description' => array(__('color - gray, black, red, orange, blue, green', 'framework'), __('size - small, regular, large', 'framework'), __('target - _blank, _parent, _self, _top', 'framework'), __('position - left, right, bottom', 'framework')), 'usage' => '[call_to_action button_text="test" text="test" color="gray" size="regular" url="" target="" position="bottom"]', 'code' => '[call_to_action button_text="{buttontext}" text="{text}" color="{color}" size="{size}" url="{url}" target="{target}" position="{position}"]', 'fields' => array('buttontext' => array('type' => 'text', 'label' => __('Button label', 'framework'), 'desc' => ''), 'text' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Button color', 'framework'), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Button size', 'framework'), 'values' => array('small' => __('small', 'framework'), 'regular' => __('regular', 'framework'), 'large' => __('large', 'framework')), 'default' => 'regular', 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'position' => array('type' => 'select', 'label' => __('Position', 'framework'), 'values' => array('left' => __('left', 'framework'), 'right' => __('right', 'framework'), 'bottom' => __('bottom', 'framework')), 'default' => 'regular', 'desc' => ''))), array('shortcode' => 'call_to_action_2', 'name' => __('Call To Action 2', 'framework'), 'description' => '', 'usage' => '[call_to_action_2 style="1" header="Header text" content="Content text" buttontext="Button label"  background="#FF0000" background_hover="#FFFF00" url="http://url.." target="_self"]', 'code' => '[call_to_action_2 style="{style}" header="{header}" content="{content}" buttontext="{buttontext}" background="{background}" background_hover="{backgroundhover}" url="{url}" target="{target}"]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => __('1', 'framework'), '2' => __('2', 'framework'), '3' => __('3 (wide with gradient background)', 'framework')), 'default' => '1', 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'buttontext' => array('type' => 'text', 'label' => __('Button label', 'framework'), 'desc' => ''), 'background' => array('type' => 'colorpicker', 'label' => __('Button background color', 'framework'), 'desc' => ''), 'backgroundhover' => array('type' => 'colorpicker', 'label' => __('Button hover background color', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''))), array('shortcode' => 'dropcaps', 'name' => __('Dropcaps', 'framework'), 'description' => array(__('type - circle - optional', 'framework')), 'usage' => '[dropcaps type="circle" color="#C4C4C4" background="#A4A4A4"]Your text here...[/dropcaps]', 'code' => '[dropcaps type="{type}" color="{color}" background="{background}"]{content}[/dropcaps]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('circle' => __('circle', 'framework'), 'standard' => __('standard', 'framework')), 'default' => 'circle', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => ''), 'background' => array('type' => 'colorpicker', 'label' => __('Background color', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'featured_projects', 'name' => __('Featured projects', 'framework'), 'description' => '', 'usage' => '[featured_projects category="" header="Featured projects" limit="6"]Your text here...[/featured_projects]', 'code' => '[featured_projects category="{category}" header="{header}" limit="{limit}"]{description}[/featured_projects]', 'fields' => array('category' => array('type' => 'text', 'label' => __('Category ID', 'framework'), 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''), 'description' => array('type' => 'wp_editor', 'label' => __('Description', 'framework'), 'desc' => ''))), array('shortcode' => 'divider', 'name' => __('Divider', 'framework'), 'description' => array(__('align - left, right, center', 'framework'), __('size - smaller, normal, larger', 'framework'), __('scrolltext - optional', 'framework')), 'usage' => '[divider style="1" align="left" size="normal" scrolltext="Scroll to top"]Your text here...[/divider]', 'code' => '[divider style="{style}" align="{align}" size="{size}" variant="{variant}" dimension="{dimension}" color="{color}" scrolltext="{scrolltext}"]{content}[/divider]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2'), 'default' => '1', 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Text align', 'framework'), 'values' => array('center' => __('center', 'framework'), 'left' => __('left', 'framework'), 'right' => __('right', 'framework')), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Content font size', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'smaller' => __('smaller', 'framework'), 'larger' => __('larger', 'framework')), 'desc' => ''), 'variant' => array('type' => 'select', 'label' => __('Variant (style 1 only)', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'dotted' => __('dotted', 'framework')), 'desc' => ''), 'dimension' => array('type' => 'select', 'label' => __('Dimension (style 1 only)', 'framework'), 'values' => array('1px' => '1 px', '2px' => '2 px', '3px' => '3 px', '4px' => '4 px', '5px' => '5 px'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color (style 1 only)', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'scrolltext' => array('type' => 'text', 'label' => __('Scroll to top text', 'framework'), 'desc' => __('Leave empty to disable scrolling', 'framework')))), array('shortcode' => 'heading', 'name' => __('Heading', 'framework'), 'description' => '', 'usage' => '[heading type="1"]Your text here...[/heading]', 'code' => '[heading type={type}]{content}[/heading]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('1' => 'H1', '2' => 'H2', '3' => 'H3', '4' => 'H4', '5' => 'H5'), 'default' => '1', 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'highlight', 'name' => __('Highlight', 'framework'), 'description' => array(__('color - background color', 'framework'), __('fullwidth - yes, no - from edge to edge of the screen', 'framework')), 'usage' => '[highlight color="#ebebeb" border_color="#dedede" background_image="image.png" background_attachment="scroll" horizontal_position="left" vertical_position="top" background_stretch="no" min_height="100" first_page="no" last_page="yes" padding_top="10" padding_bottom="10" margin_bottom="0" fullwidth="yes"]Your text here...[/highlight]', 'code' => '[highlight color="{color}" border_color="{bordercolor}" background_image="{backgroundimage}" background_attachment="{backgroundattachment}" background_position="{backgroundposition}" background_stretch="{backgroundstretch}" min_height="{minheight}" first_page="{firstpage}" last_page="{lastpage}" padding_top="{paddingtop}" padding_bottom="{paddingbottom}" margin_bottom="{marginbottom}" fullwidth="{fullwidth}"]{content}[/highlight]', 'fields' => array('color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => ''), 'bordercolor' => array('type' => 'colorpicker', 'label' => __('Border color', 'framework'), 'desc' => ''), 'backgroundimage' => array('type' => 'upload', 'label' => __('Background image', 'framework'), 'desc' => ''), 'backgroundattachment' => array('type' => 'select', 'label' => __('Background attachment', 'framework'), 'values' => array('scroll' => __('scroll', 'framework'), 'fixed' => __('fixed', 'framework')), 'default' => 'yes', 'desc' => ''), 'backgroundposition' => array('type' => 'select', 'label' => __('Background position', 'framework'), 'values' => array('left top' => __('left top', 'framework'), 'left center' => __('left center', 'framework'), 'left bottom' => __('left bottom', 'framework'), 'right top' => __('right top', 'framework'), 'right center' => __('right center', 'framework'), 'right bottom' => __('right bottom', 'framework'), 'center top' => __('center top', 'framework'), 'center center' => __('center center', 'framework'), 'center bottom' => __('center bottom', 'framework')), 'default' => 'left top', 'desc' => ''), 'backgroundstretch' => array('type' => 'select', 'label' => __('Background stretch', 'framework'), 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')), 'default' => 'yes', 'desc' => ''), 'minheight' => array('type' => 'text', 'label' => __('Minimum height (px)', 'framework'), 'default' => '', 'desc' => ''), 'firstpage' => array('type' => 'select', 'label' => __('First element on a page', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'default' => 'no', 'desc' => ''), 'lastpage' => array('type' => 'select', 'label' => __('Last element on a page', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'default' => 'no', 'desc' => ''), 'paddingtop' => array('type' => 'text', 'label' => __('Padding top (px)', 'framework'), 'default' => '', 'desc' => ''), 'paddingbottom' => array('type' => 'text', 'label' => __('Padding bottom (px)', 'framework'), 'default' => '', 'desc' => ''), 'marginbottom' => array('type' => 'text', 'label' => __('Margin bottom (px)', 'framework'), 'default' => '', 'desc' => ''), 'fullwidth' => array('type' => 'select', 'label' => __('Full width', 'framework'), 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')), 'default' => 'yes', 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon', 'name' => __('Icon', 'framework'), 'description' => '', 'usage' => '[icon icon="img-1" animation="showup" title="Your title" content="Your content here..."]', 'code' => '[icon icon="{icon}" url="{url}" target="{target}" animation="{animation}" title="{title}" content="{content}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => array('img-1' => __('Dialog', 'framework'), 'img-2' => __('Scalability', 'framework'), 'img-3' => __('Globe', 'framework'), 'img-4' => __('Test', 'framework'), 'img-5' => __('Docs', 'framework'), 'img-6' => __('Paint', 'framework'), 'img-7' => __('Exchange', 'framework'), 'img-8' => __('Equalizer', 'framework'), 'footprint' => __('Footprint', 'framework'), 'setting' => __('Setting', 'framework')), 'default' => '', 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_2', 'name' => __('Icon 2', 'framework'), 'description' => '', 'usage' => '[icon_2 icon="img-1" url="http://...." target="_blank" title="Your title" content="Your content here..."]', 'code' => '[icon_2 icon="{icon}" url="{url}" target="{target}" title="{title}" content="{content}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_3', 'name' => __('Icon 3', 'framework'), 'description' => '', 'usage' => '[icon_3 icon="icon-glass" title="Your title"]Your content here...[/icon_3]', 'code' => '[icon_3 icon="{icon}" title="{title}"]{content}[/icon_3]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_4', 'name' => __('Icon 4', 'framework'), 'description' => '', 'usage' => '[icon_4 icon="icon-glass" size="12" color="#FF0000"]', 'code' => '[icon_4 icon="{icon}" size="{size}" color="{color}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'size' => array('type' => 'text', 'label' => __('Size (px)', 'framework'), 'desc' => __('Default size if empty', 'framework')), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => __('Default color if empty', 'framework')))), array('shortcode' => 'icon_box', 'name' => __('Icon Box', 'framework'), 'description' => '', 'usage' => '[icon_box icon="icon-search" url="http://..." target="_self" title="Your title"]Your content here...[/icon_box]', 'code' => '[icon_box icon="{icon}" url="{url}" target="{target}" title="{title}"]{content}[/icon_box]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icons', 'name' => __('Icons', 'framework'), 'description' => '', 'usage' => '[icons animation="showup"][icon type="icon-music" url="http://..." title="Your title..."]Your content...[/icon][/icons]', 'code' => '[icons animation="{animation}"]{child}[/icons]', 'fields' => array('animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => '')), 'add_child_button' => __('Add Icon', 'framework'), 'child' => array('name' => __('Icon', 'framework'), 'code' => '[icon_item type="{type}" url="{url}" target="{target}" title="{title}"]{content}[/icon_item]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => ts_getFontAwesomeArray(true, array('img-1' => __('Box', 'framework'), 'img-2' => __('Dynamic', 'framework'), 'img-3' => __('Support', 'framework'), 'champion' => __('Champion', 'framework'), 'function' => __('Function', 'framework'), 'leaf' => __('Leaf', 'framework'), 'light' => __('Light', 'framework'), 'settings' => __('Settings', 'framework'), 'show' => __('Show', 'framework'), 'time' => __('Time', 'framework'))), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'icons_list', 'name' => __('Icons List', 'framework'), 'description' => '', 'usage' => '[icons_list animation="showup"][icons_list_item type="icon-music" url="http://..." title="Your title..."]Your content...[/icons_list_item][/icons_list]', 'code' => '[icons_list animation="{animation}"]{child}[/icons_list]', 'fields' => array('animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => '')), 'add_child_button' => __('Add Icon', 'framework'), 'child' => array('name' => __('Icon', 'framework'), 'code' => '[icons_list_item type="{type}" title="{title}"]{content}[/icons_list_item]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'image', 'name' => __('Image', 'framework'), 'description' => '', 'usage' => '[image animaton="scale" size="half" align="alignleft"]image.png[/image]', 'code' => '[image animation="{animation}" size="{size}" align="{align}"]{image}[/image]', 'fields' => array('image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('left-to-right' => __('left-to-right', 'framework'), 'right-to-left' => __('right-to-left', 'framework'), 'bottom-to-top' => __('bottom-to-top', 'framework'), 'scale' => __('scaless', 'framework')), 'default' => 'left-to-right', 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Image width', 'framework'), 'values' => array('dont_scale' => __('dont scale', 'framework'), 'full' => __('full', 'framework'), 'half' => __('half', 'framework'), 'one_third' => __('1/3', 'framework'), 'one_fourth' => __('1/4', 'framework')), 'default' => 'dont_scale', 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('alignnone' => __('none', 'framework'), 'alignleft' => __('left', 'framework'), 'alignright' => __('right', 'framework'), 'aligncenter' => __('center', 'framework')), 'default' => 'dont_scale', 'desc' => ''))), array('shortcode' => 'images_slider', 'name' => __('Images Slider', 'framework'), 'description' => array(__('url - optional', 'framework'), __('target - _blank, _parent, _self, _top', 'framework')), 'usage' => array('[images_slider][image_item url="http://test.com" target="_blank"]image.png[/image_item][image_item url="http://test2.com"]image2.png[/image_item][/images_slider]'), 'code' => '[images_slider]{child}[/images_slider]', 'add_child_button' => __('Add Slider Item', 'framework'), 'child' => array('name' => __('Sliders item', 'framework'), 'code' => '[image_item url="{url}" target="{target}"]{image}[/image_item]', 'fields' => array('url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => '')))), array('shortcode' => 'latest_posts', 'name' => __('Latest posts', 'framework'), 'description' => '', 'usage' => '[latest_posts header="Latest posts" limit="12"]', 'code' => '[latest_posts header="{header}" limit="{limit}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Posts limit', 'framework'), 'desc' => ''))), array('shortcode' => 'latest_works', 'name' => __('Latest works', 'framework'), 'description' => '', 'usage' => '[latest_works header="Latest Works" limit=10]', 'code' => '[latest_works header="{header}" description="{description}" limit="{limit}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'description' => array('type' => 'text', 'label' => __('Description', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''))), array('shortcode' => 'list', 'name' => __('List', 'framework'), 'description' => array(__('type - icon-ok, icon-check, icon-check-empty, icon-circle, icon-angle-right, icon-check-empty', 'framework')), 'usage' => '[list type="icon-check-empty"]Your UL list here...[/list]', 'code' => '[list type="{type}"]<ul>{child}</ul>[/list]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('icon-arrow' => 'icon-arrow', 'icon-circle' => 'icon-circle', 'icon-check' => 'icon-check', 'icon-star' => 'icon-star', 'icon-plus' => 'icon-plus', 'icon-dash' => 'icon-dash'), 'desc' => '')), 'add_child_button' => __('Add List Item', 'framework'), 'child' => array('name' => __('List item', 'framework'), 'code' => '<li>{content}</li>', 'fields' => array('content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'message', 'name' => __('Message', 'framework'), 'description' => __('type - info, alert, success, error', 'framework'), 'usage' => '[message type="info"]Your content here...[/message]', 'code' => '[message type="{type}"]{content}[/message]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('info' => __('info', 'framework'), 'alert' => __('alert', 'framework'), 'success' => __('success', 'framework'), 'error' => __('error', 'framework')), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'our_clients', 'name' => __('Our clients', 'framework'), 'description' => '', 'usage' => array('[our_clients header="Your header..."][our_clients_item url="http://test.com" target="_blank"]image.png[/our_clients_item][/our_clients]'), 'code' => '[our_clients header="{header}"]{child}[/our_clients]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => '')), 'add_child_button' => __('Add Item', 'framework'), 'child' => array('name' => __('Items', 'framework'), 'code' => '[our_clients_item url="{url}" target="{target}"]{image}[/our_clients_item]', 'fields' => array('url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => '')))), array('shortcode' => 'person', 'name' => __('Person', 'framework'), 'description' => '', 'usage' => '[persons id=1]', 'code' => '[person id="{id}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Person ID', 'framework'), 'desc' => ''))), array('shortcode' => 'person_details', 'name' => __('Person details', 'framework'), 'description' => '', 'usage' => '[person_details id=1 header="Personal details"]', 'code' => '[person_details id="{id}" header="{header}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Person ID', 'framework'), 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''))), array('shortcode' => 'posts_slider', 'name' => __('Posts slider', 'framework'), 'description' => array(__('id - included posts (optional)', 'framework'), __('post_type - post type to show (default: post)', 'framework'), __('category - list of categories to show or to exclude (optional)', 'framework'), __('orderby - sort retrieved posts by parameter (default: date)', 'framework'), __('order - designates the ascending or descending order (default: DESC)', 'framework'), __('description - no, excerpt - show or hide description (default: excerpt)', 'framework')), 'usage' => '[posts_slider id="2,4,3" post_type="post/page" category="1,-2,-3" limit="4" orderby="date" order="desc" description="excerpt" excerpt="12"]', 'code' => '[posts_slider id="{id}" post_type="{type}" category="{category}" limit="{limit}" orderby="{orderby}" order="{order}" description="{description}" excerpt="{excerpt}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Post IDs (comma separated)', 'framework'), 'desc' => ''), 'type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('post' => __('post', 'framework'), 'page' => __('page', 'framework')), 'desc' => ''), 'category' => array('type' => 'text', 'label' => __('Category IDs (comma separated)', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''), 'orderby' => array('type' => 'select', 'label' => __('Order By', 'framework'), 'values' => array('date' => __('date', 'framework'), 'title' => __('title', 'framework')), 'desc' => ''), 'order' => array('type' => 'select', 'label' => __('Order', 'framework'), 'values' => array('DESC' => __('DESC', 'framework'), 'ASC' => __('ASC', 'framework')), 'desc' => ''), 'description' => array('type' => 'select', 'label' => __('Description', 'framework'), 'values' => array('no' => __('hidden', 'framework'), 'excerpt' => __('excerpt', 'framework')), 'desc' => ''), 'excerpt' => array('type' => 'text', 'label' => __('Excerpt words limit', 'framework'), 'desc' => ''))), array('shortcode' => 'promo', 'name' => __('Promo', 'framework'), 'description' => '', 'usage' => '[promo header="Header" content="Content" url="http://..." target="_self" image="sample.png"]', 'code' => '[promo header="{header}" content="{content}" url="{url}" target="{target}" image="{image}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''))), array('shortcode' => 'recent_posts', 'name' => __('Recent posts', 'framework'), 'description' => '', 'usage' => '[recent_posts limit="12"]', 'code' => '[recent_posts limit="{limit}"]', 'fields' => array('limit' => array('type' => 'text', 'label' => __('Posts limit', 'framework'), 'desc' => ''))), array('shortcode' => 'recent_projects', 'name' => __('Recent projects', 'framework'), 'description' => '', 'usage' => '[recent_projects]', 'code' => '[recent_projects]', 'fields' => array('description' => array('type' => 'description', 'label' => __('No options here', 'framework'), 'desc' => ''))), array('shortcode' => 'quotes', 'name' => __('Quotes', 'framework'), 'description' => array(__('style - classic, modern - default: classic', 'framework'), __('align - center, left, right - default: center', 'framework')), 'usage' => array('[quotes style="classic" author="John Doe"]Your text here...[/quotes]', '[quotes style="modern" align="" author="John Doe"]Your text here...[/quotes]'), 'code' => '[quotes style="{style}" align="{align}" author="{author}"]{content}[/quotes]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('classic' => __('classic', 'framework'), 'modern' => __('modern', 'framework')), 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('center' => __('center', 'framework'), 'left' => __('left', 'framework'), 'right' => __('right', 'framework')), 'desc' => ''), 'author' => array('type' => 'text', 'label' => __('Author', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'skillbars', 'name' => __('Skill bars', 'framework'), 'description' => '', 'usage' => '[skillbar style="1" type="vertical" height="100"][skillbar_item percentage="80" title="Cooking"][skillbar_item percentage="99" title="Sleeping"][/skillbar]', 'code' => '[skillbar style="{style}" type="{type}" height="{height}"]{child}[/skillbar]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2'), 'desc' => ''), 'type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('horizontal' => __('Horizontal', 'framework'), 'vertical' => __('Vertical', 'framework')), 'desc' => ''), 'height' => array('type' => 'text', 'label' => __('Height (px)', 'framework'), 'desc' => __('For vertical type only', 'framework'))), 'add_child_button' => __('Add Skill Bar', 'framework'), 'child' => array('name' => __('Skill bar', 'framework'), 'code' => '[skillbar_item percentage="{percentage}" title="{title}" color="{color}"]', 'fields' => array('percentage' => array('type' => 'select', 'label' => __('Percentage', 'framework'), 'values' => ts_get_percentage_select_values(), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => '')))), array('shortcode' => 'space', 'name' => __('Space', 'framework'), 'description' => '', 'usage' => '[space height="20"]', 'code' => '[space height="{height}"]', 'fields' => array('height' => array('type' => 'text', 'label' => __('Height (px)', 'framework'), 'desc' => ''))), array('shortcode' => 'special_text', 'name' => __('Special text', 'framework'), 'description' => '', 'usage' => array('[special_text tagname="h2" pattern="no" color="#FF0000" font_size="12" font_weight="bold" font="Arial" margin_top="10" margin_bottom="10" align="left"]Your text here...[/special_text]'), 'code' => '[special_text tagname="{tagname}" pattern="{pattern}" color="{color}" font_size="{fontsize}" font_weight="{fontweight}" font="{font}" margin_top="{margintop}" margin_bottom="{marginbottom}" align="{align}"]{content}[/special_text]', 'fields' => array('tagname' => array('type' => 'select', 'label' => __('Tag name', 'framework'), 'values' => array('h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6'), 'default' => 'brain', 'desc' => ''), 'pattern' => array('type' => 'select', 'label' => __('Pattern', 'framework'), 'values' => array('no' => __('No', 'framework'), 'yes' => __('Yes', 'framework')), 'default' => 'no', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Font color', 'framework'), 'desc' => ''), 'fontsize' => array('type' => 'text', 'label' => __('Font size', 'framework'), 'desc' => ''), 'fontweight' => array('type' => 'select', 'label' => __('Font weight', 'framework'), 'values' => array('default' => __('Default', 'framework'), 'normal' => __('Normal', 'framework'), 'bold' => __('Bold', 'framework'), 'bolder' => __('Bolder', 'framework'), 'light' => __('Light', 'framework')), 'default' => 'default', 'desc' => ''), 'font' => array('type' => 'select', 'label' => __('Font', 'framework'), 'desc' => '', 'values' => ts_get_font_choices(true)), 'margintop' => array('type' => 'text', 'label' => __('Margin top (px)', 'framework'), 'desc' => ''), 'marginbottom' => array('type' => 'text', 'label' => __('Margin bottom (px)', 'framework'), 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('left' => __('Left', 'framework'), 'center' => __('Center', 'framework'), 'right' => __('Right', 'framework')), 'default' => 'left', 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'steps', 'name' => __('Steps', 'framework'), 'description' => '', 'usage' => '[steps][step icon="..." title="Your title" subtitle="Your subtitle" url="http://.." target="_blank"][/steps]', 'code' => '[steps]{child}[/steps]', 'add_child_button' => __('Add Step', 'framework'), 'child' => array('name' => __('Step', 'framework'), 'code' => '[step icon="{icon}" title="{title}" subtitle="{subtitle}" url="{url}" target="{target}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => array('brain' => __('Brain', 'framework'), 'bulb' => __('Bulb', 'framework'), 'idea' => __('Idea', 'framework'), 'list' => __('List', 'framework'), 'mental' => __('Mental', 'framework'), 'start' => __('Start', 'framework'), 'strategy' => __('Strategy', 'framework'), 'target' => __('Target', 'framework'), 'time' => __('Time', 'framework'), 'zen' => __('Zen', 'framework')), 'default' => 'brain', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'subtitle' => array('type' => 'text', 'label' => __('Subtitle', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => '')))), array('shortcode' => 'tabs', 'name' => __('Tabs', 'framework'), 'description' => '', 'usage' => '[tabs orientation="horizontal" position="top-left" style="normal" autoplay="no" animation="fadein"][tab url="http://test.com" target="_blank"]Your text here...[/tab][/tabs]', 'code' => '[tabs orientation="{orientation}" position="{position}" style="{style}" autoplay="{autoplay}" animation="{animation}"]{child}[/tabs]', 'fields' => array('orientation' => array('type' => 'select', 'label' => __('Orientation', 'framework'), 'values' => array('horizontal' => __('horizontal', 'framework'), 'vertical' => __('vertical', 'framework')), 'desc' => ''), 'position' => array('type' => 'select', 'label' => __('Position', 'framework'), 'values' => array('top-left' => __('top-left', 'framework'), 'top-right' => __('top-right', 'framework'), 'top-center' => __('top-center', 'framework'), 'top-compact' => __('top-compact', 'framework'), 'bottom-left' => __('bottom-left', 'framework'), 'bottom-center' => __('bottom-center', 'framework'), 'bottom-right' => __('bottom-right', 'framework'), 'bottom-compact' => __('bottom-compact', 'framework')), 'desc' => __('When orientation option is set to "vertical", "only top-left" and "top-right" is supported!', 'framework')), 'style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'underline' => __('underline', 'framework')), 'desc' => ''), 'autoplay' => array('type' => 'select', 'label' => __('Autoplay', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('fadeIn' => __('fadeIn', 'framework'), 'slideDown' => __('slideDown', 'framework')), 'desc' => '')), 'add_child_button' => __('Add Tab', 'framework'), 'child' => array('name' => __('Tab', 'framework'), 'code' => '[tab title="{title}" icon="{icon}" iconsize="{iconsize}"]{content}[/tab]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'iconsize' => array('type' => 'select', 'label' => __('Icon size', 'framework'), 'values' => array('icon-regular' => 'icon-regular', 'icon-large' => 'icon-large', 'icon-2x' => 'icon-2x', 'icon-4x' => 'icon-4x'), 'default' => '', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'teaser', 'name' => __('Teaser', 'framework'), 'description' => '', 'usage' => '[teaser style="1" image="image.png" icon="..." title="Your title" subtitle="Your subtitle" url="http://..." target="_self"]', 'code' => '[teaser style="{style}" image="{image}" icon={icon} title="{title}" subtitle="{subtitle}" url="{url}" target="{target}"]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'), 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'icon' => array('type' => 'select', 'label' => __('Icon (style 3 and 4 only)', 'framework'), 'values' => array('teaser-icon1.png' => __('Icon 1', 'framework'), 'teaser-icon2.png' => __('Icon 2', 'framework'), 'teaser-icon3.png' => __('Icon 3', 'framework')), 'default' => 'teaser-icon1', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'subtitle' => array('type' => 'text', 'label' => __('Subtitle (style 1,2 and 5 only)', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''))), array('shortcode' => 'teaser_2', 'name' => __('Teaser 2', 'framework'), 'description' => '', 'usage' => '[teaser_2 image="image.png" title="Your title" button="Click me" url="http://..." target="_self"]Your content..[/teaser_2]', 'code' => '[teaser_2 image="{image}" title="{title}" button="{button}" url="{url}" target="{target}"]{content}[/teaser_2]', 'fields' => array('image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'button' => array('type' => 'text', 'label' => __('Button', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'testimonials', 'name' => __('Testimonials', 'framework'), 'description' => array(__('type - static/slider - default: slider', 'framework'), __('category - testimonial categories', 'framework'), __('limit - default: 3', 'framework')), 'usage' => array('[testimonials type="static" title="Your title" category="3" limit="3"]'), 'code' => '[testimonials type="{type}" title="{title}" category="{category}" limit="{limit}"]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('slider' => __('slider', 'framework'), 'slider2' => __('slider', 'framework') . ' 2', 'static' => __('static', 'framework')), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title (only slider 2)', 'framework'), 'desc' => ''), 'category' => array('type' => 'text', 'label' => __('Category ID', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''))), array('shortcode' => 'text', 'name' => __('Text', 'framework'), 'description' => '', 'usage' => '[text]Your text here...[/text]', 'code' => '[text]{text}[/text]', 'fields' => array('text' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))));
    return $aHelp;
}
Example #2
0
/**
 * Custom popup items
 * @return array
 */
function ts_get_custom_popup_items()
{
    $custom_popup_items = array(array('shortcode' => 'custom_icon', 'name' => __('Icon', 'framework'), 'description' => '', 'usage' => '', 'code' => '{icon}', 'fields' => array('icon' => array('type' => 'select', 'label' => '', 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'))));
    return $custom_popup_items;
}
        public function setSections()
        {
            /**
                          Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
                         * */
            // Background Patterns Reader
            $sample_patterns_path = ReduxFramework::$_dir . '../sample/patterns/';
            $sample_patterns_url = ReduxFramework::$_url . '../sample/patterns/';
            $sample_patterns = array();
            if (is_dir($sample_patterns_path)) {
                if ($sample_patterns_dir = opendir($sample_patterns_path)) {
                    $sample_patterns = array();
                    while (($sample_patterns_file = readdir($sample_patterns_dir)) !== false) {
                        if (stristr($sample_patterns_file, '.png') !== false || stristr($sample_patterns_file, '.jpg') !== false) {
                            $name = explode('.', $sample_patterns_file);
                            $name = str_replace('.' . end($name), '', $sample_patterns_file);
                            $sample_patterns[] = array('alt' => $name, 'img' => $sample_patterns_url . $sample_patterns_file);
                        }
                    }
                }
            }
            ob_start();
            $ct = wp_get_theme();
            $this->theme = $ct;
            $item_name = $this->theme->get('Name');
            $tags = $this->theme->Tags;
            $screenshot = $this->theme->get_screenshot();
            $class = $screenshot ? 'has-screenshot' : '';
            $customize_title = sprintf(__('Customize &#8220;%s&#8221;', 'progressive'), $this->theme->display('Name'));
            ?>
            <div id="current-theme" class="<?php 
            echo esc_attr($class);
            ?>
">
            <?php 
            if ($screenshot) {
                ?>
                <?php 
                if (current_user_can('edit_theme_options')) {
                    ?>
                        <a href="<?php 
                    echo wp_customize_url();
                    ?>
" class="load-customize hide-if-no-customize" title="<?php 
                    echo esc_attr($customize_title);
                    ?>
">
                            <img src="<?php 
                    echo esc_url($screenshot);
                    ?>
" alt="<?php 
                    esc_attr_e('Current theme preview');
                    ?>
" />
                        </a>
                <?php 
                }
                ?>
                    <img class="hide-if-customize" src="<?php 
                echo esc_url($screenshot);
                ?>
" alt="<?php 
                esc_attr_e('Current theme preview');
                ?>
" />
                <?php 
            }
            ?>

                <h4><?php 
            echo $this->theme->display('Name');
            ?>
</h4>

                <div>
                    <ul class="theme-info">
                        <li><?php 
            printf(__('By %s', 'progressive'), $this->theme->display('Author'));
            ?>
</li>
                        <li><?php 
            printf(__('Version %s', 'progressive'), $this->theme->display('Version'));
            ?>
</li>
                        <li><?php 
            echo '<strong>' . __('Tags', 'progressive') . ':</strong> ';
            printf($this->theme->display('Tags'));
            ?>
</li>
                    </ul>
                    <p class="theme-description"><?php 
            echo $this->theme->display('Description');
            ?>
</p>
            <?php 
            if ($this->theme->parent()) {
                printf(' <p class="howto">' . __('This <a href="%1$s">child theme</a> requires its parent theme, %2$s.') . '</p>', __('http://codex.wordpress.org/Child_Themes', 'progressive'), $this->theme->parent()->display('Name'));
            }
            ?>

                </div>
            </div>

            <?php 
            $item_info = ob_get_contents();
            ob_end_clean();
            $sampleHTML = '';
            if (file_exists(dirname(__FILE__) . '/info-html.html')) {
                /** @global WP_Filesystem_Direct $wp_filesystem  */
                global $wp_filesystem;
                if (empty($wp_filesystem)) {
                    require_once ABSPATH . '/wp-admin/includes/file.php';
                    WP_Filesystem();
                }
                $sampleHTML = $wp_filesystem->get_contents(dirname(__FILE__) . '/info-html.html');
            }
            //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('title' => 'General Settings', 'fields' => array(array('desc' => 'Enable or Disable preloader', 'id' => 'preloader', "default" => false, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Preloader'), array('desc' => 'Upload your logo.', 'id' => 'logo', 'type' => 'media', 'title' => 'Logo', 'url' => true), array('desc' => 'Upload your fav icon.', 'id' => 'fav_icon', 'type' => 'media', 'title' => 'Fav Icon', 'url' => true), array('desc' => 'Enter the phone number which will be visible at top bar.', 'id' => 'topbar-phone', 'type' => 'text', 'title' => 'Top Phone Number'), array('desc' => 'Enable or Disable sticky menu', 'id' => 'sticky_menu', "default" => 1, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Sticky menu'), array('desc' => 'Enable or Disable top bar', 'id' => 'switch-topbar', "default" => 1, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Top Bar'), array('desc' => 'Top Bar must be enabled first to use this option', 'id' => 'topbar-always-on', "default" => 0, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Top Bar on'), array('desc' => 'Enable or Disable promo panel', 'id' => 'promo_panel', "default" => 0, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Promo panel'), array('desc' => 'Enter the Shortcode if you have any eg. [wpml_languages].', 'id' => 'language-options', 'type' => 'text', 'title' => 'Top Bar Shortcode 1'), array('desc' => 'Enter the Shortcode if you have any.', 'id' => 'currency-options', 'type' => 'text', 'title' => 'Top Bar Shortcode 2')), 'icon' => 'el-icon-cog');
            ///////////////////////////////////////---custom Code Blocks-----//////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('icon' => 'el-icon-tint', 'title' => __('Code Editors', 'progressive'), 'fields' => array(array('id' => 'css-code', 'type' => 'ace_editor', 'title' => __('CSS Code', 'progressive'), 'subtitle' => __('Paste your CSS code here.', 'progressive'), 'mode' => 'css', 'compiler' => true, 'theme' => 'monokai'), array('id' => 'js-code', 'type' => 'ace_editor', 'title' => __('JS Code', 'progressive'), 'subtitle' => __('Paste your JS code here. Js will be included in footer.', 'progressive'), 'mode' => 'javascript', 'theme' => 'chrome', 'default' => "jQuery(document).ready(function(){\n\n});")));
            ///////////////////////////////////////---Styling Options-----//////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('icon' => 'el-icon-magic', 'title' => __('Styling Options', 'progressive'), 'fields' => array(array('id' => 'layout', 'type' => 'image_select', 'title' => __('Layout', 'progressive'), 'options' => array('full' => array('alt' => 'Full', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'), 'boxed' => array('alt' => 'Boxed', 'img' => ReduxFramework::$_url . 'assets/img/3cm.png')), 'default' => 'full'), array('id' => 'skin', 'type' => 'color', 'compiler' => array(''), 'title' => __('Theme Skin', 'progressive'), 'validate' => 'color'), array('id' => 'footer-heading-color', 'type' => 'color', 'output' => array('#footer .sidebar .widget h3, #footer .sidebar .widget .title-block .title'), 'title' => __('Footer Heading Text Color', 'progressive'), 'validate' => 'color'), array('id' => 'footer-top-color', 'type' => 'background', 'output' => array('#footer .footer-top'), 'title' => __('Footer Top Background', 'progressive'), 'validate' => 'color'), array('id' => 'footer-top-text-color', 'type' => 'color', 'output' => array('#footer .footer-top,#footer .sidebar .menu li a, #footer .sidebar .menu li a:visited'), 'title' => __('Footer Top Text Color', 'progressive'), 'validate' => 'color'), array('id' => 'footer-bottom-background', 'type' => 'background', 'output' => array('#footer .footer-bottom'), 'title' => __('Footer Bottom Background', 'progressive'), 'validate' => 'color'), array('id' => 'footer-bottom-text-color', 'type' => 'color', 'output' => array('#footer'), 'title' => __('Footer Bottom Text Color', 'progressive'), 'validate' => 'color'), array('id' => 'opt-background', 'type' => 'background', 'compiler' => true, 'output' => array('#boxed-bg'), 'title' => __('Body Background', 'progressive'), 'subtitle' => __('Body background with image, color, etc.', 'progressive'), 'desc' => __('This is the description field, again good for additional info.', 'progressive'), 'default' => array('background-color' => '#1e73be')), array('id' => 'heading-typography', 'type' => 'typography', 'title' => __('Heading Typography', 'progressive'), 'google' => true, 'font-backup' => true, 'font_family_clear' => true, 'output' => array('h1,h2,h3,h4,h5'), 'font-size' => false, 'font-style' => false, 'text-align' => false, 'line-height' => false, 'units' => 'px', 'subtitle' => __('Typography options.', 'progressive'), 'default' => array('color' => '', 'font-style' => '', 'font-family' => 'Arimo', 'google' => true, 'font-size' => '', 'line-height' => '')), array('id' => 'body-typography', 'type' => 'typography', 'title' => __('Body Typography', 'progressive'), 'google' => true, 'font-backup' => true, 'font_family_clear' => true, 'output' => array('body'), 'units' => 'px', 'subtitle' => __('Typography options.', 'progressive'), 'default' => array('color' => '', 'font-style' => '', 'font-family' => 'Arimo', 'google' => true, 'font-size' => '14px', 'line-height' => ''))));
            ///////////////////////////////////////---Promo panel-----//////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('icon' => 'el-icon-minus', 'title' => __('Promo panel', 'framework'), 'fields' => array(array('id' => 'promo_panel_icon_1', 'type' => 'select', 'title' => __('Icon', 'progressive') . ' 1', 'subtitle' => '', 'options' => ts_getFontAwesomeArray(), 'class' => ''), array('title' => __('Text', 'progressive') . ' 1', "subtitle" => "", "id" => "promo_panel_text_1", "std" => "", "type" => "text"), array('id' => 'promo_panel_icon_2', 'type' => 'select', 'title' => __('Icon', 'progressive') . ' 2', 'subtitle' => '', 'options' => ts_getFontAwesomeArray(), 'default' => ''), array('title' => __('Text', 'progressive') . ' 2', "subtitle" => "", "id" => "promo_panel_text_2", "std" => "", "type" => "text"), array('title' => __('Facebook URL', 'progressive'), "subtitle" => "", "id" => "promo_panel_facebook", "std" => "", "type" => "text"), array('title' => __('Twitter URL', 'progressive'), "subtitle" => "", "id" => "promo_panel_twitter", "std" => "", "type" => "text"), array('title' => __('Google+ URL', 'progressive'), "subtitle" => "", "id" => "promo_panel_google_plus", "std" => "", "type" => "text"), array('title' => __('LinkedIn URL', 'progressive'), "subtitle" => "", "id" => "promo_panel_linkedin", "std" => "", "type" => "text"), array('title' => __('Button URL', 'progressive'), "subtitle" => "", "id" => "promo_panel_button_url", "std" => "", "type" => "text"), array('title' => __('Button Label', 'progressive'), "subtitle" => "", "id" => "promo_panel_button_label", "std" => "", "type" => "text")));
            ///////////////////////////////////////---Sidebars Blocks-----//////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('icon' => 'el-icon-pause', 'title' => __('Sidebars', 'framework'), 'fields' => array(array('id' => 'custom-sidebars', 'type' => 'multi_text', 'title' => __('Custom sidebars', 'framework'), 'subtitle' => __('Custom sidebars can be assigned to any page or post.', 'framework'), 'desc' => __('You can add as many custom sidebars as you need.', 'framework'))));
            ///////////////////////////////////Shop Page/////////////////////////////////////////
            $this->sections[] = array('icon' => 'el-icon-shopping-cart', 'title' => __('Shop Settings', 'progressive'), 'fields' => array(array('desc' => 'Enable or Disable cart in header', 'id' => 'cart_in_header', "default" => false, 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Cart in header'), array('id' => 'shop-layout', 'type' => 'image_select', 'title' => __('Shop Layout', 'progressive'), 'options' => array('1' => array('alt' => '1 Column', 'img' => ReduxFramework::$_url . 'assets/img/1col.png'), 'shop9right' => array('alt' => '2 Column Left', 'img' => ReduxFramework::$_url . 'assets/img/2cl.png'), 'shop9left' => array('alt' => '2 Column Right', 'img' => ReduxFramework::$_url . 'assets/img/2cr.png')), 'default' => '2'), array('desc' => 'Upload your header image for blog. This will be visiable on all blog posts, archive and blog index page.', 'id' => 'shop_header_img', 'type' => 'media', 'title' => 'Shop Banner Image', 'url' => true, 'compiler' => 'true'), array('title' => __('Shop Banner Title', 'progressive'), "subtitle" => "Enter shop page title", "id" => "shop_page_top_title", "std" => "Shop", "type" => "text")));
            /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('title' => 'Maintinace Mode', 'fields' => array(array('desc' => 'Enable or Disable Maintinace Mode', 'id' => 'coming_soon_switch', 'on' => 'Enable', 'off' => 'Disable', 'type' => 'switch', 'title' => 'Maintinace Mode'), array('id' => 'info_warning', 'type' => 'info', 'style' => 'info', 'title' => __('Note:', 'progressive'), 'desc' => __('Only administrator will be able to visit site. If you want to check mantinance mode is enable or not please logout.', 'progressive')), array('desc' => 'Upload your logo for Maintinace mode', 'id' => 'coming_soon_logo', 'type' => 'media', 'title' => 'Maintinace Mode Logo', 'url' => true), array('desc' => 'Write somethig.', 'id' => 'coming_soon_des', 'type' => 'textarea', 'title' => 'Description'), array('id' => 'info_warning', 'type' => 'info', 'style' => 'info', 'title' => __('Setting Date:', 'progressive'), 'desc' => __('Always use future date. Otherwise count down counter will not work properly.', 'progressive')), array('title' => __('Timer ', 'progressive'), "desc" => "Enable or Disable Timer", "id" => "switch_timer", "default" => 1, "on" => "Enable", "off" => "Disable", "type" => "switch"), array('id' => 'hours', 'type' => 'slider', 'title' => __('Hours', 'progressive'), 'subtitle' => __('Set hours.', 'progressive'), "default" => 23, "min" => 0, "step" => 1, "max" => 23, 'display_value' => 'text', 'required' => array(0 => 'switch_timer', 1 => '=', 2 => 1)), array('id' => 'mints', 'type' => 'slider', 'title' => __('Minutes', 'progressive'), 'subtitle' => __('Set Minutes.', 'progressive'), "default" => 59, "min" => 0, "step" => 1, "max" => 59, 'display_value' => 'text', 'required' => array(0 => 'switch_timer', 1 => '=', 2 => 1)), array('id' => 'coming_soon_date', 'type' => 'date', 'title' => __('Date', 'progressive'), 'subtitle' => __('Always use future date', 'progressive'), 'desc' => __('Launch date of your site.', 'progressive'), 'placeholder' => 'Select Date', 'required' => array(0 => 'switch_timer', 1 => '=', 2 => 1)), array('id' => 'coming_soon_form', 'type' => 'text', 'title' => __('Subscibe Form Shortcode', 'progressive'), 'subtitle' => __('Enter your subscribe form shortcode.', 'progressive')), array('id' => 'info_warning', 'type' => 'info', 'style' => 'info', 'title' => __('More Options:', 'progressive'), 'desc' => __('Enable or disable anything which you want.', 'progressive')), array('desc' => 'Add your facebook url', 'id' => 'coming_soon_facebook', 'type' => 'text', 'title' => 'Facebook'), array('desc' => 'Add your twitter url', 'id' => 'coming_soon_twitter', 'type' => 'text', 'title' => 'Twitter'), array('desc' => 'Add your gplus url', 'id' => 'coming_soon_gplus', 'type' => 'text', 'title' => 'Google+'), array('desc' => 'Add your linkedin url', 'id' => 'coming_soon_linkedin', 'type' => 'text', 'title' => 'Linkedin')), 'icon' => 'el-icon-cog');
            ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            $this->sections[] = array('title' => __('Import / Export', 'progressive'), 'desc' => __('Import and Export your Redux Framework settings from file, text or URL.', 'progressive'), 'icon' => 'el-icon-refresh', 'fields' => array(array('id' => 'opt-import-sample-data', 'type' => 'raw', 'title' => 'Import sample data', 'content' => '
							<p class="description">' . __('Import sample data including posts, pages, portfolio items, theme options, images, sliders etc. It may take severals minutes!', 'framework') . '</p>
							<p><span data-confirm="' . esc_attr__('Do you want to continue? Your data will be lost!', 'framework') . '" data-import-url="' . admin_url('themes.php?page=_options&import_sample_data=1') . '" id="import-sample-data" class="button button-primary">' . __('Import', 'progressive') . '</span></p>'), array('id' => 'opt-import-export', 'type' => 'import_export', 'title' => 'Import Export', 'subtitle' => 'Save and restore your Redux options', 'full_width' => false)));
        }
function ts_get_vc_map_icons()
{
    return array('type' => 'dropdown', 'heading' => __('Icon', 'framework'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown');
}
Example #5
0
function ts_integrateWithVC()
{
    if (!function_exists('vc_map')) {
        return;
    }
    /*----------------------------------------------------------------------------*
     * Alerts
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Alert', 'progressive'), 'base' => 'alert', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Info', 'progressive') => 'info', __('Error', 'progressive') => 'error', __('Notice', 'progressive') => 'notice', __('Success', 'progressive') => 'success', __('Danger', 'progressive') => 'danger', __('Warning', 'progressive') => 'warning'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Hide Icon', 'progressive'), 'param_name' => 'hide_icon', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Close button', 'progressive'), 'param_name' => 'close_btn', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no'), 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Message', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Message', 'progressive'), 'param_name' => 'message1', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Blockqoute
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Blockquote', 'progressive'), 'base' => 'blockquote', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Author', 'progressive'), 'param_name' => 'author', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Button
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Button', 'progressive'), 'base' => 'button', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_icons(), ts_get_livicons(), ts_get_livicons_animate_on(), array('type' => 'colorpicker', 'heading' => __('Background color', 'progressive'), 'param_name' => 'background', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'btn-sm', __('Medium', 'progressive') => 'btn-default', __('Large', 'progressive') => 'btn-lg', __('Block Button', 'progressive') => 'btn-lg btn-block', __('Metro', 'progressive') => 'metro'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Target', 'progressive'), 'param_name' => 'target', 'admin_label' => false, 'value' => array('_blank' => '_blank', '_parent' => '_parent', '_self' => '_self', '_top' => '_top')), array('type' => 'dropdown', 'heading' => __('Align', 'framework'), 'param_name' => 'align', 'admin_label' => false, 'value' => array('Left' => 'text-left', 'Center' => 'text-center', 'Right' => 'text-right', 'Pull left' => 'pull-left', 'Pull right' => 'pull-right', 'None' => 'none')))));
    /*----------------------------------------------------------------------------*
     * Button
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Button outlined', 'progressive'), 'base' => 'button_outlined', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_icons(), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Background color', 'progressive'), 'param_name' => 'background_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Background hover color', 'progressive'), 'param_name' => 'background_hover_color', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'btn-sm', __('Medium', 'progressive') => 'btn-default', __('Large', 'progressive') => 'btn-lg', __('Block Button', 'progressive') => 'btn-lg btn-block'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Target', 'progressive'), 'param_name' => 'target', 'admin_label' => false, 'value' => array('_blank' => '_blank', '_parent' => '_parent', '_self' => '_self', '_top' => '_top')), ts_get_vc_element_align())));
    /*-----------------------------------------------------*
     * Divider
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Divider', 'progressive'), 'base' => 'divider', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Solid', 'progressive') => '', __('shadow', 'progressive') => 'shadow', __('Dotted', 'progressive') => 'dotted', __('Dashed', 'progressive') => 'dashed', __('Double', 'progressive') => 'double'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''))));
    /*-----------------------------------------------------*
     * Sequence
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Steps', 'progressive'), 'base' => 'steps', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Step', 'progressive'), 'param_name' => 'step', 'admin_label' => false, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Style1', 'progressive') => 'border-warning', __('Style2', 'progressive') => 'border-info bg-info', __('Style3', 'progressive') => 'border-error', __('Style4', 'progressive') => 'border-success bg-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Align', 'progressive'), 'param_name' => 'align', 'admin_label' => false, 'value' => array(__('Left', 'progressive') => '', __('Right', 'progressive') => 'step-right'), 'description' => ''))));
    /*-----------------------------------------------------*
     * Sequence2
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Steps2', 'progressive'), 'base' => 'steps2', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), ts_get_vc_map_colorpicker('Icon Color', 'icon_color'), array('type' => 'dropdown', 'heading' => __('Icon Size', 'progressive'), 'param_name' => 'icon_size', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), ts_get_livicons(), ts_get_vc_map_colorpicker('Icon Color', 'livicon_color', 'Livicons'), array('type' => 'dropdown', 'heading' => __('Livicons Size', 'progressive'), 'param_name' => 'livicon_size', 'group' => 'Livicons', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Border Style', 'progressive'), 'param_name' => 'border', 'admin_label' => false, 'value' => array(__('None', 'progressive') => '', __('Style1', 'progressive') => 'border-warning', __('Style2', 'progressive') => 'border-info', __('Style3', 'progressive') => 'border-error', __('Style4', 'progressive') => 'border-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Background Style', 'progressive'), 'param_name' => 'bg', 'admin_label' => false, 'value' => array(__('None', 'progressive') => '', __('Style1', 'progressive') => 'bg-warning', __('Style2', 'progressive') => 'bg-info', __('Style3', 'progressive') => 'bg-error', __('Style4', 'progressive') => 'bg-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Text Style', 'progressive'), 'param_name' => 'text', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => '', __('White', 'progressive') => 'white title-white'), 'description' => ''), array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'img_url', 'admin_label' => false, 'description' => 'Only works if background style is not none.'), array('type' => 'dropdown', 'heading' => __('Last Step', 'progressive'), 'param_name' => 'last_step', 'value' => array(__('No', 'progressive') => 'steps-apart', __('Yes', 'progressive') => '')))));
    /*----------------------------------------------------------------------------*
     * Heading 
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Heading', 'progressive'), 'base' => 'heading', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Type', 'progressive'), 'param_name' => 'type', 'admin_label' => true, 'value' => array('H1' => '1', 'H2' => '2', 'H3' => '3', 'H4' => '4', 'H5' => '5'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Heading Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Border Style', 'progressive') => 'title-box', __('Border Style White', 'progressive') => 'title-box title-white', __('Big Border Style', 'progressive') => 'inner-page-header', __('Big Border Style White', 'progressive') => 'inner-page-header white'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), ts_get_vc_element_align(), array('type' => 'textfield', 'heading' => __('ID (optional)', 'progressive'), 'param_name' => 'id', 'admin_label' => false, 'description' => 'Enter a unique id for this heading.'))));
    /*----------------------------------------------------------------------------*
     * icon
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Icon', 'progressive'), 'base' => 'icon', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Default', 'progressive') => 'default', __('Outlined', 'progressive') => 'outlined'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'framework'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => true, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => 'Height in px. e.g. 16, 24'), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => 'Title attribute'))));
    /*----------------------------------------------------------------------------*
     * icon
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Icon List', 'progressive'), 'base' => 'icons', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_map_icons(), array('type' => 'dropdown', 'heading' => __('Icon Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => __('Select size', 'progressive'), 'value' => array('24px' => __('icon-24', 'progressive'), '32px' => __('icon-32', 'progressive'), '40px' => __('icon-40', 'progressive'), '60px' => __('icon-60', 'progressive'), '100px' => __('icon-100', 'progressive'))), array('type' => 'textfield', 'heading' => __('Radius', 'progressive'), 'param_name' => 'bg_radius', 'admin_label' => false, 'description' => 'icons radius in px. only write 20 or 30'), array('type' => 'colorpicker', 'heading' => __('Icon Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Icon Background Color', 'progressive'), 'param_name' => 'icon_bg_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Icon Border Color', 'progressive'), 'param_name' => 'icon_border_color', 'admin_label' => false, 'description' => ''))));
    /**
     * image
     */
    vc_map(array('name' => __('Image', 'progressive'), 'base' => 'image', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Image Caption', 'progressive'), 'param_name' => 'caption', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('External URL', 'progressive'), 'param_name' => 'img_link', 'admin_label' => false, 'description' => ''), array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'img_url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Image Frame', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'description' => __('Select an Image frame', 'progressive'), 'value' => array('No Style' => '', 'Rounded' => __('frame img-rounded', 'progressive'), 'Solid Border' => __('frame manufactures', 'progressive'), 'Solid Border' => __('frame manufactures', 'progressive'), 'Padding' => __('frame frame-padding', 'progressive'), 'Shaddow' => __('frame frame-shadow-metro', 'progressive'), 'Padding, Border' => __('frame frame-padding frame-border', 'progressive'), 'Padding, Shaddow' => __('frame frame-padding frame-shadow', 'progressive'), 'Padding, Lifted Shaddow' => __('frame frame-padding frame-shadow-lifted', 'progressive'), 'Padding, Shaddow Curved' => __('frame frame-padding frame-shadow-curved', 'progressive'), 'Shaddow, Lifted, Rotated' => __('frame frame-shadow-lifted rotated-box', 'progressive'), 'Pading, Shaddow, Raised' => __('frame frame-padding frame-shadow-raised', 'progressive'), 'Shaddow, Lifted, Rotated Right' => __('frame frame-shadow-lifted rotated-right-box', 'progressive'))), array('type' => 'textfield', 'heading' => __('Width', 'progressive'), 'param_name' => 'width', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Height', 'progressive'), 'param_name' => 'height', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Hover Border', 'progressive'), 'param_name' => 'hover_border', 'admin_label' => true, 'description' => __('Enable or disable hover border.', 'progressive'), 'value' => array('Disable' => '', 'Enable' => __('hover-border', 'progressive'))), array('type' => 'dropdown', 'heading' => __('Hover opacity', 'progressive'), 'param_name' => 'hover_opacity', 'admin_label' => true, 'description' => __('Change opacity on hover.', 'progressive'), 'value' => array(__('Default', 'Progressive') => '', '10%' => 'hover-opacity hover-opacity-10', '20%' => 'hover-opacity hover-opacity-20', '30%' => 'hover-opacity hover-opacity-30', '40%' => 'hover-opacity hover-opacity-40', '50%' => 'hover-opacity hover-opacity-50', '60%' => 'hover-opacity hover-opacity-60', '70%' => 'hover-opacity hover-opacity-70', '80%' => 'hover-opacity hover-opacity-80', '90%' => 'hover-opacity hover-opacity-90')), ts_get_vc_element_align())));
    /**
     * livicon
     */
    vc_map(array('name' => __('Livicon', 'progressive'), 'base' => 'livicon', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Default', 'progressive') => 'default', __('Outlined', 'progressive') => 'outlined'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Livicon', 'framework'), 'param_name' => 'livicon', 'admin_label' => true, 'value' => ts_get_livicon_list(true), 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), array('type' => 'dropdown', 'heading' => __('Icon animation', 'progressive'), 'param_name' => 'icon_animation', 'admin_label' => true, 'value' => array_flip(array('yes' => __('Yes', 'progressive'), 'no' => __('No', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Event', 'progressive'), 'param_name' => 'event', 'admin_label' => true, 'value' => array_flip(array('hover' => __('Hover', 'progressive'), 'click' => __('Click', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Loop', 'progressive'), 'param_name' => 'loop', 'admin_label' => true, 'value' => array_flip(array('no' => __('No', 'progressive'), 'yes' => __('Infinite loop', 'progressive'), '1' => '1 ' . __('Loop', 'progressive'), '2' => '2 ' . __('Loops', 'progressive'), '3' => '3 ' . __('Loops', 'progressive'), '4' => '4 ' . __('Loops', 'progressive'), '5' => '5 ' . __('Loops', 'progressive'), '6' => '6 ' . __('Loops', 'progressive'), '7' => '7 ' . __('Loops', 'progressive'), '8' => '8 ' . __('Loops', 'progressive'), '9' => '9 ' . __('Loops', 'progressive'), '10' => '10 ' . __('Loops', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Shadow', 'progressive'), 'param_name' => 'shadow', 'admin_label' => true, 'value' => array_flip(array('no' => __('No', 'progressive'), 'yes' => __('Yes', 'progressive'))), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => true, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => 'Height in px. e.g. 16, 24'), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => 'Title attribute'))));
    /**
     * map_container
     */
    vc_map(array('name' => __('Google Map', 'progressive'), 'base' => 'map_container', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'textfield', 'heading' => __('Height', 'progressive'), 'param_name' => 'height', 'admin_label' => true, 'description' => 'Height in px. e.g 300 , 400'), ts_get_vc_map_textfield('Latitude', 'lat'), ts_get_vc_map_textfield('Lanitude', 'lng'), ts_get_vc_map_textfield('Marker title', 'marker_title'), ts_get_vc_map_textfield('Marker content', 'marker_content'), array('type' => 'dropdown', 'heading' => __('Zoom', 'progressive'), 'param_name' => 'zoom', 'admin_label' => false, 'value' => array(__('4', 'progressive') => '4', __('5', 'progressive') => '5', __('6', 'progressive') => '6', __('7', 'progressive') => '7', __('8', 'progressive') => '8', __('9', 'progressive') => '9'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => 'normal', __('Satellite', 'progressive') => 'satellite', __('Terrain', 'progressive') => 'terrain'), 'description' => ''), ts_get_vc_map_textfield('Area 1 Title', 'area_1_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 1 Content', 'progressive'), 'param_name' => 'area_1_content', 'admin_label' => false, 'group' => 'Overlay'), ts_get_vc_map_textfield('Area 2 Title', 'area_2_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 2 Content', 'progressive'), 'param_name' => 'area_2_content', 'admin_label' => false, 'group' => 'Overlay'), ts_get_vc_map_textfield('Area 3 Title', 'area_3_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 3 Content', 'progressive'), 'param_name' => 'area_3_content', 'admin_label' => false, 'group' => 'Overlay'))));
    /*--------------------------------------------------*
     * social_icons
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Social Icons', 'progressive'), 'base' => 'social_icons', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', "icon" => "xv_vc_icon", 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*------------------------------------------------------------*
    	 * special_text
    	 -----------------------------------------------------------------*/
    vc_map(array('name' => __('Special Text', 'progressive'), 'base' => 'special_text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Tag name', 'progressive'), 'param_name' => 'tagname', 'admin_label' => true, 'value' => array_flip(array('h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6', 'div' => 'div', 'span' => 'span')), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Font color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Font size', 'progressive'), 'param_name' => 'font_size', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Font weight', 'progressive'), 'param_name' => 'font_weight', 'admin_label' => true, 'value' => array_flip(array('default' => __('Default', 'progressive'), 'normal' => __('Normal', 'progressive'), 'bold' => __('Bold', 'progressive'), 'bolder' => __('Bolder', 'progressive'), '300' => __('Light', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Font', 'progressive'), 'param_name' => 'font', 'admin_label' => true, 'value' => array_flip(ts_get_font_choices(true)), 'description' => ''), array('type' => 'textfield', 'heading' => __('Margin top (px)', 'progressive'), 'param_name' => 'margin_top', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Margin bottom (px)', 'progressive'), 'param_name' => 'margin_bottom', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Align', 'progressive'), 'param_name' => 'align', 'admin_label' => true, 'value' => array_flip(array('left' => __('Left', 'progressive'), 'center' => __('Center', 'progressive'), 'right' => __('Right', 'progressive'))), 'description' => ''), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Replace', 'progressive'), 'param_name' => 'replace', 'admin_label' => false, 'description' => __('This text will be replaced with rotating text', 'progressive'), 'group' => __('Text rotation', 'progressive')), array('type' => 'textarea', 'heading' => __('Replace with', 'progressive'), 'param_name' => 'replace_with', 'admin_label' => false, 'description' => __('Use one phrase per line', 'progressive'), 'group' => __('Text rotation', 'progressive')), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'rotating_style', 'admin_label' => false, 'value' => array_flip(array('solid' => __('Solid', 'progressive'), 'outlined' => __('Outlined', 'progressive'))), 'group' => __('Text rotation', 'progressive')), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'rotating_color', 'admin_label' => false, 'group' => __('Text rotation', 'progressive')), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'rotating_text_color', 'admin_label' => false, 'group' => __('Text rotation', 'progressive')))));
    /*----------------------------------------------------------------------------*
     * Testimonials
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Testimonials', 'progressive'), 'base' => 'testimonials_posts', 'class' => '', "icon" => "xv_vc_icon", 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Carousel with Pagination', 'progressive') => 'style1', __('Carousel with Navigation', 'progressive') => 'style2', __('Carousel with Navigation & Pagination', 'progressive') => 'style3', __('Carousel with Auto Scroll', 'progressive') => 'style4'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Background', 'progressive'), 'param_name' => 'bg', 'admin_label' => true, 'value' => array(__('Border', 'progressive') => '', __('Backgorund', 'progressive') => '1'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Name & Designation Style', 'progressive'), 'param_name' => 'white', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text Color', 'progressive'), 'param_name' => 'text_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Text with size
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Text', 'progressive'), 'base' => 'text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Paragraph Font Size', 'progressive'), 'param_name' => 'pfont', 'admin_label' => false, 'value' => array('8px' => __('8px', 'progressive'), '9px' => __('9px', 'progressive'), '10px' => __('10px', 'progressive'), '11x' => __('11px', 'progressive'), '12px' => __('12px', 'progressive'), '13px' => __('13px', 'progressive'), '14px' => __('14px', 'progressive'), '15px' => __('15px', 'progressive'), '16px' => __('16px', 'progressive'), '17px' => __('17px', 'progressive'), '18px' => __('18px', 'progressive'), '19px' => __('19px', 'progressive'), '20px' => __('20px', 'progressive'), '21px' => __('21px', 'progressive'), '22px' => __('22px', 'progressive'), '23px' => __('23px', 'progressive'), '24px' => __('24px', 'progressive'))))));
    /*----------------------------------------------------------------------------*
     * Call to Action
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Another Call To Action', 'progressive'), 'base' => 'another_call_to_action', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea_html', 'heading' => __('Title', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button label', 'progressive'), 'param_name' => 'btn1_text', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'btn1_url', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button label', 'progressive'), 'param_name' => 'btn2_text', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'btn2_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Container
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Container Text', 'progressive'), 'base' => 'container', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Style1', 'progressive') => '1', __('Style2', 'progressive') => '2', __('Style3', 'progressive') => '3', __('Style4', 'progressive') => '4', __('Style5', 'progressive') => '5', __('Style6', 'progressive') => '6', __('Style7', 'progressive') => '7', __('Style8', 'progressive') => '8', __('Style9', 'progressive') => '9', __('Style10', 'progressive') => '10', __('Style11 - rotated box', 'progressive') => '11', __('Style12 - rotated right box', 'progressive') => '12', __('Style13', 'progressive') => '13'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown', 'dependency' => array('element' => 'style', 'value' => array('12'))), array('type' => 'colorpicker', 'heading' => __('Icon color', 'progressive'), 'param_name' => 'icon_color', 'admin_label' => true, 'description' => '', 'dependency' => array('element' => 'style', 'value' => array('12'))), array('type' => 'textarea_html', 'heading' => __('Content', 'progressive'), 'param_name' => 'content_box', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Posts List
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Post list', 'progressive'), 'base' => 'post_list', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Carousel pagination', 'progressive'), 'param_name' => 'carousel_pagination', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no')), array('type' => 'dropdown', 'heading' => __('Carousel navigation', 'progressive'), 'param_name' => 'carousel_navigation', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no')), array('type' => 'dropdown', 'heading' => __('Image align', 'progressive'), 'param_name' => 'image_align', 'admin_label' => true, 'value' => array(__('Left', 'progressive') => 'left', __('Right', 'progressive') => 'right')))));
    /*----------------------------------------------------------------------------*
     * Post Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Banner Carousel', 'progressive'), 'base' => 'banner_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Carousel Style', 'progressive'), 'param_name' => 'carousel_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Mini', 'progressive') => 'mini'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Full width lines', 'progressive'), 'param_name' => 'full_width_lines', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Post Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Product Post Carousel', 'progressive'), 'base' => 'post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Carousel Style', 'progressive'), 'param_name' => 'carousel_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Mini', 'progressive') => 'mini'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Full width lines', 'progressive'), 'param_name' => 'full_width_lines', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => true, 'description' => ''))));
    /**
     * tabs
     */
    vc_map(array("name" => __("Tabs (theme)", "framework"), "base" => "tabs", "as_parent" => array('only' => 'tab'), "content_element" => true, "show_settings_on_create" => true, "params" => array(ts_get_vc_animation_effects_settings(), array("type" => "dropdown", "heading" => __("Style", "framework"), "param_name" => "style", 'admin_label' => true, "value" => array_flip(array('horizontal' => __('Horizonal', 'framework'), 'tabs_left' => __('Vertical left', 'framework'), 'tabs_right' => __('Vertical right', 'framework'))), "description" => __("Select the default style for this tabs group", "framework"))), "js_view" => 'VcColumnView'));
    vc_map(array("name" => __("Tab", "framework"), "base" => "tab", "content_element" => true, "as_child" => array('only' => 'tabs'), "params" => array(array("type" => "textfield", "heading" => __("Tab Title", "framework"), "param_name" => "title", 'admin_label' => true, "description" => __("Enter title for this tab.", "framework")), array('type' => 'dropdown', 'holder' => 'div', 'heading' => __('Icon', 'framework'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray()), array('type' => 'textarea_html', 'holder' => 'div', 'heading' => __('Tab Content', 'framework'), 'param_name' => 'content', 'value' => ''))));
    //Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
    if (class_exists('WPBakeryShortCodesContainer')) {
        class WPBakeryShortCode_tabs extends WPBakeryShortCodesContainer
        {
        }
    }
    if (class_exists('WPBakeryShortCode')) {
        class WPBakeryShortCode_tab extends WPBakeryShortCode
        {
        }
    }
    /*----------------------------------------------------------------------------*
     * Team Post Loop
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Post Loop', 'progressive'), 'base' => 'team_post_loop', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Team Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Post Carousel', 'progressive'), 'base' => 'team_post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Client Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Client Post Carousel', 'progressive'), 'base' => 'client_post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'), ts_get_vc_map_textfield('Thumb Width (optional)', 'width'), ts_get_vc_map_textfield('Height (optional)', 'height'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('clients_category'), 'description' => ''))));
    //////////////////
    vc_map(array('name' => __('Client Posts', 'progressive'), 'base' => 'client_posts', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('clients_category'), 'description' => ''), ts_get_vc_map_textfield('Thumb Width (optional)', 'width'), ts_get_vc_map_textfield('Height (optional)', 'height'))));
    /*----------------------------------------------------------------------------*
     * Contact form
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Contact Form', 'progressive'), 'base' => 'contact_form', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Email (Where your want to recive emails)', 'email'))));
    /*----------------------------------------------------------------------------*
     * Circular Skills
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Circular Skills', 'progressive'), 'base' => 'skills_circular', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Percentage', 'percent'), ts_get_vc_map_colorpicker('Color', 'color'))));
    /*----------------------------------------------------------------------------*
     * Workflow Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Workflow', 'progressive'), 'base' => 'workflow', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'))));
    /*----------------------------------------------------------------------------*
     * Services Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Services Carousel', 'progressive'), 'base' => 'services_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Sitemap
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Sitemap', 'progressive'), 'base' => 'sitemap', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Sitemap', 'progressive'), 'param_name' => 'sitemap', 'admin_label' => true, 'value' => array(__('Pages', 'progressive') => 'pages', __('Posts', 'progressive') => 'posts')))));
    /*----------------------------------------------------------------------------*
     * Newsletter
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Newsletter', 'progressive'), 'base' => 'newsletter', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Newsletter ID', 'id'))));
    /*----------------------------------------------------------------------------*
     * Contact Info
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Contact Info', 'progressive'), 'base' => 'contact_info', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea', 'heading' => __('Address', 'progressive'), 'param_name' => 'address', 'admin_label' => false), array('type' => 'textarea', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => false))));
    /*----------------------------------------------------------------------------*
     * Portfolio Filter
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Grid With Filter', 'progressive'), 'base' => 'portfolio_filter', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Number of Posts', 'limit', null, true), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('4 Columns', 'progressive') => '4col', __('3 Columns', 'progressive') => '3col', __('2 Columns', 'progressive') => '2col', __('1 Column', 'progressive') => '1col')), array('type' => 'dropdown', 'heading' => __('Filter Color', 'progressive'), 'param_name' => 'filter_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white')), array('type' => 'dropdown', 'heading' => __('Filter', 'progressive'), 'param_name' => 'filter', 'admin_label' => true, 'description' => 'Enable or disable filter', 'value' => array(__('Enabled', 'progressive') => 'enabled', __('Disabled', 'progressive') => 'disabled')), array('type' => 'dropdown', 'heading' => __('Year filter', 'progressive'), 'param_name' => 'year_filter', 'admin_label' => true, 'description' => 'Enable or disable year filter', 'value' => array(__('Enabled', 'progressive') => 'enabled', __('Disabled', 'progressive') => 'disabled')), ts_get_vc_map_textfield('Excerpt Length', 'limit2'))));
    /*----------------------------------------------------------------------------*
     * Portfolio carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Carousel', 'progressive'), 'base' => 'portfolio_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('portfolio_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Portfolio item
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Item', 'progressive'), 'base' => 'portfolio_item', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('ID', 'id', null, true))));
    /*----------------------------------------------------------------------------*
     * Portfolio carousel2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Carousel 2', 'progressive'), 'base' => 'portfolio_carousel2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('portfolio_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Pricing Tables
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Pricing Table', 'progressive'), 'base' => 'pricing_table', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => get_template_directory_uri() . '/inc/vc/assets/js/skills.js', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Subtitle', 'subtitle'), ts_get_livicons(), ts_get_vc_map_textfield('Price', 'price'), ts_get_vc_map_textfield('Duration', 'duration'), ts_get_vc_map_icons(), array('type' => 'textarea', 'heading' => __('Features', 'progressive'), 'param_name' => 'values', 'admin_label' => false, 'description' => 'Add one feature at one line. Add * to highlight feature.', "value" => __("*Responsive Design\nColor Customization\n*HTML5 & CSS3\n*Styled elements\nEasy Setup", 'progressive'), 'group' => 'Features List'), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Red', 'progressive') => '', __('Green', 'progressive') => 'success', __('Blue', 'progressive') => 'info'), 'description' => ''), ts_get_vc_map_textfield('Read more Text', 'more_btn', 'Table Bottom'), ts_get_vc_map_textfield('Read More URL', 'more_url', 'Table Bottom'), array('type' => 'dropdown', 'heading' => __('Stars', 'progressive'), 'param_name' => 'stars', 'admin_label' => true, 'value' => array(__('1 Star', 'progressive') => '20', __('2 Stars', 'progressive') => '40', __('3 Stars', 'progressive') => '60', __('4 Stars', 'progressive') => '80', __('5 Stars', 'progressive') => '100'), 'description' => '', 'group' => 'Table Bottom'), ts_get_vc_map_textfield('Table Button Text', 'table_btn_text', 'Table Bottom'), ts_get_vc_map_textfield('Table Button URL', 'table_btn_url', 'Table Bottom'))));
    /*----------------------------------------------------------------------------*
     * Pricing Tables 2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Pricing Table 2', 'progressive'), 'base' => 'pricing_table2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => get_template_directory_uri() . '/inc/vc/assets/js/skills.js', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Subtitle', 'subtitle'), ts_get_vc_map_textfield('Price', 'price'), ts_get_vc_map_textfield('Duration', 'duration'), ts_get_vc_map_icons(), array('type' => 'textarea', 'heading' => __('Features', 'progressive'), 'param_name' => 'values', 'admin_label' => false, "value" => __("*Responsive Design\nColor Customization\n*HTML5 & CSS3\n*Styled elements\nEasy Setup", 'progressive')), ts_get_vc_map_textfield('Read more Text', 'more_btn', 'Table Bottom'), ts_get_vc_map_textfield('Read More URL', 'more_url', 'Table Bottom'), array('type' => 'dropdown', 'heading' => __('Stars', 'progressive'), 'param_name' => 'stars', 'admin_label' => true, 'value' => array(__('1 Star', 'progressive') => '20', __('2 Stars', 'progressive') => '40', __('3 Stars', 'progressive') => '60', __('4 Stars', 'progressive') => '80', __('5 Stars', 'progressive') => '100'), 'description' => '', 'group' => 'Table Bottom'))));
    /*----------------------------------------------------------------------------*
     * Gallery
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery', 'progressive'), 'base' => 'gallery', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'small', __('Big', 'progressive') => 'big'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Gallery Grid
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery Grid', 'progressive'), 'base' => 'gallery_grid', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('4 Columns', 'progressive') => '4col', __('3 Columns', 'progressive') => '3col', __('2 Columns', 'progressive') => '2col', __('1 Column', 'progressive') => '1col', __('Modern Gallery', 'progressive') => 'modern'), 'description' => ''), ts_get_vc_map_textfield('Limit', 'limit'), array('type' => 'dropdown', 'heading' => __('Post Order', 'progressive'), 'param_name' => 'order', 'admin_label' => false, 'value' => array(__('ASC', 'progressive') => 'ASC', __('DESC', 'progressive') => 'DESC')), array('type' => 'dropdown', 'heading' => __('Pagination', 'progressive'), 'param_name' => 'pagination', 'admin_label' => false, 'description' => 'Enable or disable pagination', 'value' => array(__('No', 'progressive') => '', __('Yes', 'progressive') => '1')), ts_get_vc_map_textfield('Thumb Height (optional)', 'thumb_height'))));
    /*----------------------------------------------------------------------------*
     * Gallery
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery Carousel', 'progressive'), 'base' => 'gallery_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * FAQ
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('FAQ', 'progressive'), 'base' => 'faq', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings())));
    /*----------------------------------------------------------------------------*
     * Sevices
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Services', 'progressive'), 'base' => 'service', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Style1', 'progressive') => '1', __('Style2', 'progressive') => '2', __('Style3', 'progressive') => '3', __('Style4', 'progressive') => '4', __('Style5', 'progressive') => '5', __('Style6', 'progressive') => '6'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style Color', 'progressive'), 'param_name' => 'style_color', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), ts_get_livicons(), ts_get_vc_map_colorpicker('Icon Color', 'livicon_color', 'Livicons'), array('type' => 'dropdown', 'heading' => __('Livicons Size', 'progressive'), 'param_name' => 'livicon_size', 'group' => 'Livicons', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text (no button if empty)', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * SModal1
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Modal', 'progressive'), 'base' => 'modal', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text ', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Modal2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Modal2', 'progressive'), 'base' => 'modal2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text ', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''), array('type' => 'attach_image', 'heading' => __('Background Image', 'progressive'), 'param_name' => 'image', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Recent Posts2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Recent Posts2', 'progressive'), 'base' => 'recent_posts2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('2 Column', 'progressive') => 'col-md-6', __('1 Column', 'progressive') => 'col-md-12'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'count', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button Text', 'progressive'), 'param_name' => 'blog_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button URL', 'progressive'), 'param_name' => 'blog_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Recent Posts
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Recent Posts', 'progressive'), 'base' => 'recent_posts', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Post Style', 'progressive'), 'param_name' => 'post_style', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'latest-posts-white'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'count', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button Text', 'progressive'), 'param_name' => 'blog_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button URL', 'progressive'), 'param_name' => 'blog_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Posts Slider
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Progressive Posts Slider', 'progressive'), 'base' => 'posts_slider', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Carousel with Image', 'progressive') => 'normal', __('Carousel with Image Full Width', 'progressive') => 'wide', __('Carousel with Pagination', 'progressive') => 'style1', __('Carousel with Navigation', 'progressive') => 'style2', __('Carousel with Navigation & Pagination', 'progressive') => 'style3', __('Carousel with Auto Scroll', 'progressive') => 'style4'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories(), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Autoplay', 'progressive'), 'param_name' => 'autoplay', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products', 'progressive'), 'base' => 'woo_products', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Large', 'progressive') => 'style1', __('Medium', 'progressive') => 'style2', __('Small', 'progressive') => 'style3', __('Small Alt. Columns Layout', 'progressive') => 'style4'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products Carousel', 'progressive'), 'base' => 'woo_products_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Large', 'progressive') => 'style2', __('Medium', 'progressive') => 'style1', __('Small', 'progressive') => 'style3'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Double Row', 'progressive'), 'param_name' => 'double_product', 'admin_label' => false, 'value' => array(__('No', 'progressive') => 'no', __('Yes', 'progressive') => 'yes'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products 2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products 2', 'progressive'), 'base' => 'woo_products_2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products Widget
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products Widget', 'progressive'), 'base' => 'woo_products_widget', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Anchor text', 'progressive'), 'param_name' => 'anchor_text', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Person
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Person', 'progressive'), 'base' => 'person', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Person ID', 'progressive'), 'param_name' => 'id', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Team Member
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Member', 'progressive'), 'base' => 'team', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(array('type' => 'textfield', 'heading' => __('Name', 'progressive'), 'param_name' => 'name', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Designation', 'progressive'), 'param_name' => 'designation', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('About Member', 'progressive'), 'param_name' => 'about', 'admin_label' => true, 'description' => ''), array("type" => "attach_image", "class" => "", "heading" => __("Image", 'progressive'), "param_name" => "member_img", "description" => __("Upload team member Image.", 'progressive')), array('type' => 'textfield', 'heading' => __('Email', 'progressive'), 'param_name' => 'email', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Team Member
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Member with Text', 'progressive'), 'base' => 'team_text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea_html', 'heading' => __('Text content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Name', 'progressive'), 'param_name' => 'name', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Designation', 'progressive'), 'param_name' => 'designation', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('About Member', 'progressive'), 'param_name' => 'about', 'admin_label' => true, 'description' => ''), array("type" => "attach_image", "class" => "", "heading" => __("Image", 'progressive'), "param_name" => "member_img", "description" => __("Upload team member Image.", 'progressive')), array('type' => 'textfield', 'heading' => __('Email', 'progressive'), 'param_name' => 'email', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * tiles
     *----------------------------------------------------------------------------*/
    vc_map(array("name" => __("Tiles", "framework"), "base" => "tiles", "as_parent" => array('only' => 'tiles_slider'), 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", "params" => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'attach_image', 'heading' => __('Image 1 (270x150px)', 'progressive'), 'param_name' => 'image_1', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 1', 'progressive'), 'url_1'), ts_get_vc_element_target(__('Target 1', 'progressive'), 'target_1'), ts_get_vc_map_colorpicker(__('Background color 1', 'progressive'), 'background_color_1'), array('type' => 'attach_image', 'heading' => __('Image 2 (270x150px)', 'progressive'), 'param_name' => 'image_2', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 2', 'progressive'), 'url_2'), ts_get_vc_element_target(__('Target 2', 'progressive'), 'target_2'), ts_get_vc_map_colorpicker(__('Background color 2', 'progressive'), 'background_color_2'), array('type' => 'attach_image', 'heading' => __('Image 3 (270x150px)', 'progressive'), 'param_name' => 'image_3', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 3', 'progressive'), 'url_3'), ts_get_vc_element_target(__('Target 3', 'progressive'), 'target_3'), ts_get_vc_map_colorpicker(__('Background color 3', 'progressive'), 'background_color_3')), "js_view" => 'VcColumnView'));
    if (class_exists('WPBakeryShortCodesContainer')) {
        class WPBakeryShortCode_tiles extends WPBakeryShortCodesContainer
        {
        }
    }
    vc_map(array("name" => __("Tiles Slider", "framework"), "base" => "tiles_slider", "content_element" => true, "as_child" => array('only' => 'tiles'), "params" => array(array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'image', 'admin_label' => true, 'description' => ''), ts_get_vc_map_textfield(__('URL', 'progressive'), 'url', '', true), ts_get_vc_element_target(__('Target', 'progressive'), 'target', '', true))));
    if (class_exists('WPBakeryShortCode')) {
        class WPBakeryShortCode_tiles_slider extends WPBakeryShortCode
        {
        }
    }
    vc_map(array('name' => __('Progressive Menu', 'progressive'), 'base' => 'progressive_menu', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), ts_get_vc_menus_dropdown())));
    $setting = ts_get_vc_map_colorpicker('Section Color', 'color');
    vc_add_param('vc_accordion_tab', $setting);
    $row_map = array('type' => 'dropdown', 'heading' => __('Break Container', 'progressive'), 'param_name' => 'container', 'admin_label' => true, 'value' => array(__('No', 'progressive') => 'no', __('Yes', 'progressive') => 'yes'), 'description' => '');
    vc_add_param('vc_row', $row_map);
}
Example #6
0
<?php

/*
 * Service
*/
$sections[] = array('icon' => 'el-icon-magic', 'fields' => array(array('id' => 'xv-services-style', 'type' => 'select', 'title' => __('Service Style', 'progressive'), 'options' => array('style1' => 'Style1', 'style2' => 'Style2', 'style3' => 'Style3', 'style4' => 'Style4', 'style5' => 'Style5')), array('id' => 'xv-simple-icon', 'type' => 'select', 'title' => __('Simple Icon', 'progressive'), 'options' => ts_getFontAwesomeArray())));