public function add_params()
 {
     vc_add_param("vc_row", array("type" => "dropdown", "group" => __('Row Type', 'sitesao'), "class" => "", "heading" => "Type", 'std' => 'full_width', "param_name" => "wrap_type", "value" => array(__("Full Width", 'sitesao') => "full_width", __("In Container", 'sitesao') => "in_container")));
     vc_add_param("vc_row_inner", array("type" => "dropdown", "group" => __('Row Type', 'sitesao'), "class" => "", "heading" => "Type", "param_name" => "wrap_type", 'std' => 'full_width', "value" => array(__("Full Width", 'sitesao') => "full_width", __("In Container", 'sitesao') => "in_container")));
     $params = array('dh_instagram' => array(array('param_name' => 'username', 'heading' => __('Instagram Username', 'sitesao'), 'description' => '', 'type' => 'textfield', 'admin_label' => true), array('param_name' => 'images_number', 'heading' => __('Number of Images to Show', 'sitesao'), 'type' => 'textfield', 'value' => '12'), array('param_name' => 'refresh_hour', 'heading' => __('Check for new images on every (hours)', 'sitesao'), 'type' => 'textfield', 'value' => '5')), 'dh_button' => array(array('type' => 'textfield', 'heading' => __('Text', 'sitesao'), 'holder' => 'button', 'class' => 'wpb_button', 'admin_label' => true, 'param_name' => 'title', 'value' => __('Button', 'sitesao'), 'description' => __('Text on the button.', 'sitesao')), array('type' => 'href', 'heading' => __('URL (Link)', 'sitesao'), 'param_name' => 'href', 'description' => __('Button link.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Target', 'sitesao'), 'param_name' => 'target', 'std' => '_self', 'value' => array(__('Same window', 'sitesao') => '_self', __('New window', 'sitesao') => "_blank"), 'dependency' => array('element' => 'href', 'not_empty' => true, 'callback' => 'vc_button_param_target_callback')), array('type' => 'dropdown', 'heading' => __('Style', 'sitesao'), "param_holder_class" => 'dh-btn-style-select', 'param_name' => 'style', 'value' => self::$button_styles, 'description' => __('Button style.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Size', 'sitesao'), 'param_name' => 'size', 'std' => '', 'value' => array(__('Default', 'sitesao') => '', __('Large', 'sitesao') => 'lg', __('Small', 'sitesao') => 'sm', __('Extra small', 'sitesao') => 'xs', __('Custom size', 'sitesao') => 'custom'), 'description' => __('Button size.', 'sitesao')), array('param_name' => 'font_size', 'heading' => __('Font Size (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '14', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '50'), array('param_name' => 'border_width', 'heading' => __('Border Width (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '1', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '20'), array('param_name' => 'padding_top', 'heading' => __('Padding Top (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_right', 'heading' => __('Padding Right (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_bottom', 'heading' => __('Padding Bottom (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_left', 'heading' => __('Padding Right (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Color', 'sitesao'), 'param_name' => 'color', 'std' => 'default', 'value' => array(__('Default', 'sitesao') => 'default', __('Primary', 'sitesao') => 'primary', __('Success', 'sitesao') => 'success', __('Info', 'sitesao') => 'info', __('Warning', 'sitesao') => 'warning', __('Danger', 'sitesao') => 'danger', __('White', 'sitesao') => 'white', __('Black', 'sitesao') => 'black', __('Custom', 'sitesao') => 'custom'), 'description' => __('Button color.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Background Color', 'sitesao'), 'param_name' => 'background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select background color for button.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Border Color', 'sitesao'), 'param_name' => 'border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select border color for button.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Text Color', 'sitesao'), 'param_name' => 'text_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select text color for button.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Hover Background Color', 'sitesao'), 'param_name' => 'hover_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select background color for button when hover.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Hover Border Color', 'sitesao'), 'param_name' => 'hover_border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select border color for button when hover.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Hover Text Color', 'sitesao'), 'param_name' => 'hover_text_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select text color for button when hover.', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Button Full Width', 'sitesao'), 'param_name' => 'block_button', 'value' => array(__('Yes, please', 'sitesao') => 'yes'), 'description' => __('Button full width of a parent', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Alignment', 'sitesao'), 'param_name' => 'alignment', 'std' => 'left', 'value' => array(__('Left', 'sitesao') => 'left', __('Center', 'sitesao') => 'center', __('Right', 'sitesao') => 'right'), 'description' => __('Button alignment (Not use for Button full width)', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Show Tooltip/Popover', 'sitesao'), 'param_name' => 'tooltip', 'value' => array(__('No', 'sitesao') => '', __('Tooltip', 'sitesao') => 'tooltip', __('Popover', 'sitesao') => 'popover'), 'description' => __('Display a tooltip or popover with descriptive text.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Tip position', 'sitesao'), 'param_name' => 'tooltip_position', 'std' => 'top', 'value' => array(__('Top', 'sitesao') => 'top', __('Bottom', 'sitesao') => 'bottom', __('Left', 'sitesao') => 'left', __('Right', 'sitesao') => 'right'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose the display position.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Popover Title', 'sitesao'), 'param_name' => 'tooltip_title', 'dependency' => array('element' => "tooltip", 'value' => array('popover'))), array('type' => 'textarea', 'heading' => __('Tip/Popover Content', 'sitesao'), 'param_name' => 'tooltip_content', 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover'))), array('type' => 'dropdown', 'heading' => __('Tip/Popover trigger', 'sitesao'), 'param_name' => 'tooltip_trigger', 'std' => 'hover', 'value' => array(__('Hover', 'sitesao') => 'hover', __('Click', 'sitesao') => 'click'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose action to trigger the tooltip.', 'sitesao'))), 'dh_menu_anchor' => array(array('param_name' => 'name', 'heading' => __('Name Of Menu Anchor', 'sitesao'), 'type' => 'textfield', 'admin_label' => true, "description" => __("This name will be the id you will have to use in your one page menu.", 'sitesao'))), 'dh_video' => array(array('param_name' => 'type', 'heading' => __('Video Type', 'sitesao'), 'type' => 'dropdown', 'admin_label' => true, 'std' => 'inline', 'value' => array(__('Iniline', 'sitesao') => 'inline', __('Popup', 'sitesao') => 'popup')), array('type' => 'attach_image', 'heading' => __('Background', 'sitesao'), 'param_name' => 'background', 'dependency' => array('element' => "type", 'value' => array('popup')), 'description' => __('Video Background.', 'sitesao')), array('param_name' => 'video_embed', 'heading' => __('Embedded Code', 'sitesao'), 'type' => 'textfield', 'value' => '', 'description' => __('Used when you select Video format. Enter a Youtube, Vimeo, Soundcloud, etc URL. See supported services at <a href="http://codex.wordpress.org/Embeds" target="_blank">http://codex.wordpress.org/Embeds</a>.', 'sitesao'))), 'dh_post' => array(array('type' => 'dropdown', 'heading' => __('Layout', 'sitesao'), 'param_name' => 'layout', 'std' => 'default', 'admin_label' => true, 'value' => array(__('Default', 'sitesao') => 'default', __('Masonry', 'sitesao') => 'masonry', __('Center', 'sitesao') => 'center'), 'std' => 'default', 'description' => __('Select the layout for the blog shortcode.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Columns', 'sitesao'), 'param_name' => 'columns', 'std' => 2, 'value' => array(__('2', 'sitesao') => '2', __('3', 'sitesao') => '3', __('4', 'sitesao') => '4'), 'dependency' => array('element' => "layout", 'value' => array('grid', 'masonry')), 'description' => __('Select whether to display the layout in 2, 3 or 4 column.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Posts Per Page', 'sitesao'), 'param_name' => 'posts_per_page', 'value' => 5, 'description' => __('Select number of posts per page.Set "-1" to display all', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Order by', 'sitesao'), 'param_name' => 'orderby', 'std' => 'latest', 'value' => array(__('Recent First', 'sitesao') => 'latest', __('Older First', 'sitesao') => 'oldest', __('Title Alphabet', 'sitesao') => 'alphabet', __('Title Reversed Alphabet', 'sitesao') => 'ralphabet')), array('type' => 'post_category', 'heading' => __('Categories', 'sitesao'), 'param_name' => 'categories', 'admin_label' => true, 'description' => __('Select a category or leave blank for all', 'sitesao')), array('type' => 'post_category', 'heading' => __('Exclude Categories', 'sitesao'), 'param_name' => 'exclude_categories', 'description' => __('Select a category to exclude', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Post Title', 'sitesao'), 'param_name' => 'hide_post_title', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide the post title below the featured', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Link Title To Post', 'sitesao'), 'param_name' => 'link_post_title', 'std' => 'yes', 'value' => array(__('Yes,please', 'sitesao') => 'yes', __('No', 'sitesao') => 'no'), 'description' => __('Choose if the title should be a link to the single post page.', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Thumbnail', 'sitesao'), 'param_name' => 'hide_thumbnail', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide the post featured', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Excerpt', 'sitesao'), 'param_name' => 'hide_excerpt', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry', 'zigzag', 'center')), 'description' => __('Hide excerpt', 'sitesao')), array('type' => 'textfield', 'heading' => __('Number of words in Excerpt', 'sitesao'), 'param_name' => 'excerpt_length', 'value' => 30, 'dependency' => array('element' => 'hide_excerpt', 'is_empty' => true), 'description' => __('The number of words', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Date', 'sitesao'), 'param_name' => 'hide_date', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide date in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Timeline Month', 'sitesao'), 'param_name' => 'hide_month', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('timeline')), 'description' => __('Hide timeline month', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Comment', 'sitesao'), 'param_name' => 'hide_comment', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide comment in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Category', 'sitesao'), 'param_name' => 'hide_category', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide category in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Author', 'sitesao'), 'param_name' => 'hide_author', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry', 'zigzag', 'center')), 'description' => __('Hide author in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Read More Link', 'sitesao'), 'param_name' => 'hide_readmore', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry', 'zigzag', 'center')), 'description' => __('Choose to hide the link', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Show Tags', 'sitesao'), 'param_name' => 'show_tag', 'std' => 'no', 'value' => array(__('No', 'sitesao') => 'no', __('Yes', 'sitesao') => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry', 'zigzag', 'center')), 'description' => __('Choose to show the tags', 'sitesao')), array('type' => 'dropdown', 'std' => 'page_num', 'heading' => __('Pagination', 'sitesao'), 'param_name' => 'pagination', 'value' => array(__('Page Number', 'sitesao') => 'page_num', __('Load More Button', 'sitesao') => 'loadmore', __('Infinite Scrolling', 'sitesao') => 'infinite_scroll', __('No', 'sitesao') => 'no'), 'description' => __('Choose pagination type.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Load More Button Text', 'sitesao'), 'param_name' => 'loadmore_text', 'dependency' => array('element' => "pagination", 'value' => array('loadmore')), 'value' => __('Load More', 'sitesao'))), 'dh_post_grid' => array(array('type' => 'dropdown', 'heading' => __('Layout Style', 'sitesao'), 'param_name' => 'layout_style', 'std' => 'list', 'value' => array(__('List', 'sitesao') => 'list', __('Grid', 'sitesao') => 'grid'), 'description' => __('Select style to display the latest posts.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Columns', 'sitesao'), 'param_name' => 'columns', 'std' => 2, 'value' => array(__('2', 'sitesao') => '2', __('3', 'sitesao') => '3', __('4', 'sitesao') => '4'), 'dependency' => array('element' => "layout_style", 'value' => array('grid')), 'description' => __('Select whether to display the layout in 1, 2, 3 or 4 column.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Posts Per Page', 'sitesao'), 'param_name' => 'posts_per_page', 'value' => 12, 'description' => __('Select number of posts per page.Set "-1" to display all', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Order by', 'sitesao'), 'param_name' => 'orderby', 'value' => array(__('Recent First', 'sitesao') => 'latest', __('Older First', 'sitesao') => 'oldest', __('Title Alphabet', 'sitesao') => 'alphabet', __('Title Reversed Alphabet', 'sitesao') => 'ralphabet')), array('type' => 'checkbox', 'heading' => __('Hide Pagination', 'sitesao'), 'param_name' => 'hide_pagination', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide pagination of slider', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Date', 'sitesao'), 'param_name' => 'hide_date', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide date in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Author', 'sitesao'), 'param_name' => 'hide_author', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide author in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Comment', 'sitesao'), 'param_name' => 'hide_comment', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide comment in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Category', 'sitesao'), 'param_name' => 'hide_category', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide Category in post meta info', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Excerpt', 'sitesao'), 'param_name' => 'hide_excerpt', 'value' => array(__('Yes,please', 'sitesao') => 'yes'), 'description' => __('Hide excerpt', 'sitesao')), array('type' => 'textfield', 'heading' => __('Number of words in Excerpt', 'sitesao'), 'param_name' => 'excerpt_length', 'value' => 30, 'dependency' => array('element' => 'hide_excerpt', 'is_empty' => true), 'description' => __('The number of words', 'sitesao')), array('type' => 'post_category', 'heading' => __('Categories', 'sitesao'), 'param_name' => 'categories', 'admin_label' => true, 'description' => __('Select a category or leave blank for all', 'sitesao'))), 'dh_mailchimp' => array(array('type' => 'textfield', 'heading' => __('Title', 'sitesao'), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', 'sitesao'))), 'dh_slider' => array(), 'dh_carousel' => array(array('type' => 'textfield', 'heading' => __('Carousel Title', 'sitesao'), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Transition', 'sitesao'), 'param_name' => 'fx', 'std' => 'scroll', 'value' => array('Scroll' => 'scroll', 'Directscroll' => 'directscroll', 'Fade' => 'fade', 'Cross fade' => 'crossfade', 'Cover' => 'cover', 'Cover fade' => 'cover-fade', 'Uncover' => 'cover-fade', 'Uncover fade' => 'uncover-fade'), 'description' => __('Indicates which effect to use for the transition.', 'sitesao')), array('param_name' => 'visible', 'heading' => __('The number of visible items', 'sitesao'), 'type' => 'ui_slider', 'value' => '1', 'data_min' => '1', 'data_max' => '6'), array('param_name' => 'scroll_speed', 'heading' => __('Transition Scroll Speed (ms)', 'sitesao'), 'type' => 'ui_slider', 'value' => '700', 'data_min' => '100', 'data_step' => '100', 'data_max' => '3000'), array("type" => "dropdown", "heading" => __("Easing", 'sitesao'), "param_name" => "easing", 'std' => 'linear', "value" => array('linear' => 'linear', 'swing' => 'swing', 'easeInQuad' => 'easeInQuad', 'easeOutQuad' => 'easeOutQuad', 'easeInOutQuad' => 'easeInOutQuad', 'easeInCubic' => 'easeInCubic', 'easeOutCubic' => 'easeOutCubic', 'easeInOutCubic' => 'easeInOutCubic', 'easeInQuart' => 'easeInQuart', 'easeOutQuart' => 'easeOutQuart', 'easeInOutQuart' => 'easeInOutQuart', 'easeInQuint' => 'easeInQuint', 'easeOutQuint' => 'easeOutQuint', 'easeInOutQuint' => 'easeInOutQuint', 'easeInExpo' => 'easeInExpo', 'easeOutExpo' => 'easeOutExpo', 'easeInOutExpo' => 'easeInOutExpo', 'easeInSine' => 'easeInSine', 'easeOutSine' => 'easeOutSine', 'easeInOutSine' => 'easeInOutSine', 'easeInCirc' => 'easeInCirc', 'easeOutCirc' => 'easeOutCirc', 'easeInOutCirc' => 'easeInOutCirc', 'easeInElastic' => 'easeInElastic', 'easeOutElastic' => 'easeOutElastic', 'easeInOutElastic' => 'easeInOutElastic', 'easeInBack' => 'easeInBack', 'easeOutBack' => 'easeOutBack', 'easeInOutBack' => 'easeInOutBack', 'easeInBounce' => 'easeInBounce', 'easeOutBounce' => 'easeOutBounce', 'easeInOutBounce' => 'easeInOutBounce'), "description" => __("Select the animation easing you would like for slide transitions <a href=\"http://jqueryui.com/resources/demos/effect/easing.html\" target=\"_blank\"> Click here </a> to see examples of these.", 'sitesao')), array('type' => 'checkbox', 'heading' => __('Item no Padding ?', 'sitesao'), 'param_name' => 'no_padding', 'description' => __('Item No Padding', 'sitesao'), 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'checkbox', 'heading' => __('Autoplay ?', 'sitesao'), 'param_name' => 'auto_play', 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Slide Pagination ?', 'sitesao'), 'param_name' => 'hide_pagination', 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Previous/Next Control ?', 'sitesao'), 'param_name' => 'hide_control', 'value' => array(__('Yes,please', 'sitesao') => 'yes'))), 'dh_wc_special_product' => array(), 'dh_carousel_item' => array(array('type' => 'textfield', 'heading' => __('Title', 'sitesao'), 'param_name' => 'title', 'description' => __('Item title.', 'sitesao'))), 'dh_testimonial' => array(array('type' => 'checkbox', 'heading' => __('Background Transparent?', 'sitesao'), 'param_name' => 'background_transparent', 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'colorpicker', 'heading' => __('Color', 'sitesao'), 'param_name' => 'color', 'description' => __('Custom color.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Columns', 'sitesao'), 'param_name' => 'columns', 'std' => '1', 'value' => array(__('1 Column', 'sitesao') => '1', __('2 Columns', 'sitesao') => '2')), array('type' => 'dropdown', 'heading' => __('Style', 'sitesao'), 'param_name' => 'style', 'std' => 'style-1', 'value' => array(__('Style 1', 'sitesao') => 'style-1', __('Style 2', 'sitesao') => 'style-2')), array('type' => 'dropdown', 'heading' => __('Transition', 'sitesao'), 'param_name' => 'fx', 'std' => 'scroll', 'value' => array('Scroll' => 'scroll', 'Directscroll' => 'directscroll', 'Fade' => 'fade', 'Cross fade' => 'crossfade', 'Cover' => 'cover', 'Cover fade' => 'cover-fade', 'Uncover' => 'cover-fade', 'Uncover fade' => 'uncover-fade'), 'description' => __('Indicates which effect to use for the transition.', 'sitesao'))), 'dh_testimonial_item' => array(array('type' => 'textfield', 'heading' => __('Title', 'sitesao'), 'param_name' => 'title', 'description' => __('Item title.', 'sitesao')), array('type' => 'textarea_safe', 'holder' => 'div', 'heading' => __('Text', 'sitesao'), 'param_name' => 'text', 'value' => __('I am testimonial. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Author', 'sitesao'), 'param_name' => 'author', 'description' => __('Testimonial author.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Company', 'sitesao'), 'param_name' => 'company', 'description' => __('Author company.', 'sitesao')), array('type' => 'attach_image', 'heading' => __('Avatar', 'sitesao'), 'param_name' => 'avatar', 'description' => __('Avatar author.', 'sitesao'))), 'dh_counter' => array(array('param_name' => 'speed', 'heading' => __('Counter Speed', 'sitesao'), 'type' => 'textfield', 'value' => '2000'), array('type' => 'textfield', 'heading' => __('Number', 'sitesao'), 'param_name' => 'number', 'description' => __('Enter the number.', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Format number displayed ?', 'sitesao'), 'dependency' => array('element' => "number", 'not_empty' => true), 'param_name' => 'format', 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'textfield', 'heading' => __('Thousand Separator', 'sitesao'), 'param_name' => 'thousand_sep', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => ',', 'description' => __('This sets the thousand separator of displayed number.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Decimal Separator', 'sitesao'), 'param_name' => 'decimal_sep', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => '.', 'description' => __('This sets the decimal separator of displayed number.', 'sitesao')), array('type' => 'textfield', 'heading' => __('Number of Decimals', 'sitesao'), 'param_name' => 'num_decimals', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => 0, 'description' => __('This sets the number of decimal points shown in displayed number.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Custom Number Color', 'sitesao'), 'param_name' => 'number_color', 'dependency' => array('element' => "number", 'not_empty' => true), 'description' => __('Select color for number.', 'sitesao')), array('param_name' => 'number_font_size', 'heading' => __('Custom Number Font Size (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '40', 'data_min' => '10', 'dependency' => array('element' => "number", 'not_empty' => true), 'data_max' => '120'), array('type' => 'textfield', 'heading' => __('Units', 'sitesao'), 'param_name' => 'units', 'description' => __('Enter measurement units (if needed) Eg. %, px, points, etc. Graph value and unit will be appended to the graph title.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Custom Units Color', 'sitesao'), 'param_name' => 'units_color', 'dependency' => array('element' => "units", 'not_empty' => true), 'description' => __('Select color for number.', 'sitesao')), array('param_name' => 'units_font_size', 'heading' => __('Custom Units Font Size (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '30', 'data_min' => '10', 'dependency' => array('element' => "units", 'not_empty' => true), 'data_max' => '120'), array('type' => 'dropdown', 'heading' => __('Icon', 'sitesao'), 'param_name' => 'icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', 'sitesao')), array('type' => 'colorpicker', 'heading' => __('Custom Icon Color', 'sitesao'), 'param_name' => 'icon_color', 'dependency' => array('element' => "icon", 'not_empty' => true), 'description' => __('Select color for icon.', 'sitesao')), array('param_name' => 'icon_font_size', 'heading' => __('Custom Icon Size (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '40', 'data_min' => '10', 'dependency' => array('element' => "icon", 'not_empty' => true), 'data_max' => '120'), array('type' => 'dropdown', 'std' => 'top', 'heading' => __('Icon Postiton', 'sitesao'), 'param_name' => 'icon_position', 'dependency' => array('element' => "icon", 'not_empty' => true), 'value' => array(__('Top', 'sitesao') => 'top', __('Left', 'sitesao') => 'left')), array('type' => 'textfield', 'heading' => __('Title', 'sitesao'), 'param_name' => 'text', 'admin_label' => true), array('type' => 'colorpicker', 'heading' => __('Custom Title Color', 'sitesao'), 'param_name' => 'text_color', 'dependency' => array('element' => "text", 'not_empty' => true), 'description' => __('Select color for title.', 'sitesao')), array('param_name' => 'text_font_size', 'heading' => __('Custom Title Font Size (px)', 'sitesao'), 'type' => 'ui_slider', 'value' => '18', 'data_min' => '10', 'dependency' => array('element' => "text", 'not_empty' => true), 'data_max' => '120')), 'dh_countdown' => array(array('type' => 'dropdown', 'heading' => __('Style', 'sitesao'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('White', 'sitesao') => 'white', __('Black', 'sitesao') => 'black'), 'description' => __('Select style.', 'sitesao')), array('type' => 'ui_datepicker', 'heading' => __('Countdown end', 'sitesao'), 'param_name' => 'end', 'description' => __('Please select day to end.', 'sitesao'), 'value' => '')), 'dh_box_feature' => array(array('type' => 'dropdown', 'heading' => __('Style', 'sitesao'), 'param_name' => 'style', 'std' => '1', 'value' => array(__('Style 1', 'sitesao') => '1', __('Style 2', 'sitesao') => "2", __('Style 3', 'sitesao') => "3", __('Style 4', 'sitesao') => "4", __('Style 5', 'sitesao') => "5")), array('type' => 'dropdown', 'heading' => __('Content Position', 'sitesao'), 'param_name' => 'content_position', 'std' => 'default', 'dependency' => array('element' => 'style', 'value' => array('4')), 'value' => array(__('Default', 'sitesao') => 'default', __('Top', 'sitesao') => "top", __('Bottom', 'sitesao') => "bottom", __('Left', 'sitesao') => "left", __('Right', 'sitesao') => "right", __('Full Box', 'sitesao') => "full-box")), array('type' => 'checkbox', 'heading' => __('Full Box with Primary Soild Background ?', 'sitesao'), 'param_name' => 'primary_background', 'dependency' => array('element' => 'content_position', 'value' => array('full-box')), 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('type' => 'dropdown', 'heading' => __('Text color', 'sitesao'), 'param_name' => 'text_color', 'dependency' => array('element' => 'style', 'value' => array('5')), 'std' => 'white', 'value' => array(__('White', 'sitesao') => "white", __('Black', 'sitesao') => "black")), array('type' => 'attach_image', 'heading' => __('Image Background', 'sitesao'), 'param_name' => 'bg', 'description' => __('Image Background.', 'sitesao')), array('type' => 'href', 'heading' => __('Image URL (Link)', 'sitesao'), 'param_name' => 'href', 'description' => __('Image Link.', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Target', 'sitesao'), 'param_name' => 'target', 'std' => '_self', 'value' => array(__('Same window', 'sitesao') => '_self', __('New window', 'sitesao') => "_blank"), 'dependency' => array('element' => 'href', 'not_empty' => true)), array('param_name' => 'link_title', 'heading' => __('Button Text', 'sitesao'), 'type' => 'textfield', 'value' => '', 'dependency' => array('element' => 'style', 'value' => array('4')), 'description' => __('Button link text', 'sitesao')), array('param_name' => 'title', 'heading' => __('Title', 'sitesao'), 'admin_label' => true, 'type' => 'textfield', 'value' => '', 'description' => __('Box Title', 'sitesao')), array('param_name' => 'sub_title', 'heading' => __('Sub Title', 'sitesao'), 'type' => 'textfield', 'value' => '', 'description' => __('Box Sub Title', 'sitesao'))), 'dh_client' => array(array('type' => 'attach_images', 'heading' => __('Images', 'sitesao'), 'param_name' => 'images', 'value' => '', 'description' => __('Select images from media library.', 'sitesao')), array('type' => 'exploded_textarea', 'heading' => __('Custom links', 'sitesao'), 'param_name' => 'custom_links', 'description' => __('Enter links for each image here. Divide links with linebreaks (Enter) . ', 'sitesao')), array('type' => 'dropdown', 'heading' => __('Display type', 'sitesao'), 'param_name' => 'display', 'value' => array(__('Slider', 'sitesao') => 'slider', __('Image grid', 'sitesao') => 'grid'), 'description' => __('Select display type.', 'sitesao')), array('type' => 'checkbox', 'heading' => __('Hide Slide Pagination ?', 'sitesao'), 'param_name' => 'hide_pagination', 'dependency' => array('element' => 'display', 'value' => array('slider')), 'value' => array(__('Yes,please', 'sitesao') => 'yes')), array('param_name' => 'visible', 'heading' => __('The number of visible items on a slide or on a grid row', 'sitesao'), 'type' => 'dropdown', 'value' => array(2, 3, 4, 5, 6)), array('type' => 'dropdown', 'heading' => __('Image style', 'sitesao'), 'param_name' => 'style', 'value' => array(__('Normal', 'sitesao') => 'normal', __('Grayscale and Color on hover', 'sitesao') => 'grayscale'), 'description' => __('Select image style.', 'sitesao'))));
     $shortcode_optional_param = array('dh_wc_special_product', 'dh_button', 'dh_animation', 'dh_post', 'dh_post_grid', 'dh_instagram', 'dh_slider', 'dh_carousel', 'dh_testimonial', 'dh_client', 'dh_counter', 'dh_countdown');
     foreach ($params as $shortcode => $param) {
         foreach ($param as $attr) {
             vc_add_param($shortcode, $attr);
         }
         if (in_array($shortcode, $shortcode_optional_param)) {
             foreach ((array) $this->_get_optional_param() as $optional_param) {
                 vc_add_param($shortcode, $optional_param);
             }
         }
     }
     return;
 }
Beispiel #2
0
 public function add_params()
 {
     $params = array('vc_row' => array(array('param_name' => 'inner_container', 'heading' => __('Inner Container', DH_DOMAIN), 'description' => __('If checked, this row will be placed inside a container.', DH_DOMAIN), 'type' => 'checkbox', 'holder' => $this->param_holder, 'value' => array(__('Yes,please') => 'yes')), array('type' => 'dropdown', 'param_name' => 'background_type', 'heading' => __('Background Type', DH_DOMAIN), 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Color', DH_DOMAIN) => 'color', __('Image', DH_DOMAIN) => 'image', __('Video', DH_DOMAIN) => 'video')), array('param_name' => 'bg_color', 'heading' => __('Background Color', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('color'))), array("type" => "attach_image", "heading" => __("Image", DH_DOMAIN), "param_name" => "bg_image", "value" => "", 'dependency' => array('element' => "background_type", 'value' => array('image')), "description" => __("Select image from media library.", DH_DOMAIN)), array("type" => "checkbox", "heading" => __("Background Image Repeat", DH_DOMAIN), "param_name" => "bg_image_repeat", "value" => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array("type" => "dropdown", "heading" => __("Background Style", DH_DOMAIN), "param_name" => "parallax_bg", 'value' => array(__('None', DH_DOMAIN) => 'no', __('Parallax', DH_DOMAIN) => 'yes', __('Fixed', DH_DOMAIN) => 'fixed'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array('param_name' => 'parallax_bg_speed', 'heading' => __('Parallax Speed', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'value' => '0.1', 'description' => __('The movement speed, value should be between -1.0 and 1.0', DH_DOMAIN), 'dependency' => array('element' => "parallax_bg", 'value' => array('yes'))), array('param_name' => 'bg_video_src_mp4', 'heading' => __('Video background (.mp4)', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_video_src_ogv', 'heading' => __('Video background (.ogv,.ogg)', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_video_src_webm', 'heading' => __('Video background (.webm)', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_video_poster', 'heading' => __('Video Poster Image', DH_DOMAIN), 'type' => 'attach_image', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_overlay', 'heading' => __('Background Color Overlay', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video', 'image'))), array('param_name' => 'border', 'heading' => __('Border', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Top', DH_DOMAIN) => 'top', __('Right', DH_DOMAIN) => 'right', __('Left', DH_DOMAIN) => 'left', __('Bottom', DH_DOMAIN) => 'bottom', __('Top - Right', DH_DOMAIN) => 'top-right', __('Top - Left', DH_DOMAIN) => 'top-left', __('Top - Bottom', DH_DOMAIN) => 'vertical', __('Left - Right', DH_DOMAIN) => 'horizontal', __('Bottom - Right', DH_DOMAIN) => 'bottom-right', __('Bottom - Left', DH_DOMAIN) => 'bottom-left', __('Top - Right - Bottom', DH_DOMAIN) => 'top-right-bottom', __('Top - Left - Bottom', DH_DOMAIN) => 'top-left-bottom', __('Top - Right - Left', DH_DOMAIN) => 'top-right-left', __('Bottom - Right - left', DH_DOMAIN) => 'bottom-right-left', __('All', DH_DOMAIN) => 'all')), array('param_name' => 'padding_top', 'heading' => __('Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_bottom', 'heading' => __('Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'data_max' => '200')), 'vc_row_inner' => array(array('param_name' => 'inner_container', 'heading' => __('Inner Container', DH_DOMAIN), 'description' => __('If checked, this row will be placed inside a container.', DH_DOMAIN), 'type' => 'checkbox', 'holder' => $this->param_holder, 'value' => array(__('Yes,please') => 'yes')), array('type' => 'dropdown', 'param_name' => 'background_type', 'heading' => __('Background Type', DH_DOMAIN), 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Color', DH_DOMAIN) => 'color', __('Image', DH_DOMAIN) => 'image', __('Video', DH_DOMAIN) => 'video')), array('param_name' => 'bg_color', 'heading' => __('Background Color', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('color'))), array("type" => "attach_image", "heading" => __("Image", DH_DOMAIN), "param_name" => "bg_image", "value" => "", 'dependency' => array('element' => "background_type", 'value' => array('image')), "description" => __("Select image from media library.", DH_DOMAIN)), array("type" => "checkbox", "heading" => __("Background Image Repeat", DH_DOMAIN), "param_name" => "bg_image_repeat", "value" => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array("type" => "dropdown", "heading" => __("Background Style", DH_DOMAIN), "param_name" => "parallax_bg", 'value' => array(__('None', DH_DOMAIN) => 'no', __('Parallax', DH_DOMAIN) => 'yes', __('Fixed', DH_DOMAIN) => 'fixed'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array('param_name' => 'parallax_bg_speed', 'heading' => __('Parallax Speed', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'value' => '0.1', 'description' => __('The movement speed, value should be between -1.0 and 1.0', DH_DOMAIN), 'dependency' => array('element' => "parallax_bg", 'value' => array('yes'))), array('param_name' => 'bg_video', 'heading' => __('Video URL', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_video_poster', 'heading' => __('Video Poster Image', DH_DOMAIN), 'type' => 'attach_image', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_overlay', 'heading' => __('Background Color Overlay', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video', 'image'))), array('param_name' => 'border', 'heading' => __('Border', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Top', DH_DOMAIN) => 'top', __('Right', DH_DOMAIN) => 'right', __('Left', DH_DOMAIN) => 'left', __('Bottom', DH_DOMAIN) => 'bottom', __('Top - Right', DH_DOMAIN) => 'top-right', __('Top - Left', DH_DOMAIN) => 'top-left', __('Top - Bottom', DH_DOMAIN) => 'vertical', __('Left - Right', DH_DOMAIN) => 'horizontal', __('Bottom - Right', DH_DOMAIN) => 'bottom-right', __('Bottom - Left', DH_DOMAIN) => 'bottom-left', __('Top - Right - Bottom', DH_DOMAIN) => 'top-right-bottom', __('Top - Left - Bottom', DH_DOMAIN) => 'top-left-bottom', __('Top - Right - Left', DH_DOMAIN) => 'top-right-left', __('Bottom - Right - left', DH_DOMAIN) => 'bottom-right-left', __('All', DH_DOMAIN) => 'all')), array('param_name' => 'padding_top', 'heading' => __('Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_bottom', 'heading' => __('Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'data_max' => '200')), 'vc_column' => array(array('param_name' => 'border', 'heading' => __('Border', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Top', DH_DOMAIN) => 'top', __('Right', DH_DOMAIN) => 'right', __('Left', DH_DOMAIN) => 'left', __('Bottom', DH_DOMAIN) => 'bottom', __('Top - Right', DH_DOMAIN) => 'top-right', __('Top - Left', DH_DOMAIN) => 'top-left', __('Top - Bottom', DH_DOMAIN) => 'vertical', __('Left - Right', DH_DOMAIN) => 'horizontal', __('Bottom - Right', DH_DOMAIN) => 'bottom-right', __('Bottom - Left', DH_DOMAIN) => 'bottom-left', __('Top - Right - Bottom', DH_DOMAIN) => 'top-right-bottom', __('Top - Left - Bottom', DH_DOMAIN) => 'top-left-bottom', __('Top - Right - Left', DH_DOMAIN) => 'top-right-left', __('Bottom - Right - left', DH_DOMAIN) => 'bottom-right-left', __('All', DH_DOMAIN) => 'all')), array('param_name' => 'fade', 'heading' => __('Fade Effect', DH_DOMAIN), 'description' => __('Select to activate the fade effect.', DH_DOMAIN), 'type' => 'checkbox', 'holder' => $this->param_holder, 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('param_name' => 'fade_animation', 'heading' => __('Fade Animation', DH_DOMAIN), 'description' => __('Select the type of fade animation you want to use.', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('In', DH_DOMAIN) => 'in', __('In From Top', DH_DOMAIN) => 'in-from-top', __('In From Left', DH_DOMAIN) => 'in-from-left', __('In From Right', DH_DOMAIN) => 'in-from-right', __('In From Bottom', DH_DOMAIN) => 'in-from-bottom'), 'dependency' => array('element' => "fade", 'not_empty' => true)), array('param_name' => 'fade_offset', 'heading' => __('Fade Offset (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '80', 'data_min' => '0', 'data_max' => '200', 'data_step' => '10', 'dependency' => array('element' => "fade", 'not_empty' => true)), array('param_name' => 'bg_color', 'heading' => __('Background Color', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder)), 'vc_column_inner' => array(array('param_name' => 'border', 'heading' => __('Border', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Top', DH_DOMAIN) => 'top', __('Right', DH_DOMAIN) => 'right', __('Left', DH_DOMAIN) => 'left', __('Bottom', DH_DOMAIN) => 'bottom', __('Top - Right', DH_DOMAIN) => 'top-right', __('Top - Left', DH_DOMAIN) => 'top-left', __('Top - Bottom', DH_DOMAIN) => 'vertical', __('Left - Right', DH_DOMAIN) => 'horizontal', __('Bottom - Right', DH_DOMAIN) => 'bottom-right', __('Bottom - Left', DH_DOMAIN) => 'bottom-left', __('Top - Right - Bottom', DH_DOMAIN) => 'top-right-bottom', __('Top - Left - Bottom', DH_DOMAIN) => 'top-left-bottom', __('Top - Right - Left', DH_DOMAIN) => 'top-right-left', __('Bottom - Right - left', DH_DOMAIN) => 'bottom-right-left', __('All', DH_DOMAIN) => 'all')), array('param_name' => 'fade', 'heading' => __('Fade Effect', DH_DOMAIN), 'description' => __('Select to activate the fade effect.', DH_DOMAIN), 'type' => 'checkbox', 'holder' => $this->param_holder, 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('param_name' => 'fade_animation', 'heading' => __('Fade Animation', DH_DOMAIN), 'description' => __('Select the type of fade animation you want to use.', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('In', DH_DOMAIN) => 'in', __('In From Top', DH_DOMAIN) => 'in-from-top', __('In From Left', DH_DOMAIN) => 'in-from-left', __('In From Right', DH_DOMAIN) => 'in-from-right', __('In From Bottom', DH_DOMAIN) => 'in-from-bottom'), 'dependency' => array('element' => "fade", 'not_empty' => true)), array('param_name' => 'fade_offset', 'heading' => __('Fade Offset (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '80', 'data_min' => '0', 'data_max' => '200', 'data_step' => '10', 'dependency' => array('element' => "fade", 'not_empty' => true)), array('param_name' => 'bg_color', 'heading' => __('Background Color', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder)), 'dh_box' => array(array('param_name' => 'border', 'heading' => __('Border', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Top', DH_DOMAIN) => 'top', __('Right', DH_DOMAIN) => 'right', __('Left', DH_DOMAIN) => 'left', __('Bottom', DH_DOMAIN) => 'bottom', __('Top - Right', DH_DOMAIN) => 'top-right', __('Top - Left', DH_DOMAIN) => 'top-left', __('Top - Bottom', DH_DOMAIN) => 'vertical', __('Left - Right', DH_DOMAIN) => 'horizontal', __('Bottom - Right', DH_DOMAIN) => 'bottom-right', __('Bottom - Left', DH_DOMAIN) => 'bottom-left', __('Top - Right - Bottom', DH_DOMAIN) => 'top-right-bottom', __('Top - Left - Bottom', DH_DOMAIN) => 'top-left-bottom', __('Top - Right - Left', DH_DOMAIN) => 'top-right-left', __('Bottom - Right - left', DH_DOMAIN) => 'bottom-right-left', __('All', DH_DOMAIN) => 'all')), array('type' => 'dropdown', 'param_name' => 'background_type', 'heading' => __('Background Type', DH_DOMAIN), 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => '', __('Color', DH_DOMAIN) => 'color', __('Image', DH_DOMAIN) => 'image', __('Video', DH_DOMAIN) => 'video')), array('param_name' => 'bg_color', 'heading' => __('Background Color', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('color'))), array("type" => "attach_image", "heading" => __("Image", DH_DOMAIN), "param_name" => "bg_image", "value" => "", 'dependency' => array('element' => "background_type", 'value' => array('image')), "description" => __("Select image from media library.", DH_DOMAIN)), array("type" => "checkbox", "heading" => __("Background Image Repeat", DH_DOMAIN), "param_name" => "bg_image_repeat", "value" => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array("type" => "dropdown", "heading" => __("Background Style", DH_DOMAIN), "param_name" => "parallax_bg", 'value' => array(__('None', DH_DOMAIN) => 'no', __('Parallax', DH_DOMAIN) => 'yes', __('Fixed', DH_DOMAIN) => 'fixed'), 'dependency' => array('element' => "background_type", 'value' => array('image'))), array('param_name' => 'parallax_bg_speed', 'heading' => __('Parallax Speed', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'value' => '0.1', 'description' => __('The movement speed, value should be between -1.0 and 1.0', DH_DOMAIN), 'dependency' => array('element' => "parallax_bg", 'value' => array('yes'))), array('param_name' => 'bg_video', 'heading' => __('Video URL', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_video_poster', 'heading' => __('Video Poster Image', DH_DOMAIN), 'type' => 'attach_image', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video'))), array('param_name' => 'bg_overlay', 'heading' => __('Background Color Overlay', DH_DOMAIN), 'type' => 'colorpicker', 'holder' => $this->param_holder, 'dependency' => array('element' => "background_type", 'value' => array('video', 'image'))), array('param_name' => 'margin_top', 'heading' => __('Margin Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'margin_right', 'heading' => __('Margin Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'margin_bottom', 'heading' => __('Margin Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'margin_left', 'heading' => __('Margin Left (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_top', 'heading' => __('Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_right', 'heading' => __('Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_bottom', 'heading' => __('Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200'), array('param_name' => 'padding_left', 'heading' => __('Padding Left (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '200')), 'vc_column_text' => array(), 'dh_clearfix' => array(array('param_name' => 'el_class', 'heading' => __('(Optional) Extra class name', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, "description" => __("If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.", DH_DOMAIN))), 'dh_menu_anchor' => array(array('param_name' => 'name', 'heading' => __('Name Of Menu Anchor', DH_DOMAIN), 'type' => 'textfield', 'admin_label' => true, 'holder' => $this->param_holder, "description" => __("This name will be the id you will have to use in your one page menu.", DH_DOMAIN))), 'dh_animation' => array(array('param_name' => 'animation', 'heading' => __('Select Animation', DH_DOMAIN), 'description' => __('Choose animation effect for this column.', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'std' => 'fadeIn', 'value' => array("None" => "", "Flash" => "flash", "Shake" => "shake", "Bounce" => "bounce", "Fade In" => "fadeIn", "Fade In Up" => "fadeInUp", "Fade In Down" => "fadeInDown", "Fade In Left" => "fadeInLeft", "Fade In Right" => "fadeInRight", "Fade In Up Big" => "fadeInUpBig", "Fade In Down Big" => 'fadeInDownBig', 'Fade In Left Big' => 'fadeInLeftBig', 'Fade In Right Big' => 'fadeInRightBig', 'Fade Out' => 'fadeOut', 'Fade Out Up' => 'fadeOutUp', 'Fade Out Down' => 'fadeOutDown', 'Fade Out Left' => 'fadeOutLeft', 'Fade Out Right' => 'fadeOutRight', 'Fade Out Up Big' => 'fadeOutUpBig', 'Fade Out Down Big' => 'fadeOutDownBig', 'Fade Out Left Big' => 'fadeOutLeftBig', 'Fade Out Right Big' => 'fadeOutRightBig', 'Slide In Down' => 'slideInDown', 'Slide In Left' => 'slideInLeft', 'Slide In Right' => 'slideInRight', 'Slide Out Up' => 'slideOutUp', 'Slide Out Left' => 'slideOutLeft', 'Slide Out Right' => 'slideOutRight', 'Bounce In' => 'bounceIn', 'Bounce In Up' => 'bounceInUp', 'Bounce In Down' => 'bounceInDown', 'Bounce In Left' => 'bounceInLeft', 'Bounce In Right' => 'bounceInRight', 'Bounce Out' => 'bounceOut', 'Bounce Out Up' => 'bounceOutUp', 'Bounce Out Down' => 'bounceOutDown', 'Bounce Out Left' => 'bounceOutLeft', 'Bounce Out Right' => 'bounceOutRight', 'Light Speed In' => 'lightSpeedIn', 'Light Speed Out' => 'lightSpeedOut')), array("type" => "dropdown", "heading" => __("Animation Transition", DH_DOMAIN), "param_name" => "animation_timing", "value" => array('linear' => 'linear', 'ease' => 'ease', 'easeIn' => 'easeIn', 'easeOut' => 'easeOut', 'easeInOut' => 'easeInOut', 'easeInQuad' => 'easeInQuad', 'easeInCubic' => 'easeInCubic', 'easeInQuart' => 'easeInQuart', 'easeInQuint' => 'easeInQuint', 'easeInSine' => 'easeInSine', 'easeInExpo' => 'easeInExpo', 'easeInCirc' => 'easeInCirc', 'easeInBack' => 'easeInBack', 'easeOutQuad' => 'easeOutQuad', 'easeOutCubic' => 'easeOutCubic', 'easeOutQuart' => 'easeOutQuart', 'easeOutQuint' => 'easeOutQuint', 'easeOutSine' => 'easeOutSine', 'easeOutExpo' => 'easeOutExpo', 'easeOutCirc' => 'easeOutCirc', 'easeOutBack' => 'easeOutBack', 'easeInOutQuad' => 'easeInOutQuad', 'easeInOutCubic' => 'easeInOutCubic', 'easeInOutQuart' => 'easeInOutQuart', 'easeInOutQuint' => 'easeInOutQuint', 'easeInOutSine' => 'easeInOutSine', 'easeInOutExpo' => 'easeInOutExpo', 'easeInOutCirc' => 'easeInOutCirc', 'easeInOutBack' => 'easeInOutBack'), "description" => __("Select the a animation transition.", DH_DOMAIN)), array('param_name' => 'animation_duration', 'heading' => __('Animation Duration (ms)', DH_DOMAIN), 'description' => __('Specifies how many milliseconds an animation takes to complete.', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1000', 'data_min' => '0', 'data_max' => '3000', 'data_step' => '50', 'dependency' => array('element' => "animation", 'not_empty' => true)), array('param_name' => 'animation_delay', 'heading' => __('Animation Delay (ms)', DH_DOMAIN), 'description' => __('Specifies a delay before the animation will start.', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '0', 'data_min' => '0', 'data_max' => '3000', 'data_step' => '50', 'dependency' => array('element' => "animation", 'not_empty' => true))), 'vc_separator' => array(array('param_name' => 'type', 'heading' => __('Type', DH_DOMAIN), 'type' => 'dropdown', 'admin_label' => true, 'holder' => $this->param_holder, 'value' => array(__('Line', DH_DOMAIN) => "line", __('Line with text', DH_DOMAIN) => "line_text", __('Line with icon', DH_DOMAIN) => "line_icon")), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'dependency' => array('element' => "type", 'value' => array('line_icon')), 'description' => __('Icon.', DH_DOMAIN)), array('param_name' => 'icon_size', 'heading' => __('Icon font size', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '14', 'data_min' => '0', 'dependency' => array('element' => "type", 'value' => array('line_icon')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Icon position', DH_DOMAIN), 'param_name' => 'icon_align', 'value' => array(__('Align center', DH_DOMAIN) => 'align-center', __('Align left', DH_DOMAIN) => 'align-left', __('Align right', DH_DOMAIN) => "align-right"), 'description' => __('Select icon location.', DH_DOMAIN), 'dependency' => array('element' => "type", 'value' => array('line_icon'))), array('param_name' => 'title', 'heading' => __('Text', DH_DOMAIN), 'type' => 'textfield', 'admin_label' => true, 'holder' => $this->param_holder, 'dependency' => array('element' => "type", 'value' => array('line_text'))), array('param_name' => 'title_size', 'heading' => __('Title font size', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'dependency' => array('element' => "type", 'value' => array('line_text')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Title position', DH_DOMAIN), 'param_name' => 'title_align', 'value' => array(__('Align center', DH_DOMAIN) => 'align-center', __('Align left', DH_DOMAIN) => 'align-left', __('Align right', DH_DOMAIN) => "align-right"), 'description' => __('Select title location.', DH_DOMAIN), 'dependency' => array('element' => "type", 'value' => array('line_text'))), array('type' => 'dropdown', 'heading' => __('Align', DH_DOMAIN), 'param_name' => 'line_align', 'value' => array(__('Align center', DH_DOMAIN) => 'align-center', __('Align left', DH_DOMAIN) => 'align-left', __('Align right', DH_DOMAIN) => "align-right"), 'description' => __('Select title location.', DH_DOMAIN), 'dependency' => array('element' => "type", 'value' => array('line'))), array('type' => 'colorpicker', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'description' => __('Separator color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), 'param_name' => 'style', 'value' => array(__('Border', DH_DOMAIN) => '', __('Border 2', DH_DOMAIN) => 'border-2', __('Dashed', DH_DOMAIN) => 'dashed', __('Dotted', DH_DOMAIN) => 'dotted', __('Double', DH_DOMAIN) => 'double'), 'description' => __('Separator style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Element Width Type', DH_DOMAIN), 'param_name' => 'width_type', 'value' => array(__('Percent', DH_DOMAIN) => 'percent', __('Fix', DH_DOMAIN) => 'fix')), array('param_name' => 'el_with_px', 'heading' => __('Element width (Px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '100', 'data_min' => '100', 'data_step' => '10', 'dependency' => array('element' => "width_type", 'value' => array('fix')), 'data_max' => '800'), array('type' => 'dropdown', 'heading' => __('Element width', DH_DOMAIN), 'param_name' => 'el_width', 'dependency' => array('element' => "width_type", 'value' => array('percents')), 'value' => array('100%' => '', '90%' => '90', '80%' => '80', '70%' => '70', '60%' => '60', '50%' => '50', '40%' => '40', '30%' => '30', '20%' => '20', '10%' => '10'), 'description' => __('Separator element width in percents.', DH_DOMAIN))), 'vc_empty_space' => array(array('type' => 'textfield', 'heading' => __('Height', DH_DOMAIN), 'param_name' => 'height', 'admin_label' => true, 'value' => '40', 'description' => __('Enter empty space height (px).', DH_DOMAIN))), 'dh_post' => array(array('type' => 'dropdown', 'heading' => __('Layout', DH_DOMAIN), 'param_name' => 'layout', 'admin_label' => true, 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Medium', DH_DOMAIN) => 'medium', __('Grid', DH_DOMAIN) => 'grid', __('Masonry', DH_DOMAIN) => 'masonry', __('Timeline', DH_DOMAIN) => 'timeline'), 'std' => 'default', 'description' => __('Select the layout for the blog shortcode.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Columns', DH_DOMAIN), 'param_name' => 'columns', 'std' => 3, 'value' => array(__('2', DH_DOMAIN) => '2', __('3', DH_DOMAIN) => '3', __('4', DH_DOMAIN) => '4'), 'dependency' => array('element' => "layout", 'value' => array('grid', 'masonry')), 'description' => __('Select whether to display the layout in 2, 3 or 4 column.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Posts Per Page', DH_DOMAIN), 'param_name' => 'posts_per_page', 'value' => 5, 'description' => __('Select number of posts per page.Set "-1" to display all', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Order by', DH_DOMAIN), 'param_name' => 'orderby', 'value' => array(__('Recent First', DH_DOMAIN) => 'latest', __('Older First', DH_DOMAIN) => 'oldest', __('Title Alphabet', DH_DOMAIN) => 'alphabet', __('Title Reversed Alphabet', DH_DOMAIN) => 'ralphabet')), array('type' => 'post_category', 'heading' => __('Categories', DH_DOMAIN), 'param_name' => 'categories', 'admin_label' => true, 'description' => __('Select a category or leave blank for all', DH_DOMAIN)), array('type' => 'post_category', 'heading' => __('Exclude Categories', DH_DOMAIN), 'param_name' => 'exclude_categories', 'description' => __('Select a category to exclude', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Post Title', DH_DOMAIN), 'param_name' => 'hide_post_title', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide the post title below the featured', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Link Title To Post', DH_DOMAIN), 'param_name' => 'link_post_title', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes', __('No', DH_DOMAIN) => 'no'), 'description' => __('Choose if the title should be a link to the single post page.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Thumbnail', DH_DOMAIN), 'param_name' => 'hide_thumbnail', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide the post featured', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Excerpt', DH_DOMAIN), 'param_name' => 'hide_excerpt', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry')), 'description' => __('Hide excerpt', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Number of words in Excerpt', DH_DOMAIN), 'param_name' => 'excerpt_length', 'value' => 55, 'dependency' => array('element' => 'hide_excerpt', 'is_empty' => true), 'description' => __('The number of words', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Date', DH_DOMAIN), 'param_name' => 'hide_date', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide date in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Timeline Month', DH_DOMAIN), 'param_name' => 'hide_month', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('timeline')), 'description' => __('Hide timeline month', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Comment', DH_DOMAIN), 'param_name' => 'hide_comment', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide comment in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Category', DH_DOMAIN), 'param_name' => 'hide_category', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide category in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Author', DH_DOMAIN), 'param_name' => 'hide_author', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry')), 'description' => __('Hide author in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Read More Link', DH_DOMAIN), 'param_name' => 'hide_readmore', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry')), 'description' => __('Choose to hide the link', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Show Tags', DH_DOMAIN), 'param_name' => 'show_tag', 'value' => array(__('No', DH_DOMAIN) => 'no', __('Yes', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('default', 'medium', 'grid', 'masonry')), 'description' => __('Choose to show the tags', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Pagination', DH_DOMAIN), 'param_name' => 'pagination', 'value' => array(__('Page Number', DH_DOMAIN) => 'page_num', __('Load More Button', DH_DOMAIN) => 'loadmore', __('Infinite Scrolling', DH_DOMAIN) => 'infinite_scroll', __('No', DH_DOMAIN) => 'no'), 'description' => __('Choose pagination type.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Load More Button Text', DH_DOMAIN), 'param_name' => 'loadmore_text', 'dependency' => array('element' => "pagination", 'value' => array('loadmore')), 'value' => __('Load More', DH_DOMAIN))), 'dh_latestnews' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Title Backgound', DH_DOMAIN), 'param_name' => 'title_bg', 'description' => __('Select background color for title.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Title Icon', DH_DOMAIN), 'param_name' => 'title_icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Title icon.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Posts Per Page', DH_DOMAIN), 'param_name' => 'posts_per_page', 'value' => 5, 'admin_label' => true, 'description' => __('Select number of posts per page.Set "-1" to display all', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Order by', DH_DOMAIN), 'param_name' => 'orderby', 'value' => array(__('Recent First', DH_DOMAIN) => 'latest', __('Older First', DH_DOMAIN) => 'oldest', __('Most Commented', DH_DOMAIN) => 'comment', __('Title Alphabet', DH_DOMAIN) => 'alphabet', __('Title Reversed Alphabet', DH_DOMAIN) => 'ralphabet')), array('type' => 'post_category', 'heading' => __('Categories', DH_DOMAIN), 'param_name' => 'categories', 'single_select' => true, 'admin_label' => true, 'description' => __('Select a category or leave blank for all', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Only this category', DH_DOMAIN) => 'only', __('Tabs with childrens', DH_DOMAIN) => 'tab', __('Carousel', DH_DOMAIN) => 'carousel')), array('type' => 'dropdown', 'heading' => __('Transition', DH_DOMAIN), 'param_name' => 'fx', 'dependency' => array('element' => "style", 'value' => array('carousel')), 'std' => 'scroll', 'value' => array('Scroll' => 'scroll', 'Directscroll' => 'directscroll', 'Fade' => 'fade', 'Cross fade' => 'crossfade', 'Cover' => 'cover', 'Cover fade' => 'cover-fade', 'Uncover' => 'cover-fade', 'Uncover fade' => 'uncover-fade'), 'description' => __('Indicates which effect to use for the transition.', DH_DOMAIN)), array('param_name' => 'visible', 'dependency' => array('element' => "style", 'value' => array('carousel')), 'heading' => __('The number of visible items', DH_DOMAIN), 'type' => 'dropdown', 'std' => 4, 'value' => array(2, 3, 4, 6)), array('type' => 'checkbox', 'heading' => __('Autoplay ?', DH_DOMAIN), 'param_name' => 'auto_play', 'dependency' => array('element' => "style", 'value' => array('carousel')), 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Slide Pagination ?', DH_DOMAIN), 'param_name' => 'hide_pagination', 'dependency' => array('element' => "style", 'value' => array('carousel')), 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Previous/Next Control ?', DH_DOMAIN), 'param_name' => 'hide_control', 'dependency' => array('element' => "style", 'value' => array('carousel')), 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Use category name as widget title', DH_DOMAIN), 'param_name' => 'title_is_cat_name', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Intro Posts Thumb', DH_DOMAIN), 'param_name' => 'intro_thumb', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Show thumbnail in intro post', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Excerpt', DH_DOMAIN), 'param_name' => 'hide_excerpt', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide excerpt', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Number of words in Excerpt', DH_DOMAIN), 'param_name' => 'excerpt_length', 'value' => 20, 'dependency' => array('element' => 'hide_excerpt', 'is_empty' => true), 'description' => __('The number of words', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Date', DH_DOMAIN), 'param_name' => 'hide_date', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide date in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Comment', DH_DOMAIN), 'param_name' => 'hide_comment', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide comment in post meta info', DH_DOMAIN))), 'dh_post_thumbnail' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Posts Per Page', DH_DOMAIN), 'param_name' => 'posts_per_page', 'admin_label' => true, 'value' => 5, 'description' => __('Select number of posts per page.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Order by', DH_DOMAIN), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Recent First', DH_DOMAIN) => 'latest', __('Recent Comment', DH_DOMAIN) => 'comment')), array('type' => 'post_category', 'heading' => __('Categories', DH_DOMAIN), 'param_name' => 'categories', 'admin_label' => true, 'description' => __('Select a category or leave blank for all', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Date', DH_DOMAIN), 'param_name' => 'hide_date', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide date in post meta info', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Comment', DH_DOMAIN), 'param_name' => 'hide_comment', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide comment in post meta info', DH_DOMAIN))), 'dh_mailchimp' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', DH_DOMAIN))), 'dh_portfolio' => array(array('type' => 'dropdown', 'heading' => __('Layout', DH_DOMAIN), 'param_name' => 'layout', 'admin_label' => true, 'value' => array(__('Masonry', DH_DOMAIN) => 'masonry', __('Grid', DH_DOMAIN) => 'grid'), 'std' => 'masonry', 'description' => __('Select layout for the portfolio shortcode.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), 'param_name' => 'style', 'admin_label' => true, 'dependency' => array('element' => "layout", 'value' => array('masonry', 'grid')), 'value' => array(__('Link from bottom on hover + zoom button', DH_DOMAIN) => 'one', __('Title + zoom button on hover', DH_DOMAIN) => 'two', __('Link on hover + zoom button', DH_DOMAIN) => 'three', __('Lily', DH_DOMAIN) => 'lily', __('Marley', DH_DOMAIN) => 'marley'), 'std' => 'one', 'description' => __('Select style for the portfolio shortcode.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Columns', DH_DOMAIN), 'param_name' => 'columns', 'std' => 3, 'dependency' => array('element' => "layout", 'value' => array('masonry', 'grid')), 'value' => array(__('2', DH_DOMAIN) => '2', __('3', DH_DOMAIN) => '3', __('4', DH_DOMAIN) => '4'), 'dependency' => array('element' => "layout", 'value' => array('grid', 'masonry')), 'description' => __('Select whether to display the layout in 2, 3 or 4 column.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Posts Per Page', DH_DOMAIN), 'param_name' => 'posts_per_page', 'value' => 5, 'description' => __('Select number of posts per page.Set "-1" to display all', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Order by', DH_DOMAIN), 'param_name' => 'orderby', 'value' => array(__('Recent First', DH_DOMAIN) => 'latest', __('Older First', DH_DOMAIN) => 'oldest', __('Title Alphabet', DH_DOMAIN) => 'alphabet', __('Title Reversed Alphabet', DH_DOMAIN) => 'ralphabet')), array('type' => 'portfolio_category', 'heading' => __('Categories', DH_DOMAIN), 'param_name' => 'categories', 'admin_label' => true, 'description' => __('Select a category or leave blank for all', DH_DOMAIN)), array('type' => 'portfolio_category', 'heading' => __('Exclude Categories', DH_DOMAIN), 'param_name' => 'exclude_categories', 'description' => __('Select a category to exclude', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Gap', DH_DOMAIN), 'param_name' => 'gap', 'dependency' => array('element' => "layout", 'value' => array('masonry', 'grid')), 'value' => array(__('No', DH_DOMAIN) => '', __('Yes', DH_DOMAIN) => 'yes', __('1 px', DH_DOMAIN) => 'onepx'), 'description' => __('Enable gap in item', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Filter', DH_DOMAIN), 'param_name' => 'hide_filter', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('masonry')), 'description' => __('Hide masonry filter', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Sorting', DH_DOMAIN), 'param_name' => 'hide_sorting', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('masonry')), 'description' => __('Hide masonry sorting', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Filter Type', DH_DOMAIN), 'param_name' => 'filter_type', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Center', DH_DOMAIN) => 'center'), 'description' => __('Chooso a Filter Type, the filter type Center only work when Hide Sorting', DH_DOMAIN), 'dependency' => array('element' => "layout", 'value' => array('masonry')), 'description' => __('Hide masonry filter', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Wrap Masonry filter in a container', DH_DOMAIN), 'param_name' => 'wrap_filter', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'dependency' => array('element' => "layout", 'value' => array('masonry')), 'description' => __('If selected, filter box will be placed inside a container. <strong>Recommended use in full width page</strong>', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Hide Action', DH_DOMAIN), 'param_name' => 'hide_action', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Hide Popup and Link button icon', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Action Link To', DH_DOMAIN), 'param_name' => 'portfolio_action_link_to', 'sdt' => 'project_detail', 'value' => array(__('View Single URL', DH_DOMAIN) => 'single_url', __('Project URL', DH_DOMAIN) => 'project_url'), 'description' => __('Select Link URL for Link Button icon', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Pagination', DH_DOMAIN), 'param_name' => 'pagination', 'value' => array(__('Page Number', DH_DOMAIN) => 'page_num', __('Load More Button', DH_DOMAIN) => 'loadmore', __('Infinite Scrolling', DH_DOMAIN) => 'infinite_scroll', __('No', DH_DOMAIN) => 'no'), 'description' => __('Choose pagination type.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Load More Button Text', DH_DOMAIN), 'param_name' => 'loadmore_text', 'dependency' => array('element' => "pagination", 'value' => array('loadmore')), 'value' => __('Load More', DH_DOMAIN))), 'vc_progress_bar' => array(array('type' => 'dropdown', 'heading' => __('Styles', DH_DOMAIN), 'param_name' => 'style', 'value' => array(__('Label Above', DH_DOMAIN) => 'label-above', __('Label Inner', DH_DOMAIN) => 'label-inner'), 'admin_label' => true, 'description' => __('Choose progress stype.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Title Color', DH_DOMAIN), 'param_name' => 'title_color', 'description' => __('Select color for title.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Label Color', DH_DOMAIN), 'param_name' => 'label_color', 'description' => __('Select color for progress label.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Progress height', DH_DOMAIN), 'param_name' => 'progress_height', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Choose custom progress height.', DH_DOMAIN)), array('param_name' => 'progress_height_value', 'heading' => __('Progress Height Value (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '20', 'data_min' => '0', 'dependency' => array('element' => "progress_height", 'value' => array('custom')), 'data_max' => '100')), 'vc_accordion' => array(array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), 'param_name' => 'style', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Outline', DH_DOMAIN) => 'outline', __('None', DH_DOMAIN) => 'none'), 'description' => __('Choose accordion stype.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon Position', DH_DOMAIN), 'param_name' => 'icon_position', 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right')), array('type' => 'dropdown', 'heading' => __('Icon Style', DH_DOMAIN), 'param_name' => 'icon_style', 'value' => array(__('None', DH_DOMAIN) => 'none', __('Circle', DH_DOMAIN) => 'circle', __('Square', DH_DOMAIN) => 'square', __('Square-O', DH_DOMAIN) => 'square-o'))), 'vc_message' => array(array('type' => 'checkbox', 'heading' => __('Show dismiss button', DH_DOMAIN), 'param_name' => 'dismissible', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'))), 'dh_quote' => array(array('type' => 'textarea_html', 'holder' => $this->param_holder, 'heading' => __('Content', DH_DOMAIN), 'param_name' => 'content', 'value' => __('<p>I am blockquote. Click edit button to change this text.</p>', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Cite', DH_DOMAIN), 'param_name' => 'cite')), 'dh_slider' => array(), 'vc_button' => array(array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), "param_holder_class" => 'dh-btn-style-select', 'param_name' => 'style', 'value' => self::$button_styles, 'description' => __('Button style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Size', DH_DOMAIN), 'param_name' => 'size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm', __('Extra small', DH_DOMAIN) => 'xs', __('Custom size', DH_DOMAIN) => 'custom'), 'description' => __('Button size.', DH_DOMAIN)), array('param_name' => 'font_size', 'heading' => __('Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '14', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '50'), array('param_name' => 'border_width', 'heading' => __('Border Width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '20'), array('param_name' => 'padding_top', 'heading' => __('Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_right', 'heading' => __('Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_bottom', 'heading' => __('Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'padding_left', 'heading' => __('Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "size", 'value' => array('custom')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Outlined White', DH_DOMAIN) => 'white', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Button color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Background Color', DH_DOMAIN), 'param_name' => 'background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select background color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Border Color', DH_DOMAIN), 'param_name' => 'border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select border color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Text Color', DH_DOMAIN), 'param_name' => 'text_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select text color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Background Color', DH_DOMAIN), 'param_name' => 'hover_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select background color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Border Color', DH_DOMAIN), 'param_name' => 'hover_border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select border color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Text Color', DH_DOMAIN), 'param_name' => 'hover_text_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select text color for button when hover.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon Postiton', DH_DOMAIN), 'param_name' => 'icon_position', 'dependency' => array('element' => "icon", 'not_empty' => true), 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right')), array('type' => 'dropdown_group', 'heading' => __('Effect', DH_DOMAIN), 'param_name' => 'effect', "param_holder_class" => 'dh-btn-effect-select', 'value' => '', 'dependency' => array('element' => "color", 'value' => array('primary', 'success', 'info', 'warning', 'danger', 'white')), 'optgroup' => array(__('None', DH_DOMAIN) => '', __('Border Transitions', DH_DOMAIN) => array(__('Border Fade', DH_DOMAIN) => 'border_fade', __('Border Hollow', DH_DOMAIN) => 'border_hollow', __('Border Trim', DH_DOMAIN) => 'border_trim', __('Border Outline Outward', DH_DOMAIN) => 'border_outline_outward', __('Border Outline Inward', DH_DOMAIN) => 'border_outline_inward', __('Border Round Corners', DH_DOMAIN) => 'border_round_corners'), __('Background Transitions', DH_DOMAIN) => array(__('Bg Darken Background', DH_DOMAIN) => 'bg_darken', __('Bg Fade In', DH_DOMAIN) => 'bg_fade_in', __('Bg Fade Out', DH_DOMAIN) => 'bg_fade_out', __('Bg From Top', DH_DOMAIN) => 'bg_top', __('Bg From Right', DH_DOMAIN) => 'bg_right', __('Bg From Center', DH_DOMAIN) => 'bg_center', __('Bg Skew Center', DH_DOMAIN) => 'bg_skew_center', __('Bg Form Horizontal Center', DH_DOMAIN) => 'bg_horizontal_center'), __('For 3D button', DH_DOMAIN) => array(__('Click state', DH_DOMAIN) => 'click_state'), __('For Icon Buton', DH_DOMAIN) => array(__('Icon Slide In', DH_DOMAIN) => 'icon_slide_in')), 'description' => __('Effect when hover button', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Text Uppercase', DH_DOMAIN), 'param_name' => 'text_uppercase', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Text transform to uppercase', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Button Full Width', DH_DOMAIN), 'param_name' => 'block_button', 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'description' => __('Button full width of a parent', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Alignment', DH_DOMAIN), 'param_name' => 'alignment', 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Center', DH_DOMAIN) => 'center', __('Right', DH_DOMAIN) => 'right'), 'description' => __('Button alignment (Not use for Button full width)', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Show Tooltip/Popover', DH_DOMAIN), 'param_name' => 'tooltip', 'value' => array(__('No', DH_DOMAIN) => '', __('Tooltip', DH_DOMAIN) => 'tooltip', __('Popover', DH_DOMAIN) => 'popover'), 'description' => __('Display a tooltip or popover with descriptive text.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Tip position', DH_DOMAIN), 'param_name' => 'tooltip_position', 'value' => array(__('Top', DH_DOMAIN) => 'top', __('Bottom', DH_DOMAIN) => 'bottom', __('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose the display position.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Popover Title', DH_DOMAIN), 'param_name' => 'tooltip_title', 'dependency' => array('element' => "tooltip", 'value' => array('popover'))), array('type' => 'textarea', 'heading' => __('Tip/Popover Content', DH_DOMAIN), 'param_name' => 'tooltip_content', 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover'))), array('type' => 'dropdown', 'heading' => __('Tip/Popover trigger', DH_DOMAIN), 'param_name' => 'tooltip_trigger', 'value' => array(__('Hover', DH_DOMAIN) => 'hover', __('Click', DH_DOMAIN) => 'click'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose action to trigger the tooltip.', DH_DOMAIN))), 'vc_cta_button' => array(array('type' => 'textfield', 'heading' => __('Heading', DH_DOMAIN), 'admin_label' => true, 'param_name' => 'heading', 'value' => __('Hey! I am first heading line feel free to change me', DH_DOMAIN), 'description' => __('Text for the first heading line.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Heading Color', DH_DOMAIN), 'param_name' => 'heading_color', 'description' => __('Custom the heading color.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Heading second', DH_DOMAIN), 'param_name' => 'second_heading', 'value' => '', 'description' => __('Optional text for the second heading line.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Heading Second Color', DH_DOMAIN), 'param_name' => 'heading_second_color', 'description' => __('Custom the second heading color.', DH_DOMAIN)), array('type' => 'textarea_html', 'holder' => $this->param_holder, 'heading' => __('Promotional text', DH_DOMAIN), 'param_name' => 'content', 'value' => __('I am promo text. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('CTA style', DH_DOMAIN), 'param_name' => 'style', 'value' => self::$cta_styles, 'description' => __('Call to action style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Text align', DH_DOMAIN), 'param_name' => 'txt_align', 'std' => 'center', 'value' => getVcShared('text align'), 'description' => __('Text align in call to action block.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Background Color', DH_DOMAIN), 'param_name' => 'background_color', 'description' => __('Select background color for your element.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Border Color', DH_DOMAIN), 'param_name' => 'border_color', 'description' => __('Select border color for your element.', DH_DOMAIN)), array('type' => 'href', 'heading' => __('URL (Link)', DH_DOMAIN), 'param_name' => 'href', 'description' => __('Button link.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Target', DH_DOMAIN), 'param_name' => 'target', 'value' => array(__('Same window', DH_DOMAIN) => '_self', __('New window', DH_DOMAIN) => "_blank"), 'dependency' => array('element' => 'href', 'not_empty' => true, 'callback' => 'vc_button_param_target_callback')), array('type' => 'textfield', 'heading' => __('Text on the button', DH_DOMAIN), 'param_name' => 'btn_title', 'value' => __('Click', DH_DOMAIN), 'description' => __('Text on the button.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Button Text Uppercase', DH_DOMAIN), 'param_name' => 'btn_text_uppercase', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Text transform to uppercase', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Style', DH_DOMAIN), "param_holder_class" => 'dh-btn-style-select', 'param_name' => 'btn_style', 'value' => self::$button_styles, 'description' => __('Button style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Size', DH_DOMAIN), 'param_name' => 'btn_size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm', __('Extra small', DH_DOMAIN) => 'xs', __('Custom size', DH_DOMAIN) => 'custom'), 'description' => __('Button size.', DH_DOMAIN)), array('param_name' => 'btn_font_size', 'heading' => __('Button Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '14', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '50'), array('param_name' => 'btn_border_width', 'heading' => __('Button Border Width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '20'), array('param_name' => 'btn_padding_top', 'heading' => __('Button Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_right', 'heading' => __('Button Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_bottom', 'heading' => __('Button Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_left', 'heading' => __('Button Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Button Color', DH_DOMAIN), 'param_name' => 'btn_color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Outlined White', DH_DOMAIN) => 'white', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Button color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Background Color', DH_DOMAIN), 'param_name' => 'btn_background_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select background color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Border Color', DH_DOMAIN), 'param_name' => 'btn_border_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select border color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Text Color', DH_DOMAIN), 'param_name' => 'btn_text_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select text color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Background Color', DH_DOMAIN), 'param_name' => 'btn_hover_background_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select background color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Border Color', DH_DOMAIN), 'param_name' => 'btn_hover_border_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select border color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Text Color', DH_DOMAIN), 'param_name' => 'btn_hover_text_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select text color for button when hover.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'btn_icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Icon Postiton', DH_DOMAIN), 'param_name' => 'btn_icon_position', 'dependency' => array('element' => "btn_icon", 'not_empty' => true), 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right')), array('type' => 'dropdown_group', 'heading' => __('Button Effect', DH_DOMAIN), 'param_name' => 'btn_effect', "param_holder_class" => 'dh-btn-effect-select', 'value' => '', 'dependency' => array('element' => "btn_color", 'value' => array('primary', 'success', 'info', 'warning', 'danger', 'white')), 'optgroup' => array(__('None', DH_DOMAIN) => '', __('Border Transitions', DH_DOMAIN) => array(__('Border Fade', DH_DOMAIN) => 'border_fade', __('Border Hollow', DH_DOMAIN) => 'border_hollow', __('Border Trim', DH_DOMAIN) => 'border_trim', __('Border Outline Outward', DH_DOMAIN) => 'border_outline_outward', __('Border Outline Inward', DH_DOMAIN) => 'border_outline_inward', __('Border Round Corners', DH_DOMAIN) => 'border_round_corners'), __('Background Transitions', DH_DOMAIN) => array(__('Bg Darken Background', DH_DOMAIN) => 'bg_darken', __('Bg Fade In', DH_DOMAIN) => 'bg_fade_in', __('Bg Fade Out', DH_DOMAIN) => 'bg_fade_out', __('Bg From Top', DH_DOMAIN) => 'bg_top', __('Bg From Right', DH_DOMAIN) => 'bg_right', __('Bg From Center', DH_DOMAIN) => 'bg_center', __('Bg Skew Center', DH_DOMAIN) => 'bg_skew_center', __('Bg Form Horizontal Center', DH_DOMAIN) => 'bg_horizontal_center'), __('For 3D button', DH_DOMAIN) => array(__('Click state', DH_DOMAIN) => 'click_state'), __('For Icon Buton', DH_DOMAIN) => array(__('Icon Slide In', DH_DOMAIN) => 'icon_slide_in')), 'description' => __('Effect when hover button', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button position', DH_DOMAIN), 'param_name' => 'buton_position', 'std' => 'bottom', 'value' => array(__('Align right', DH_DOMAIN) => 'right', __('Align left', DH_DOMAIN) => 'left', __('Align bottom', DH_DOMAIN) => 'bottom'), 'description' => __('Select button postion.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Button Full Width', DH_DOMAIN), 'param_name' => 'block_button', 'dependency' => array('element' => "buton_position", 'value' => array('bottom')), 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'description' => __('Button full width of a parent', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Show Tooltip/Popover', DH_DOMAIN), 'param_name' => 'tooltip', 'value' => array(__('No', DH_DOMAIN) => '', __('Tooltip', DH_DOMAIN) => 'tooltip', __('Popover', DH_DOMAIN) => 'popover'), 'description' => __('Display a tooltip or popover with descriptive text.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Tip position', DH_DOMAIN), 'param_name' => 'tooltip_position', 'value' => array(__('Top', DH_DOMAIN) => 'top', __('Bottom', DH_DOMAIN) => 'bottom', __('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose the display position.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Popover Title', DH_DOMAIN), 'param_name' => 'tooltip_title', 'dependency' => array('element' => "tooltip", 'value' => array('popover'))), array('type' => 'textarea', 'heading' => __('Tip/Popover Content', DH_DOMAIN), 'param_name' => 'tooltip_content', 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover'))), array('type' => 'dropdown', 'heading' => __('Tip/Popover trigger', DH_DOMAIN), 'param_name' => 'tooltip_trigger', 'value' => array(__('Hover', DH_DOMAIN) => 'hover', __('Click', DH_DOMAIN) => 'click'), 'dependency' => array('element' => "tooltip", 'value' => array('tooltip', 'popover')), 'description' => __('Choose action to trigger the tooltip.', DH_DOMAIN))), 'dh_carousel' => array(array('type' => 'textfield', 'heading' => __('Carousel Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Enter text which will be used as widget title. Leave blank if no title is needed.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Transition', DH_DOMAIN), 'param_name' => 'fx', 'std' => 'scroll', 'value' => array('Scroll' => 'scroll', 'Directscroll' => 'directscroll', 'Fade' => 'fade', 'Cross fade' => 'crossfade', 'Cover' => 'cover', 'Cover fade' => 'cover-fade', 'Uncover' => 'cover-fade', 'Uncover fade' => 'uncover-fade'), 'description' => __('Indicates which effect to use for the transition.', DH_DOMAIN)), array('param_name' => 'visible', 'heading' => __('The number of visible items', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '1', 'data_max' => '6'), array('param_name' => 'scroll_speed', 'heading' => __('Transition Scroll Speed (ms)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '700', 'data_min' => '100', 'data_step' => '100', 'data_max' => '3000'), array("type" => "dropdown", "holder" => $this->param_holder, "heading" => __("Easing", DH_DOMAIN), "param_name" => "easing", "value" => array('linear' => 'linear', 'swing' => 'swing', 'easeInQuad' => 'easeInQuad', 'easeOutQuad' => 'easeOutQuad', 'easeInOutQuad' => 'easeInOutQuad', 'easeInCubic' => 'easeInCubic', 'easeOutCubic' => 'easeOutCubic', 'easeInOutCubic' => 'easeInOutCubic', 'easeInQuart' => 'easeInQuart', 'easeOutQuart' => 'easeOutQuart', 'easeInOutQuart' => 'easeInOutQuart', 'easeInQuint' => 'easeInQuint', 'easeOutQuint' => 'easeOutQuint', 'easeInOutQuint' => 'easeInOutQuint', 'easeInExpo' => 'easeInExpo', 'easeOutExpo' => 'easeOutExpo', 'easeInOutExpo' => 'easeInOutExpo', 'easeInSine' => 'easeInSine', 'easeOutSine' => 'easeOutSine', 'easeInOutSine' => 'easeInOutSine', 'easeInCirc' => 'easeInCirc', 'easeOutCirc' => 'easeOutCirc', 'easeInOutCirc' => 'easeInOutCirc', 'easeInElastic' => 'easeInElastic', 'easeOutElastic' => 'easeOutElastic', 'easeInOutElastic' => 'easeInOutElastic', 'easeInBack' => 'easeInBack', 'easeOutBack' => 'easeOutBack', 'easeInOutBack' => 'easeInOutBack', 'easeInBounce' => 'easeInBounce', 'easeOutBounce' => 'easeOutBounce', 'easeInOutBounce' => 'easeInOutBounce'), "description" => __("Select the animation easing you would like for slide transitions <a href=\"http://jqueryui.com/resources/demos/effect/easing.html\" target=\"_blank\"> Click here </a> to see examples of these.", DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Autoplay ?', DH_DOMAIN), 'param_name' => 'auto_play', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Slide Pagination ?', DH_DOMAIN), 'param_name' => 'hide_pagination', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'checkbox', 'heading' => __('Hide Previous/Next Control ?', DH_DOMAIN), 'param_name' => 'hide_control', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'))), 'dh_carousel_item' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Item title.', DH_DOMAIN))), 'dh_testimonial' => array(array('type' => 'checkbox', 'heading' => __('Background Transparent?', DH_DOMAIN), 'param_name' => 'background_transparent', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'colorpicker', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'description' => __('Custom color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Transition', DH_DOMAIN), 'param_name' => 'fx', 'std' => 'scroll', 'value' => array('Scroll' => 'scroll', 'Directscroll' => 'directscroll', 'Fade' => 'fade', 'Cross fade' => 'crossfade', 'Cover' => 'cover', 'Cover fade' => 'cover-fade', 'Uncover' => 'cover-fade', 'Uncover fade' => 'uncover-fade'), 'description' => __('Indicates which effect to use for the transition.', DH_DOMAIN))), 'dh_testimonial_item' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Item title.', DH_DOMAIN)), array('type' => 'textarea_safe', 'holder' => 'div', 'heading' => __('Text', DH_DOMAIN), 'param_name' => 'text', 'value' => __('I am testimonial. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Author', DH_DOMAIN), 'param_name' => 'author', 'description' => __('Testimonial author.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Company', DH_DOMAIN), 'param_name' => 'company', 'description' => __('Author company.', DH_DOMAIN)), array('type' => 'attach_image', 'heading' => __('Avatar', DH_DOMAIN), 'param_name' => 'avatar', 'description' => __('Avatar author.', DH_DOMAIN))), 'dh_client' => array(array('type' => 'attach_images', 'heading' => __('Images', DH_DOMAIN), 'param_name' => 'images', 'value' => '', 'description' => __('Select images from media library.', DH_DOMAIN)), array('type' => 'exploded_textarea', 'heading' => __('Custom links', DH_DOMAIN), 'param_name' => 'custom_links', 'description' => __('Enter links for each image here. Divide links with linebreaks (Enter) . ', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Display type', DH_DOMAIN), 'param_name' => 'display', 'value' => array(__('Slider', DH_DOMAIN) => 'slider', __('Image grid', DH_DOMAIN) => 'grid'), 'description' => __('Select display type.', DH_DOMAIN)), array('param_name' => 'visible', 'heading' => __('The number of visible items on a slide or on a grid row', DH_DOMAIN), 'type' => 'dropdown', 'holder' => $this->param_holder, 'value' => array(2, 3, 4, 6)), array('type' => 'dropdown', 'heading' => __('Image style', DH_DOMAIN), 'param_name' => 'style', 'value' => array(__('Normal', DH_DOMAIN) => 'normal', __('Grayscale and Color on hover', DH_DOMAIN) => 'grayscale'), 'description' => __('Select image style.', DH_DOMAIN))), 'dh_counter' => array(array('param_name' => 'speed', 'heading' => __('Counter Speed', DH_DOMAIN), 'type' => 'textfield', 'holder' => $this->param_holder, 'value' => '2000'), array('type' => 'textfield', 'heading' => __('Number', DH_DOMAIN), 'param_name' => 'number', 'description' => __('Enter the number.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Format number displayed ?', DH_DOMAIN), 'dependency' => array('element' => "number", 'not_empty' => true), 'param_name' => 'format', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'textfield', 'heading' => __('Thousand Separator', DH_DOMAIN), 'param_name' => 'thousand_sep', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => ',', 'description' => __('This sets the thousand separator of displayed number.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Decimal Separator', DH_DOMAIN), 'param_name' => 'decimal_sep', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => '.', 'description' => __('This sets the decimal separator of displayed number.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Number of Decimals', DH_DOMAIN), 'param_name' => 'num_decimals', 'dependency' => array('element' => "format", 'not_empty' => true), 'value' => 0, 'description' => __('This sets the number of decimal points shown in displayed number.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Number Color', DH_DOMAIN), 'param_name' => 'number_color', 'dependency' => array('element' => "number", 'not_empty' => true), 'description' => __('Select color for number.', DH_DOMAIN)), array('param_name' => 'number_font_size', 'heading' => __('Custom Number Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '40', 'data_min' => '10', 'dependency' => array('element' => "number", 'not_empty' => true), 'data_max' => '120'), array('type' => 'textfield', 'heading' => __('Units', DH_DOMAIN), 'param_name' => 'units', 'description' => __('Enter measurement units (if needed) Eg. %, px, points, etc. Graph value and unit will be appended to the graph title.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Units Color', DH_DOMAIN), 'param_name' => 'units_color', 'dependency' => array('element' => "units", 'not_empty' => true), 'description' => __('Select color for number.', DH_DOMAIN)), array('param_name' => 'units_font_size', 'heading' => __('Custom Units Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '10', 'dependency' => array('element' => "units", 'not_empty' => true), 'data_max' => '120'), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Icon Color', DH_DOMAIN), 'param_name' => 'icon_color', 'dependency' => array('element' => "icon", 'not_empty' => true), 'description' => __('Select color for icon.', DH_DOMAIN)), array('param_name' => 'icon_font_size', 'heading' => __('Custom Icon Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '40', 'data_min' => '10', 'dependency' => array('element' => "icon", 'not_empty' => true), 'data_max' => '120'), array('type' => 'dropdown', 'heading' => __('Icon Postiton', DH_DOMAIN), 'param_name' => 'icon_position', 'dependency' => array('element' => "icon", 'not_empty' => true), 'value' => array(__('Top', DH_DOMAIN) => 'top', __('Left', DH_DOMAIN) => 'left')), array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'text', 'admin_label' => true), array('type' => 'colorpicker', 'heading' => __('Custom Title Color', DH_DOMAIN), 'param_name' => 'text_color', 'dependency' => array('element' => "text", 'not_empty' => true), 'description' => __('Select color for title.', DH_DOMAIN)), array('param_name' => 'text_font_size', 'heading' => __('Custom Title Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '18', 'data_min' => '10', 'dependency' => array('element' => "text", 'not_empty' => true), 'data_max' => '120')), 'vc_gmaps' => array(array('type' => 'textfield', 'heading' => __('Map Center Point Latitude', DH_DOMAIN), 'param_name' => 'center_latitude', 'description' => __('Please enter the latitude for the maps center point.', DH_DOMAIN), 'value' => '40.71260803688496'), array('type' => 'textfield', 'heading' => __('Map Center Point Longitude', DH_DOMAIN), 'param_name' => 'center_longitude', 'description' => __('Please enter the latitude for the maps center point.', DH_DOMAIN), 'value' => '-74.00566577911377'), array('param_name' => 'zoom', 'heading' => __('Map zoom', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '16', 'data_min' => '1', 'data_max' => '20'), array('type' => 'checkbox', 'heading' => __('Eanble Zoom In/Out ?', DH_DOMAIN), 'param_name' => 'eanble_zoom', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'attach_image', 'heading' => __('Marker Image', DH_DOMAIN), 'param_name' => 'images', 'value' => '', 'description' => __('Select images from media library.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Greyscale Color ?', DH_DOMAIN), 'param_name' => 'greyscale_color', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes')), array('type' => 'exploded_textarea', 'heading' => __('Map Marker Locations', DH_DOMAIN), 'param_name' => 'locations', 'description' => __('Input locations latitude|longitude|description here. Divide values with line breaks (Enter). Example: -25.28346|133.7660|Our Location', DH_DOMAIN), 'value' => "40.711910818933525|-74.00399208068848|Come visit us at our location!,40.711325280360334|-74.01094436645508|Come visit us at our location 2 !")), 'dh_iconbox' => array(array('type' => 'checkbox', 'heading' => __('Box Background ?', DH_DOMAIN), 'param_name' => 'box_bg', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Use box style with background color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', 'admin_label' => true, "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(false), 'description' => __('Select a icon.', DH_DOMAIN)), array('type' => 'href', 'heading' => __('Icon Link', DH_DOMAIN), 'param_name' => 'link', 'description' => __('Enter URL if you want this icon to have a link.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Link Type', DH_DOMAIN), 'param_name' => 'link_type', 'std' => 'text_link', 'value' => array(__('With a Text Link', DH_DOMAIN) => 'text_link', __('For This Icon link', DH_DOMAIN) => 'icon_link'), 'dependency' => array('element' => 'link', 'not_empty' => true)), array('type' => 'textfield', 'heading' => __('Link Text', DH_DOMAIN), 'param_name' => 'link_text', 'value' => 'See More', 'dependency' => array('element' => 'link_type', 'value' => array('text_link'))), array('type' => 'dropdown', 'heading' => __('Link Target', DH_DOMAIN), 'param_name' => 'link_target', 'value' => array(__('Same window', DH_DOMAIN) => '_self', __('New window', DH_DOMAIN) => "_blank"), 'dependency' => array('element' => 'link', 'not_empty' => true)), array('type' => 'textfield', 'holder' => $this->param_holder, 'heading' => __('Title', DH_DOMAIN), 'admin_label' => true, 'param_name' => 'title'), array('type' => 'colorpicker', 'heading' => __('Custom Title Color', DH_DOMAIN), 'param_name' => 'title_color', 'description' => __('Custom icon color.', DH_DOMAIN)), array('type' => 'textarea', 'holder' => $this->param_holder, 'heading' => __('Text', DH_DOMAIN), 'param_name' => 'text'), array('type' => 'colorpicker', 'heading' => __('Custom Text Color', DH_DOMAIN), 'param_name' => 'text_color', 'description' => __('Custom Text color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon Postiton', DH_DOMAIN), 'param_name' => 'icon_position', 'dependency' => array('element' => "icon", 'not_empty' => true), 'value' => array(__('Top', DH_DOMAIN) => 'top', __('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right')), array('type' => 'checkbox', 'heading' => __('Icon circle ?', DH_DOMAIN), 'param_name' => 'is_circle', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Create icon circle.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon Size', DH_DOMAIN), 'param_name' => 'size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm', __('Custom size', DH_DOMAIN) => 'custom'), 'description' => __('Icon size.', DH_DOMAIN)), array('param_name' => 'icon_size', 'heading' => __('Icon Box Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '50', 'data_min' => '1', 'data_max' => '500', 'dependency' => array('element' => "size", 'value' => array('custom')), 'description' => __('Custom box icon size.', DH_DOMAIN)), array('param_name' => 'icon_font_size', 'heading' => __('Icon Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '1', 'data_max' => '100', 'dependency' => array('element' => "size", 'value' => array('custom')), 'description' => __('Custom font icon size.', DH_DOMAIN)), array('param_name' => 'icon_border_width', 'heading' => __('Icon Border Width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '1', 'data_max' => '20', 'dependency' => array('element' => "size", 'value' => array('custom')), 'description' => __('Custom icon border width.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Icon color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Icon Color', DH_DOMAIN), 'param_name' => 'icon_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom icon color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Icon Border Color', DH_DOMAIN), 'param_name' => 'icon_border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom icon border color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Icon Background Color', DH_DOMAIN), 'param_name' => 'icon_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom icon background color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Hover Icon Color', DH_DOMAIN), 'param_name' => 'hover_icon_hover_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom hover icon color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Hover Icon Border Color', DH_DOMAIN), 'param_name' => 'hover_icon_border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom hover icon border color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Hover Icon Background Color', DH_DOMAIN), 'param_name' => 'hover_icon_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom hover icon background color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Hover effect', DH_DOMAIN), 'param_name' => 'effect', "param_holder_class" => 'dh-chosen-select', 'dependency' => array('element' => "color", 'value' => array('default', 'primary', 'success', 'info', 'warning', 'danger')), 'value' => array(__('None', DH_DOMAIN) => '', __('Effect 1', DH_DOMAIN) => 'effect-1', __('Effect 2', DH_DOMAIN) => 'effect-2', __('Effect 3', DH_DOMAIN) => 'effect-3', __('Effect 4', DH_DOMAIN) => 'effect-4'), 'description' => __('Hover icon effect.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Disable Appear Animation', DH_DOMAIN), 'param_name' => 'disable_appear_animate', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Disable animation when appear', DH_DOMAIN))), 'dh_lists' => array(array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', 'admin_label' => true, "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(true), 'description' => __('Select a icon.', DH_DOMAIN)), array('type' => 'exploded_textarea', 'heading' => __('List Items', DH_DOMAIN), 'param_name' => 'items', 'description' => __('Input list item in here. Divide values with linebreaks (Enter).', DH_DOMAIN), 'value' => "Lorem ipsum dolor sit amet,Consectetur adipiscing elit"), array('type' => 'colorpicker', 'heading' => __('Custom Icon Color', DH_DOMAIN), 'param_name' => 'icon_color', 'description' => __('Custom icon color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Custom Item Color', DH_DOMAIN), 'param_name' => 'item_color', 'description' => __('Custom item color.', DH_DOMAIN)), array('param_name' => 'text_size', 'heading' => __('Text font size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '14', 'data_min' => '1', 'data_max' => '100', 'description' => __('Custom item font size.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Disable Animation', DH_DOMAIN), 'param_name' => 'disable_animation', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Disable animation when appear', DH_DOMAIN))), 'dh_modal' => array(array('type' => 'textfield', 'heading' => __('Modal title', DH_DOMAIN), 'param_name' => 'title', 'value' => 'My Modal', 'description' => __('Enter text which will be used as modal title. Leave blank if no title is needed.', DH_DOMAIN)), array('type' => 'textarea_html', 'holder' => 'div', 'heading' => __('Modal Content', DH_DOMAIN), 'param_name' => 'content', 'value' => __('<p>I am modal. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Modal Size', DH_DOMAIN), 'param_name' => 'modal_size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm'), 'description' => __('Button size.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Text on button', DH_DOMAIN), 'param_name' => 'btn_title', 'admin_label' => true, 'value' => __('Open Modal', DH_DOMAIN), 'description' => __('Text on the button.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Button Text Uppercase', DH_DOMAIN), 'param_name' => 'btn_text_uppercase', 'value' => array(__('Yes,please', DH_DOMAIN) => 'yes'), 'description' => __('Text transform to uppercase', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Style', DH_DOMAIN), "param_holder_class" => 'dh-btn-style-select', 'param_name' => 'btn_style', 'value' => self::$button_styles, 'description' => __('Button style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Size', DH_DOMAIN), 'param_name' => 'btn_size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm', __('Extra small', DH_DOMAIN) => 'xs', __('Custom size', DH_DOMAIN) => 'custom'), 'description' => __('Button size.', DH_DOMAIN)), array('param_name' => 'btn_font_size', 'heading' => __('Button Font Size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '14', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '50'), array('param_name' => 'btn_border_width', 'heading' => __('Button Border Width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '20'), array('param_name' => 'btn_padding_top', 'heading' => __('Button Padding Top (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_right', 'heading' => __('Button Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_bottom', 'heading' => __('Button Padding Bottom (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '6', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('param_name' => 'btn_padding_left', 'heading' => __('Button Padding Right (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '30', 'data_min' => '0', 'dependency' => array('element' => "btn_size", 'value' => array('custom')), 'data_max' => '100'), array('type' => 'dropdown', 'heading' => __('Button Color', DH_DOMAIN), 'param_name' => 'btn_color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Outlined White', DH_DOMAIN) => 'white', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Button color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Background Color', DH_DOMAIN), 'param_name' => 'btn_background_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select background color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Border Color', DH_DOMAIN), 'param_name' => 'btn_border_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select border color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Button Text Color', DH_DOMAIN), 'param_name' => 'btn_text_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select text color for button.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Background Color', DH_DOMAIN), 'param_name' => 'btn_hover_background_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select background color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Border Color', DH_DOMAIN), 'param_name' => 'btn_hover_border_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select border color for button when hover.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Hover Text Color', DH_DOMAIN), 'param_name' => 'btn_hover_text_color', 'dependency' => array('element' => "btn_color", 'value' => array('custom')), 'description' => __('Select text color for button when hover.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'btn_icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Icon Postiton', DH_DOMAIN), 'param_name' => 'btn_icon_position', 'dependency' => array('element' => "btn_icon", 'not_empty' => true), 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right')), array('type' => 'dropdown_group', 'heading' => __('Button Effect', DH_DOMAIN), 'param_name' => 'btn_effect', "param_holder_class" => 'dh-btn-effect-select', 'value' => '', 'dependency' => array('element' => "btn_color", 'value' => array('primary', 'success', 'info', 'warning', 'danger', 'white')), 'optgroup' => array(__('None', DH_DOMAIN) => '', __('Border Transitions', DH_DOMAIN) => array(__('Border Fade', DH_DOMAIN) => 'border_fade', __('Border Hollow', DH_DOMAIN) => 'border_hollow', __('Border Trim', DH_DOMAIN) => 'border_trim', __('Border Outline Outward', DH_DOMAIN) => 'border_outline_outward', __('Border Outline Inward', DH_DOMAIN) => 'border_outline_inward', __('Border Round Corners', DH_DOMAIN) => 'border_round_corners'), __('Background Transitions', DH_DOMAIN) => array(__('Bg Darken Background', DH_DOMAIN) => 'bg_darken', __('Bg Fade In', DH_DOMAIN) => 'bg_fade_in', __('Bg Fade Out', DH_DOMAIN) => 'bg_fade_out', __('Bg From Top', DH_DOMAIN) => 'bg_top', __('Bg From Right', DH_DOMAIN) => 'bg_right', __('Bg From Center', DH_DOMAIN) => 'bg_center', __('Bg Skew Center', DH_DOMAIN) => 'bg_skew_center', __('Bg Form Horizontal Center', DH_DOMAIN) => 'bg_horizontal_center'), __('For 3D button', DH_DOMAIN) => array(__('Click state', DH_DOMAIN) => 'click_state'), __('For Icon Buton', DH_DOMAIN) => array(__('Icon Slide In', DH_DOMAIN) => 'icon_slide_in')), 'description' => __('Effect when hover button', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Button Full Width', DH_DOMAIN), 'param_name' => 'block_button', 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'description' => __('Button full width of a parent', DH_DOMAIN))), 'vc_pie' => array(array('type' => 'colorpicker', 'heading' => __('Title Color', DH_DOMAIN), 'param_name' => 'title_color', 'description' => __('Select title color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Style', DH_DOMAIN), 'param_name' => 'style', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Outlined', DH_DOMAIN) => 'outlined')), array('param_name' => 'box_size', 'heading' => __('Box size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '100', 'data_min' => '0', 'data_max' => '500'), array('param_name' => 'text_size', 'heading' => __('Label font size (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '18', 'data_min' => '0', 'data_max' => '300'), array('param_name' => 'border_size', 'heading' => __('Pie width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '0', 'data_max' => '300'), array('type' => 'dropdown', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Pie color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Background Color', DH_DOMAIN), 'param_name' => 'background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select background color for pie chart.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Border Color', DH_DOMAIN), 'param_name' => 'border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select border color for pie chart.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Label Color', DH_DOMAIN), 'param_name' => 'text_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Select text color for pie chart.', DH_DOMAIN))), 'dh_pricing_table' => array(), 'dh_pricing_table_item' => array(array("type" => "checkbox", "heading" => __("Recommend", DH_DOMAIN), "param_name" => "recommend", "value" => array(__('Yes, please', DH_DOMAIN) => 'yes')), array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Item title.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Price', DH_DOMAIN), 'param_name' => 'price'), array('type' => 'textfield', 'heading' => __('Currency Symbol', DH_DOMAIN), 'param_name' => 'currency', 'description' => __('Enter the currency symbol that will display for your price', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Units', DH_DOMAIN), 'param_name' => 'units', 'description' => __('Enter measurement units (if needed) Eg. /month /year etc.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Title Background Color', DH_DOMAIN), 'param_name' => 'title_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom background color for title.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Title Color', DH_DOMAIN), 'param_name' => 'title_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom color for title.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Price Background Color', DH_DOMAIN), 'param_name' => 'price_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom background color for price.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Price Color', DH_DOMAIN), 'param_name' => 'price_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom color for price.', DH_DOMAIN)), array('type' => 'pricing_table_feature', 'heading' => __('Features', DH_DOMAIN), 'param_name' => 'features'), array('type' => 'dropdown', 'heading' => __('Features Alignment', DH_DOMAIN), 'param_name' => 'features_alignment', 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Center', DH_DOMAIN) => 'center', __('Right', DH_DOMAIN) => 'right')), array('type' => 'href', 'heading' => __('URL (Link)', DH_DOMAIN), 'param_name' => 'href', 'description' => __('Button link.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Target', DH_DOMAIN), 'param_name' => 'target', 'value' => array(__('Same window', DH_DOMAIN) => '_self', __('New window', DH_DOMAIN) => "_blank"), 'dependency' => array('element' => 'href', 'not_empty' => true, 'callback' => 'vc_button_param_target_callback')), array('type' => 'textfield', 'heading' => __('Text on the button', DH_DOMAIN), 'param_name' => 'btn_title', 'value' => __('Click', DH_DOMAIN), 'description' => __('Text on the button.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Style', DH_DOMAIN), "param_holder_class" => 'dh-btn-style-select', 'param_name' => 'btn_style', 'value' => self::$button_styles, 'description' => __('Button style.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Size', DH_DOMAIN), 'param_name' => 'btn_size', 'std' => 'default', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Large', DH_DOMAIN) => 'lg', __('Small', DH_DOMAIN) => 'sm', __('Extra small', DH_DOMAIN) => 'xs', __('Custom size', DH_DOMAIN) => 'custom'), 'description' => __('Button size.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Button Icon', DH_DOMAIN), 'param_name' => 'btn_icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Button icon.', DH_DOMAIN)), array('type' => 'dropdown_group', 'heading' => __('Button Effect', DH_DOMAIN), 'param_name' => 'btn_effect', "param_holder_class" => 'dh-btn-effect-select', 'value' => '', 'dependency' => array('element' => "color", 'value' => array('primary', 'success', 'info', 'warning', 'danger')), 'optgroup' => array(__('None', DH_DOMAIN) => '', __('Border Transitions', DH_DOMAIN) => array(__('Border Fade', DH_DOMAIN) => 'border_fade', __('Border Hollow', DH_DOMAIN) => 'border_hollow', __('Border Trim', DH_DOMAIN) => 'border_trim', __('Border Outline Outward', DH_DOMAIN) => 'border_outline_outward', __('Border Outline Inward', DH_DOMAIN) => 'border_outline_inward', __('Border Round Corners', DH_DOMAIN) => 'border_round_corners'), __('Background Transitions', DH_DOMAIN) => array(__('Bg Darken Background', DH_DOMAIN) => 'bg_darken', __('Bg Fade In', DH_DOMAIN) => 'bg_fade_in', __('Bg Fade Out', DH_DOMAIN) => 'bg_fade_out', __('Bg From Top', DH_DOMAIN) => 'bg_top', __('Bg From Right', DH_DOMAIN) => 'bg_right', __('Bg From Center', DH_DOMAIN) => 'bg_center', __('Bg Skew Center', DH_DOMAIN) => 'bg_skew_center', __('Bg Form Horizontal Center', DH_DOMAIN) => 'bg_horizontal_center'), __('For 3D button', DH_DOMAIN) => array(__('Click state', DH_DOMAIN) => 'click_state'), __('For Icon Buton', DH_DOMAIN) => array(__('Icon Slide In', DH_DOMAIN) => 'icon_slide_in')), 'description' => __('Effect when hover button', DH_DOMAIN))), 'vc_video' => array(array('type' => 'dropdown', 'heading' => __('Type', DH_DOMAIN), 'param_name' => 'type', 'value' => array(__('Link', DH_DOMAIN) => 'link', __('Self Hosted', DH_DOMAIN) => 'hosted'), 'admin_label' => true, 'description' => __('Pie color.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Video link', DH_DOMAIN), 'param_name' => 'link', 'dependency' => array('element' => "type", 'value' => array('link')), 'description' => sprintf(__('Link to the video. More about supported formats at %s.', DH_DOMAIN), '<a href="http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F" target="_blank">WordPress codex page</a>')), array('type' => 'textfield', 'heading' => __('MP4 File URL', DH_DOMAIN), 'param_name' => 'mp4', 'dependency' => array('element' => "type", 'value' => array('hosted')), 'description' => __('Please enter in the URL to the .m4v video file.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('OGV/OGG File URL', DH_DOMAIN), 'param_name' => 'ogv', 'dependency' => array('element' => "type", 'value' => array('hosted')), 'description' => __('Please enter in the URL to the .ogv or .ogg video file.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('WEBM File URL', DH_DOMAIN), 'param_name' => 'webm', 'dependency' => array('element' => "type", 'value' => array('hosted')), 'description' => __('Please enter in the URL to the .webm video file.', DH_DOMAIN)), array('type' => 'attach_image', 'heading' => __('Preview Image', DH_DOMAIN), 'param_name' => 'preview', 'dependency' => array('element' => "type", 'value' => array('hosted')), 'description' => __('Image should be at least 680px wide.', DH_DOMAIN))), 'vc_tabs' => array(array('type' => 'dropdown', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Tab color.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Tab Control', DH_DOMAIN), 'param_name' => 'control_position', 'value' => array(__('Top', DH_DOMAIN) => 'top', __('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right', __('Below', DH_DOMAIN) => 'below'), 'description' => __('Tab Control.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Control center', DH_DOMAIN), 'param_name' => 'control_center', 'dependency' => array('element' => "control_position", 'value' => array('top', 'below')), 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'description' => __('Set tabs control horizontal center.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Control full Width', DH_DOMAIN), 'param_name' => 'control_fullwith', 'dependency' => array('element' => "control_position", 'value' => array('top', 'below')), 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes'), 'description' => __('Set full Width tabs control.', DH_DOMAIN))), 'vc_tab' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Tab title.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(), 'description' => __('Title icon.', DH_DOMAIN))), 'dh_timeline' => array(array('type' => 'dropdown', 'param_name' => 'type', 'heading' => __('Badge Type', DH_DOMAIN), 'holder' => $this->param_holder, 'std' => 'none', 'value' => array(__('None', DH_DOMAIN) => 'none', __('Icon', DH_DOMAIN) => 'icon', __('Image', DH_DOMAIN) => 'image', __('Text', DH_DOMAIN) => 'text')), array('type' => 'dropdown', 'heading' => __('Columns', DH_DOMAIN), 'param_name' => 'columns', 'value' => array(__('One', DH_DOMAIN) => 'one', __('Two', DH_DOMAIN) => 'two'), 'description' => __('Select timeline columns.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Columns Align', DH_DOMAIN), 'param_name' => 'columns_align', 'dependency' => array('element' => "columns", 'value' => array('one')), 'value' => array(__('Left', DH_DOMAIN) => 'left', __('Right', DH_DOMAIN) => 'right'), 'description' => __('Select timeline columns align.', DH_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Stype', DH_DOMAIN), 'param_name' => 'stype', 'dependency' => array('element' => "type", 'value' => array('icon', 'image', 'text')), 'value' => array(__('Solid', DH_DOMAIN) => 'solid', __('Dotted', DH_DOMAIN) => 'dotted')), array('type' => 'dropdown', 'heading' => __('Color', DH_DOMAIN), 'param_name' => 'color', 'value' => array(__('Default', DH_DOMAIN) => 'default', __('Primary', DH_DOMAIN) => 'primary', __('Success', DH_DOMAIN) => 'success', __('Info', DH_DOMAIN) => 'info', __('Warning', DH_DOMAIN) => 'warning', __('Danger', DH_DOMAIN) => 'danger', __('Custom', DH_DOMAIN) => 'custom'), 'description' => __('Timeline color.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Line Color', DH_DOMAIN), 'param_name' => 'line_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom color for line.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Badge Color', DH_DOMAIN), 'param_name' => 'badge_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom color for badge.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Badge Border Color', DH_DOMAIN), 'param_name' => 'badge_border_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom border color for badge.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Badge Background Color', DH_DOMAIN), 'param_name' => 'badge_background_color', 'dependency' => array('element' => "color", 'value' => array('custom')), 'description' => __('Custom background color for badge.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Content Color', DH_DOMAIN), 'dependency' => array('element' => "color", 'value' => array('custom')), 'param_name' => 'content_color', 'description' => __('Custom color for content.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Content Border Color', DH_DOMAIN), 'dependency' => array('element' => "color", 'value' => array('custom')), 'param_name' => 'content_border_color', 'description' => __('Custom border color for content.', DH_DOMAIN)), array('type' => 'colorpicker', 'heading' => __('Content Background Color', DH_DOMAIN), 'dependency' => array('element' => "color", 'value' => array('custom')), 'param_name' => 'content_background_color', 'description' => __('Custom background color for content.', DH_DOMAIN))), 'dh_timeline_item' => array(array('type' => 'textfield', 'heading' => __('Title', DH_DOMAIN), 'param_name' => 'title', 'description' => __('Item title.', DH_DOMAIN)), array('type' => 'dropdown', 'param_name' => 'badge_type', "param_holder_class" => 'timeline-item-badge-type-select', 'heading' => __('Badge Type', DH_DOMAIN), 'holder' => $this->param_holder, 'value' => array(__('None', DH_DOMAIN) => 'none', __('Icon', DH_DOMAIN) => 'icon', __('Image', DH_DOMAIN) => 'image', __('Text', DH_DOMAIN) => 'text')), array('type' => 'dropdown', 'heading' => __('Icon', DH_DOMAIN), 'param_name' => 'badge_icon', "param_holder_class" => 'dh-font-awesome-select', "value" => dh_font_awesome_options(false), 'dependency' => array('element' => "badge_type", 'value' => array('icon')), 'description' => __('Select a icon.', DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Badge Text', DH_DOMAIN), 'param_name' => 'badge_text', 'dependency' => array('element' => "badge_type", 'value' => array('text'))), array('type' => 'attach_image', 'heading' => __('Badge Image', DH_DOMAIN), 'param_name' => 'badge_image', 'dependency' => array('element' => "badge_type", 'value' => array('image')), "description" => __("Select image from media library.", DH_DOMAIN)), array('type' => 'textarea_html', 'holder' => 'div', 'heading' => __('Content', DH_DOMAIN), 'param_name' => 'content', 'value' => __('<p>I am timeline. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p>', DH_DOMAIN))), 'dh_member' => array(array('type' => 'dropdown', 'param_name' => 'style', 'heading' => __('Style', DH_DOMAIN), 'value' => array(__('Meta below', DH_DOMAIN) => 'below', __('Meta overlay', DH_DOMAIN) => 'overlay', __('Meta right', DH_DOMAIN) => 'right'), "description" => __("Team Member Stlye.", DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Name', DH_DOMAIN), 'param_name' => 'name', 'admin_label' => true, "description" => __("Enter the name of team member.", DH_DOMAIN)), array('type' => 'textfield', 'heading' => __('Job Position', DH_DOMAIN), 'param_name' => 'job', "description" => __("Enter the job position for team member.", DH_DOMAIN)), array('type' => 'attach_image', 'heading' => __('Avatar', DH_DOMAIN), 'param_name' => 'avatar', "description" => __("Select avatar from media library.", DH_DOMAIN)), array('type' => 'textarea', 'heading' => __('Description', DH_DOMAIN), 'param_name' => 'description', "description" => __("Enter the description for team member.", DH_DOMAIN)), array('type' => 'href', 'heading' => __('Facebook URL', DH_DOMAIN), 'param_name' => 'facebook'), array('type' => 'href', 'heading' => __('Twitter URL', DH_DOMAIN), 'param_name' => 'twitter'), array('type' => 'href', 'heading' => __('Google+ URL', DH_DOMAIN), 'param_name' => 'google'), array('type' => 'href', 'heading' => __('LinkedIn URL', DH_DOMAIN), 'param_name' => 'linkedin')), 'vc_single_image' => array(array('type' => 'dropdown', 'heading' => __('Image style', DH_DOMAIN), 'param_name' => 'style', 'value' => array('Default' => 'default', 'Rounded' => 'rounded', 'Border' => 'border', 'Outline' => 'outline', 'Shadow' => 'shadow', 'Bordered shadow' => 'shadow-border', 'Circle' => 'circle', 'Circle Border' => 'border-circle', 'Circle Outline' => 'outline-circle', 'Circle Shadow' => 'shadow-circle', 'Circle Border Shadow' => 'shadow-border-circle')), array('param_name' => 'border_size', 'heading' => __('Border width (px)', DH_DOMAIN), 'type' => 'ui_slider', 'holder' => $this->param_holder, 'value' => '1', 'data_min' => '0', 'data_max' => '50', 'dependency' => array('element' => 'style', 'value' => array('border', 'border-circle', 'outline', 'outline-circle'))), array('type' => 'colorpicker', 'heading' => __('Border color', DH_DOMAIN), 'param_name' => 'border_color', 'dependency' => array('element' => 'style', 'value' => array('border', 'border-circle', 'outline', 'outline-circle')), 'description' => __('Border color.', DH_DOMAIN)), array('type' => 'checkbox', 'heading' => __('Open image in popup?', DH_DOMAIN), 'param_name' => 'img_link_large', 'description' => __('If selected, image will open in popup.', DH_DOMAIN), 'value' => array(__('Yes, please', DH_DOMAIN) => 'yes')), array('type' => 'href', 'heading' => __('Image link', DH_DOMAIN), 'param_name' => 'link', 'description' => __('Enter URL if you want this image to have a link.', DH_DOMAIN), 'dependency' => array('element' => 'img_link_large', 'is_empty' => true, 'callback' => 'wpb_single_image_img_link_dependency_callback')), array('type' => 'dropdown', 'heading' => __('Link Target', DH_DOMAIN), 'param_name' => 'img_link_target', 'value' => array(__('Same window', DH_DOMAIN) => '_self', __('New window', DH_DOMAIN) => "_blank"), 'dependency' => array('element' => 'link', 'not_empty' => true))), 'vc_custom_heading' => array(array('type' => 'dropdown', 'heading' => __('Inherit Style?', DH_DOMAIN), 'param_name' => 'inherit_style', 'std' => 'yes', 'description' => __('Inherit Style in Theme.', DH_DOMAIN), 'value' => array(__('Yes', DH_DOMAIN) => 'yes', __('No', DH_DOMAIN) => 'no')), array('type' => 'dropdown', 'heading' => __('Heading Type', DH_DOMAIN), 'param_name' => 'heading_type', 'value' => array(__('None', DH_DOMAIN) => '', __('Bold first word', DH_DOMAIN) => 'bold_first_word', __('Typed Effect', DH_DOMAIN) => "typed_effect")), array('type' => 'colorpicker', 'heading' => __('Typed Color', DH_DOMAIN), 'param_name' => 'heading_type_color', 'dependency' => array('element' => "heading_type", 'value' => array('typed_effect')), 'description' => __('Custom Typed word color.', DH_DOMAIN))), 'vc_raw_html' => array(), 'vc_raw_js' => array());
     $shortcode_optional_param = array('vc_row', 'vc_row_inner', 'vc_column', 'vc_column_inner', 'dh_box', 'vc_column_text', 'dh_animation', 'vc_separator', 'vc_empty_space', 'dh_post', 'dh_latestnews', 'dh_portfolio', 'vc_progress_bar', 'vc_accordion', 'vc_message', 'dh_quote', 'dh_slider', 'vc_button', 'vc_cta_button', 'dh_carousel', 'dh_testimonial', 'dh_client', 'dh_counter', 'vc_gmaps', 'dh_iconbox', 'dh_lists', 'dh_modal', 'vc_pie', 'dh_pricing_table', 'vc_video', 'vc_tabs', 'dh_timeline', 'dh_member', 'vc_single_image', 'vc_custom_heading', 'vc_raw_html', 'vc_raw_js');
     foreach ($params as $shortcode => $param) {
         foreach ($param as $attr) {
             vc_add_param($shortcode, $attr);
         }
         if (in_array($shortcode, $shortcode_optional_param)) {
             foreach ((array) $this->_get_optional_param() as $optional_param) {
                 vc_add_param($shortcode, $optional_param);
             }
         }
     }
     return;
 }