function banner_init()
 {
     if (function_exists('vc_map')) {
         $json = ultimate_get_banner2_json();
         vc_map(array("name" => __("Interactive Banner 2", "ultimate_vc"), "base" => "interactive_banner_2", "class" => "vc_interactive_icon", "icon" => "vc_icon_interactive", "category" => "Ultimate VC Addons", "description" => __("Displays the banner image with Information", "ultimate_vc"), "params" => array(array("type" => "textfield", "class" => "", "heading" => __("Title ", "ultimate_vc"), "param_name" => "banner_title", "admin_label" => true, "value" => "", "description" => __("Give a title to this banner", "ultimate_vc")), array("type" => "textarea", "class" => "", "heading" => __("Description", "ultimate_vc"), "param_name" => "banner_desc", "value" => "", "description" => __("Text that comes on mouse hover.", "ultimate_vc")), array("type" => "attach_image", "class" => "", "heading" => __("Banner Image", "ultimate_vc"), "param_name" => "banner_image", "value" => "", "description" => __("Upload the image for this banner", "ultimate_vc")), array("type" => "vc_link", "class" => "", "heading" => __("Link ", "ultimate_vc"), "param_name" => "banner_link", "value" => "", "description" => __("Add link / select existing page to link to this banner", "ultimate_vc")), array("type" => "ult_select2", "class" => "", "heading" => __("Styles ", "ultimate_vc"), "param_name" => "banner_style", "value" => "", "json" => $json, "description" => ""), array("type" => "colorpicker", "class" => "", "heading" => __("Title Background Color", "ultimate_vc"), "param_name" => "banner_title_bg", "value" => "", "description" => "", "dependency" => array("element" => "banner_style", "value" => array('style5'))), array("type" => "textfield", "class" => "", "heading" => __("Extra Class", "ultimate_vc"), "param_name" => "el_class", "value" => "", "description" => __("Add extra class name that will be applied to the icon process, and you can use this class for your customizations.", "ultimate_vc")), array("type" => "ult_param_heading", "heading" => __("Title Settings", "ultimate_vc"), "param_name" => "banner_title_typograpy", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography", "class" => "ult-param-heading", 'edit_field_class' => 'ult-param-heading-wrapper no-top-margin vc_column vc_col-sm-12'), array("type" => "ultimate_google_fonts", "heading" => __("Font Family", "smile"), "param_name" => "banner_title_font_family", "description" => __("Select the font of your choice.", "ultimate_vc") . " " . __("You can", "ultimate_vc") . " <a target='_blank' href='" . admin_url('admin.php?page=ultimate-font-manager') . "'>" . __("add new in the collection here", "ultimate_vc") . "</a>.", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "ultimate_google_fonts_style", "heading" => __("Font Style", "ultimate_vc"), "param_name" => "banner_title_style", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "number", "class" => "", "heading" => __("Font Size", "ultimate_vc"), "param_name" => "banner_title_font_size", "min" => 12, "suffix" => "px", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "ult_param_heading", "heading" => __("Description Settings", "ultimate_vc"), "param_name" => "banner_desc_typograpy", "group" => "Typography", "class" => "ult-param-heading", 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12'), array("type" => "ultimate_google_fonts", "heading" => __("Font Family", "smile"), "param_name" => "banner_desc_font_family", "description" => __("Select the font of your choice.", "ultimate_vc") . " " . __("You can", "ultimate_vc") . " <a target='_blank' href='" . admin_url('admin.php?page=ultimate-font-manager') . "'>" . __("add new in the collection here", "ultimate_vc") . "</a>.", "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "ultimate_google_fonts_style", "heading" => __("Font Style", "ultimate_vc"), "param_name" => "banner_desc_style", "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "number", "class" => "", "heading" => __("Font Size", "ultimate_vc"), "param_name" => "banner_desc_font_size", "min" => 12, "suffix" => "px", "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "colorpicker", "class" => "", "heading" => __("Title Color", "ultimate_vc"), "param_name" => "banner_color_title", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "colorpicker", "class" => "", "heading" => __("Description Color", "ultimate_vc"), "param_name" => "banner_color_desc", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "colorpicker", "class" => "", "heading" => __("Background Color", "ultimate_vc"), "param_name" => "banner_color_bg", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "number", "class" => "", "heading" => __("Image Opacity", "ultimate_vc"), "param_name" => "image_opacity", "value" => 1, "min" => 0.0, "max" => 1.0, "step" => 0.1, "suffix" => "", "description" => __("Enter value between 0.0 to 1 (0 is maximum transparency, while 1 is lowest)", "ultimate_vc"), "group" => "Color Settings"), array("type" => "number", "class" => "", "heading" => __("Image Opacity on Hover", "ultimate_vc"), "param_name" => "image_opacity_on_hover", "value" => 1, "min" => 0.0, "max" => 1.0, "step" => 0.1, "suffix" => "", "description" => __("Enter value between 0.0 to 1 (0 is maximum transparency, while 1 is lowest)", "ultimate_vc"), "group" => "Color Settings"), array("type" => "checkbox", "class" => "", "heading" => __("Responsive Nature", "ultimate_vc"), "param_name" => "enable_responsive", "value" => array("Enable Responsive Behaviour" => "yes"), "description" => __("If the description text is not suiting well on specific screen sizes, you may enable this option - which will hide the description text.", "ultimate_vc"), "group" => "Responsive"), array("type" => "number", "class" => "", "heading" => __("Minimum Screen Size", "ultimate_vc"), "param_name" => "responsive_min", "value" => 768, "min" => 100, "max" => 1000, "suffix" => "px", "dependency" => array("element" => "enable_responsive", "value" => "yes"), "description" => __("Provide the range of screen size where you would like to hide the description text.", "ultimate_vc"), "group" => "Responsive"), array("type" => "number", "class" => "", "heading" => __("Maximum Screen Size", "ultimate_vc"), "param_name" => "responsive_max", "value" => 900, "min" => 100, "max" => 1000, "suffix" => "px", "dependency" => array("element" => "enable_responsive", "value" => "yes"), "description" => __("Provide the range of screen size where you would like to hide the description text.", "ultimate_vc"), "group" => "Responsive"), array("type" => "heading", "sub_heading" => "<span style='display: block;'><a href='http://bsf.io/n8o33' target='_blank'>" . __("Watch Video Tutorial", "ultimate_vc") . " &nbsp; <span class='dashicons dashicons-video-alt3' style='font-size:30px;vertical-align: middle;color: #e52d27;'></span></a></span>", "param_name" => "notification", 'edit_field_class' => 'ult-param-important-wrapper ult-dashicon ult-align-right ult-bold-font ult-blue-font vc_column vc_col-sm-12'))));
     }
 }
 function banner_init()
 {
     if (function_exists('vc_map')) {
         $json = ultimate_get_banner2_json();
         vc_map(array("name" => __("Interactive Banner 2", "smile"), "base" => "interactive_banner_2", "class" => "vc_interactive_icon", "icon" => "vc_icon_interactive", "category" => __("Ultimate VC Addons", "smile"), "description" => __("Displays the banner image with Information", "smile"), "params" => array(array("type" => "textfield", "class" => "", "heading" => __("Title ", "smile"), "param_name" => "banner_title", "admin_label" => true, "value" => "", "description" => __("Give a title to this banner", "smile")), array("type" => "textarea", "class" => "", "heading" => __("Description", "smile"), "param_name" => "banner_desc", "value" => "", "description" => __("Text that comes on mouse hover.", "smile")), array("type" => "attach_image", "class" => "", "heading" => __("Banner Image", "smile"), "param_name" => "banner_image", "value" => "", "description" => __("Upload the image for this banner", "smile")), array("type" => "vc_link", "class" => "", "heading" => __("Link ", "smile"), "param_name" => "banner_link", "value" => "", "description" => __("Add link / select existing page to link to this banner", "smile")), array("type" => "ult_select2", "class" => "", "heading" => __("Styles ", "smile"), "param_name" => "banner_style", "value" => "", "json" => $json, "description" => ""), array("type" => "colorpicker", "class" => "", "heading" => __("Title Background Color", "smile"), "param_name" => "banner_title_bg", "value" => "", "description" => "", "dependency" => array("element" => "banner_style", "value" => array('style5'))), array("type" => "textfield", "class" => "", "heading" => __("Extra Class", "smile"), "param_name" => "el_class", "value" => "", "description" => __("Add extra class name that will be applied to the icon process, and you can use this class for your customizations.", "smile")), array("type" => "text", "heading" => __("<h2>Title Settings</h2>"), "param_name" => "banner_title_typograpy", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "ultimate_google_fonts", "heading" => __("Font Family", "smile"), "param_name" => "banner_title_font_family", "description" => __("Select the font of your choice. You can <a target='_blank' href='" . admin_url('admin.php?page=ultimate-font-manager') . "'>add new in the collection here</a>.", "smile"), "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "ultimate_google_fonts_style", "heading" => __("Font Style", "smile"), "param_name" => "banner_title_style", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "number", "class" => "", "heading" => __("Font Size", "smile"), "param_name" => "banner_title_font_size", "min" => 12, "suffix" => "px", "dependency" => array("element" => "banner_title", "not_empty" => true), "group" => "Typography"), array("type" => "text", "heading" => __("<h2>Description Settings</h2>"), "param_name" => "banner_desc_typograpy", "group" => "Typography"), array("type" => "ultimate_google_fonts", "heading" => __("Font Family", "smile"), "param_name" => "banner_desc_font_family", "description" => __("Select the font of your choice. You can <a target='_blank' href='" . admin_url('admin.php?page=ultimate-font-manager') . "'>add new in the collection here</a>.", "smile"), "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "ultimate_google_fonts_style", "heading" => __("Font Style", "smile"), "param_name" => "banner_desc_style", "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "number", "class" => "", "heading" => __("Font Size", "smile"), "param_name" => "banner_desc_font_size", "min" => 12, "suffix" => "px", "dependency" => array("element" => "banner_desc", "not_empty" => true), "group" => "Typography"), array("type" => "colorpicker", "class" => "", "heading" => __("Title Color", "smile"), "param_name" => "banner_color_title", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "colorpicker", "class" => "", "heading" => __("Description Color", "smile"), "param_name" => "banner_color_desc", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "colorpicker", "class" => "", "heading" => __("Background Color", "smile"), "param_name" => "banner_color_bg", "value" => "", "description" => "", "group" => "Color Settings"), array("type" => "number", "class" => "", "heading" => __("Image Opacity", "smile"), "param_name" => "image_opacity", "value" => 1, "min" => 0.0, "max" => 1.0, "step" => 0.1, "suffix" => "", "description" => __("Enter value between 0.0 to 1 (0 is maximum transparency, while 1 is lowest)", "smile"), "group" => "Color Settings"), array("type" => "number", "class" => "", "heading" => __("Image Opacity on Hover", "smile"), "param_name" => "image_opacity_on_hover", "value" => 1, "min" => 0.0, "max" => 1.0, "step" => 0.1, "suffix" => "", "description" => __("Enter value between 0.0 to 1 (0 is maximum transparency, while 1 is lowest)", "smile"), "group" => "Color Settings"), array("type" => "checkbox", "class" => "", "heading" => __("Responsive Nature", "smile"), "param_name" => "enable_responsive", "value" => array("Enable Responsive Behaviour" => "yes"), "description" => __("If the description text is not suiting well on specific screen sizes, you may enable this option - which will hide the description text.", "smile"), "group" => "Responsive"), array("type" => "number", "class" => "", "heading" => __("Minimum Screen Size", "smile"), "param_name" => "responsive_min", "value" => 768, "min" => 100, "max" => 1000, "suffix" => "px", "dependency" => array("element" => "enable_responsive", "value" => "yes"), "description" => __("Provide the range of screen size where you would like to hide the description text.", "smile"), "group" => "Responsive"), array("type" => "number", "class" => "", "heading" => __("Maximum Screen Size", "smile"), "param_name" => "responsive_max", "value" => 900, "min" => 100, "max" => 1000, "suffix" => "px", "dependency" => array("element" => "enable_responsive", "value" => "yes"), "description" => __("Provide the range of screen size where you would like to hide the description text.", "smile"), "group" => "Responsive"))));
     }
 }