__("Timeline","ultimate_vc"), "base" => "icon_timeline", "class" => "vc_timeline", "icon" => "vc_timeline_icon", "category" => "Ultimate VC Addons", "description" => __("Timeline of old memories and events.","smile"), "as_parent" => array('only' => 'icon_timeline_item,icon_timeline_sep,icon_timeline_feat',), "content_element" => true, "show_settings_on_create" => true, //"is_container" => true, "front_enqueue_css" => preg_replace( '/\s/', '%20', UAVC_URL.'assets/css/advacne_carosal_front.css' ), "params" => array( array( "type" => "dropdown", "class" => "", "heading" => __("Height","ultimate_vc"), "param_name" => "timeline_style", "value" => array( __('Non-optimized (CSS)','ultimate_vc') => 'csstime', __('Optimized with JavaScript','ultimate_vc') => 'jstime', ), "description" => __("How would you like the height of timeline.","smile") ), array( "type" => "dropdown", "class" => "", "heading" => __("Connecter Line Style","ultimate_vc"), "param_name" => "timeline_line_style", "value" => array( __('Dotted','ultimate_vc') => 'dotted', __('Solid','ultimate_vc') => 'solid', __('Dashed','ultimate_vc') => 'dashed', ), "description" => __("Select the style of line that connects timeline items.","ultimate_vc") ), array( "type" => "colorpicker", "class" => "", "heading" => __("Color of Connecter Line:", "ultimate_vc"), "param_name" => "timeline_line_color", "value" => "", "description" => __("Select the color for the line that connects timeline items.", "ultimate_vc"), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Background color for timeline item block / container:", "ultimate_vc"), "param_name" => "time_block_bg_color", "value" => "", "description" => __("Give a background color to the timeline item block.", "ultimate_vc"), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Select font color of items separator:", "ultimate_vc"), "param_name" => "time_sep_color", "value" => "", "description" => __("Select font color of items separator.", "ultimate_vc"), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Select background color for items separator:", "ultimate_vc"), "param_name" => "time_sep_bg_color", "value" => "", "description" => __("Select the background color for item separator.", "ultimate_vc"), ), array( "type" => "dropdown", "class" => "", "heading" => __("Timeline Layout:", "ultimate_vc"), "param_name" => "timeline_layout", "value" => array( __("Full Width","ultimate_vc") => "", //"Auto Width " => "timeline-auto-width", __("Custom Width","ultimate_vc") => "timeline-custom-width", ), "description" => __("Select Layout of Timeline.", "smile"), ), array( "type" => "number", "class" => "", "heading" => __("Custom Width", "ultimate_vc"), "param_name" => "custom_width", "value" => 200, "suffix" => "px", "description" => __("Provide custom width for each block", "ultimate_vc"), "dependency" => Array("element" => "timeline_layout","value" => array("timeline-custom-width")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Hover animation:", "ultimate_vc"), "param_name" => "tl_animation", "value" => array( __("None","ultimate_vc") => "", __("Slide Out","ultimate_vc") => "tl-animation-slide-out", __("Slide Up","ultimate_vc") => "tl-animation-slide-up", __("Slide Down","ultimate_vc") => "tl-animation-slide-down", __("Shadow","ultimate_vc") => "tl-animation-shadow", ), "description" => __("Hover animation can be given to the timeline item blocks.", "ultimate_vc"), ), 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 timeline, and you can use this class for your customizations.", "ultimate_vc"), ), array( "type" => "ult_param_heading", "text" => "".__("Watch Video Tutorial","ultimate_vc")." ", "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', ), array( "type" => "ultimate_spacing", "heading" => " Content Margin ", "param_name" => "timeline_margin", "mode" => "margin", // margin/padding "unit" => "px", // [required] px,em,%,all Default all "positions" => array( // Also set 'defaults' "Top" => "", "Right" => "", "Bottom" => "", "Left" => "", ), 'group' => __( 'Design ', 'ultimate_vc' ), "description" => __("Add spacing from outside to content.", "ultimate_vc"), ), ), "js_view" => 'VcColumnView' )); // Add list item. vc_map( array( "name" => __("Items Separator","ultimate_vc"), "base" => "icon_timeline_sep", "class" => "vc_timeline_sep", "icon" => "vc_timeline_sep_icon", "category" => __('Timeline','ultimate_vc'), "content_element" => true, "as_child" => array('only' => 'icon_timeline'), "is_container" => false, "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("separator Text", "ultimate_vc"), "param_name" => "time_sep_title", "admin_label" => true, "value" => "", "description" => __("Provide the text for this timeline Separator.", "ultimate_vc"), ), array( "type" => "colorpicker", "param_name" => "time_sep_color", "heading" => __("Color","ultimate_vc") ), array( "type" => "dropdown", "class" => "", "heading" => __("Border Style", "ultimate_vc"), "param_name" => "line_style", "value" => array( __("None","ultimate_vc") => "", __("Solid","ultimate_vc")=> "solid", __("Dashed","ultimate_vc") => "dashed", __("Dotted","ultimate_vc") => "dotted", __("Double","ultimate_vc") => "double", __("Inset","ultimate_vc") => "inset", __("Outset","ultimate_vc") => "outset", ), ), array( "type" => "colorpicker", "param_name" => "line_color", "heading" => __("Border color","ultimate_vc"), "dependency" => Array("element" => "line_style", "not_empty" => true), ), array( "type" => "number", "param_name" => "line_width", "heading" => __("Border width","ultimate_vc"), "value" => "1", "suffix" => "px", "dependency" => Array("element" => "line_style", "not_empty" => true), ), array( "type" => "number", "param_name" => "line_radius", "heading" => __("Border radius","ultimate_vc"), "value" => "5", "suffix" => "px", "dependency" => Array("element" => "line_style", "not_empty" => true), ), array( "type" => "ultimate_google_fonts", "param_name" => "seperator_title_font", "heading" => __("Font Family","ultimate_vc"), "value" => "", //"dependency" => Array("element" => "time_sep_title", "not_empty" => true), "group" => "Typography" ), array( "type" => "ultimate_google_fonts_style", "heading" => __("Font Style","ultimate_vc"), "param_name" => "seperator_title_font_style", "value" => "", //"dependency" => Array("element" => "time_sep_title", "not_empty" => true), "group" => "Typography" ), // array( // "type" => "number", // "heading" => __("Font size","ultimate_vc"), // "param_name" => "font_size", // "value" => "", // "suffix" => "px", // "dependency" => Array("element" => "time_sep_title", "not_empty" => true), // "group" => "Typography" // ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Font size", 'ultimate_vc'), "param_name" => "font_size", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Line Height", 'ultimate_vc'), "param_name" => "seperator_line_ht", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), // Customize everything. 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 timeline, and you can use this class for your customizations.", "ultimate_vc"), ), ) ) ); vc_map( array( "name" => __("Timeline Item","ultimate_vc"), "base" => "icon_timeline_item", "class" => "vc_timeline_item", "icon" => "vc_timeline_item_icon", "category" => __('Timeline','ultimate_vc'), "content_element" => true, "as_child" => array('only' => 'icon_timeline'), "is_container" => false, "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Title", "ultimate_vc"), "param_name" => "time_title", "admin_label" => true, "value" => "", "description" => __("Provide the title for this timeline item.", "ultimate_vc"), 'edit_field_class' => 'vc_col-sm-8', ), array( "type" => "dropdown", "heading" => __("Tag","ultimate_vc"), "param_name" => "heading_tag", "value" => array( __("Default","ultimate_vc") => "h3", __("H1","ultimate_vc") => "h1", __("H2","ultimate_vc") => "h2", __("H4","ultimate_vc") => "h4", __("H5","ultimate_vc") => "h5", __("H6","ultimate_vc") => "h6", __("Div","ultimate_vc") => "div", __("p","ultimate_vc") => "p", __("span","ultimate_vc") => "span", ), "description" => __("Default is H3", "ultimate_vc"), 'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4', ), array( "type" => "ult_param_heading", "param_name" => "title_text_typography", "heading" => __("Title settings","ultimate_vc"), "value" => "", "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","ultimate_vc"), "param_name" => "title_font", "value" => "", "group" => "Typography" ), array( "type" => "ultimate_google_fonts_style", "heading" => __("Font Style","ultimate_vc"), "param_name" => "title_font_style", "value" => "", "group" => "Typography" ), // array( // "type" => "number", // "param_name" => "title_font_size", // "heading" => __("Font size","ultimate_vc"), // "value" => "", // "suffix" => "px", // "group" => "Typography" // ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Font size", 'ultimate_vc'), "param_name" => "title_font_size", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Line Height", 'ultimate_vc'), "param_name" => "title_line_height", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "colorpicker", "param_name" => "title_font_color", "heading" => __("Color","ultimate_vc"), "group" => "Typography" ), array( "type" => "textarea_html", "class" => "", "heading" => __("Description", "ultimate_vc"), "param_name" => "content", "admin_label" => true, "value" => "", "edit_field_class" => "ult_hide_editor_fullscreen vc_col-xs-12 vc_column wpb_el_type_textarea_html vc_wrapper-param-type-textarea_html vc_shortcode-param", "description" => __("Provide some description.", "ultimate_vc"), ), array( "type" => "ult_param_heading", "param_name" => "desc_text_typography", "heading" => __("Description settings","ultimate_vc"), "value" => "", "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","ultimate_vc"), "param_name" => "desc_font", "value" => "", "group" => "Typography" ), array( "type" => "ultimate_google_fonts_style", "heading" => __("Font Style","ultimate_vc"), "param_name" => "desc_font_style", "value" => "", "group" => "Typography" ), // array( // "type" => "number", // "param_name" => "desc_font_size", // "heading" => __("Font size","ultimate_vc"), // "value" => "", // "suffix" => "px", // "group" => "Typography" // ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Font size", 'ultimate_vc'), "param_name" => "desc_font_size", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Line Height", 'ultimate_vc'), "param_name" => "desc_line_height", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "colorpicker", "param_name" => "desc_font_color", "heading" => __("Color","ultimate_vc"), "group" => "Typography" ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon to display:", "ultimate_vc"), "param_name" => "icon_type", "value" => array( __("No Icon","ultimate_vc") => 'noicon', __("Font Icon Manager","ultimate_vc") => "selector", __("Custom Image Icon","ultimate_vc") => "custom", ), "description" => __("Use an existing font icon or upload a custom image.", "ultimate_vc") ), array( "type" => "icon_manager", "class" => "", "heading" => __("Select Icon ","ultimate_vc"), "param_name" => "icon", "value" => "", "description" => __("Click and select icon of your choice. If you can't find the one that suits for your purpose","ultimate_vc").", ".__("you can","ultimate_vc")." ".__("add new here","ultimate_vc").".", "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "ult_img_single", "class" => "", "heading" => __("Upload Image Icon:", "ultimate_vc"), "param_name" => "icon_img", "value" => "", "description" => __("Upload the custom image icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("custom")), ), array( "type" => "number", "class" => "", "heading" => __("Image Width", "ultimate_vc"), "param_name" => "img_width", "value" => 48, "min" => 16, "max" => 512, "suffix" => "px", "description" => __("Provide image width", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("custom")), ), array( "type" => "number", "class" => "", "heading" => __("Size of Icon", "ultimate_vc"), "param_name" => "icon_size", "value" => 32, "min" => 12, "max" => 72, "suffix" => "px", "description" => __("How big would you like it?", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Color", "ultimate_vc"), "param_name" => "icon_color", "value" => "#DE5034", "description" => __("Give it a nice paint!", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon Style", "ultimate_vc"), "param_name" => "icon_style", "value" => array( //"Simple" => "none", __("Circle Background","ultimate_vc") => "circle", __("Square Background",'ultimate_vc') => "square", __("Design your own","ultimate_vc") => "advanced", ), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), "description" => __("We have given three quick preset if you are in a hurry. Otherwise, create your own with various options.", "ultimate_vc"), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Background Color", "ultimate_vc"), "param_name" => "icon_color_bg", "value" => "#fff", "description" => __("Select background color for icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon Border Style", "ultimate_vc"), "param_name" => "icon_border_style", "value" => array( __("None","ultimate_vc") => "", __("Solid","ultimate_vc")=> "solid", __("Dashed","ultimate_vc") => "dashed", __("Dotted","ultimate_vc") => "dotted", __("Double","ultimate_vc") => "double", __("Inset","ultimate_vc") => "inset", __("Outset","ultimate_vc") => "outset", ), "description" => __("Select the border style for icon.","ultimate_vc"), "dependency" => Array("element" => "icon_style", "value" => array("advanced")), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Border Color", "ultimate_vc"), "param_name" => "icon_color_border", "value" => "#dbdbdb", "description" => __("Select border color for icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Border Width", "ultimate_vc"), "param_name" => "icon_border_size", "value" => 1, "min" => 1, "max" => 10, "suffix" => "px", "description" => __("Thickness of the border.", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Border Radius", "ultimate_vc"), "param_name" => "icon_border_radius", "value" => 500, "min" => 1, "max" => 500, "suffix" => "px", "description" => __("0 pixel value will create a square border. As you increase the value, the shape convert in circle slowly. (e.g 500 pixels).", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Background Size", "ultimate_vc"), "param_name" => "icon_border_spacing", "value" => 50, "min" => 30, "max" => 500, "suffix" => "px", "description" => __("Spacing from center of the icon till the boundary of border / background", "ultimate_vc"), "dependency" => Array("element" => "icon_style", "value" => array("advanced")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Animation","ultimate_vc"), "param_name" => "icon_animation", "value" => array( __("No Animation","ultimate_vc") => "", __("Swing","ultimate_vc") => "swing", __("Pulse","ultimate_vc") => "pulse", __("Fade In","ultimate_vc") => "fadeIn", __("Fade In Up","ultimate_vc") => "fadeInUp", __("Fade In Down","ultimate_vc") => "fadeInDown", __("Fade In Left","ultimate_vc") => "fadeInLeft", __("Fade In Right","ultimate_vc") => "fadeInRight", __("Fade In Up Long","ultimate_vc") => "fadeInUpBig", __("Fade In Down Long","ultimate_vc") => "fadeInDownBig", __("Fade In Left Long","ultimate_vc") => "fadeInLeftBig", __("Fade In Right Long","ultimate_vc") => "fadeInRightBig", __("Slide In Down","ultimate_vc") => "slideInDown", __("Slide In Left","ultimate_vc") => "slideInLeft", __("Slide In Left","ultimate_vc") => "slideInLeft", __("Bounce In","ultimate_vc") => "bounceIn", __("Bounce In Up","ultimate_vc") => "bounceInUp", __("Bounce In Down","ultimate_vc") => "bounceInDown", __("Bounce In Left","ultimate_vc") => "bounceInLeft", __("Bounce In Right","ultimate_vc") => "bounceInRight", __("Rotate In","ultimate_vc") => "rotateIn", __("Light Speed In","ultimate_vc") => "lightSpeedIn", __("Roll In","ultimate_vc") => "rollIn", ), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), "description" => __("Like CSS3 Animations? We have several options for you!","ultimate_vc") ), /*array( "type" => "dropdown", "class" => "", "heading" => __("Timeline Item Position", "smile"), "param_name" => "time_position", "admin_label" => true, "value" => array( "Auto" =>'auto', "Left" => "left", "Right" => "right", ), "description" => __("Alignment of timeline item with respect to the connecter line.", "smile"), ),*/ array( "type" => "dropdown", "class" => "", "heading" => __("Apply link to:", "ultimate_vc"), "param_name" => "time_link_apply", "value" => array( __("None","ultimate_vc") => "", __("Complete box","ultimate_vc") => "box", __("Box Title","ultimate_vc") => "title", __("Display Read More","ultimate_vc") => "more", ), "description" => __("Select the element for link.", "ultimate_vc") ), array( "type" => "vc_link", "class" => "", "heading" => __("Add Link", "ultimate_vc"), "param_name" => "time_link", "value" => "", "dependency" => Array("element" => "time_link_apply","value" => array("more","title","box")), "description" => __("Provide the link that will be applied to this timeline.", "ultimate_vc") ), array( "type" => "textfield", "class" => "", "heading" => __("Read More Text", "ultimate_vc"), "param_name" => "time_read_text", "value" => "Read More", "description" => __("Customize the read more text.", "ultimate_vc"), "dependency" => Array("element" => "time_link_apply","value" => array("more")), ), // Customize everything 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 timeline, and you can use this class for your customizations.", "ultimate_vc"), ), ) ) ); vc_map( array( "name" => __("Timeline Featured Item","ultimate_vc"), "base" => "icon_timeline_feat", "class" => "vc_timeline_feat", "icon" => "vc_timeline_feat_icon", "category" => __('Timeline','ultimate_vc'), "content_element" => true, "as_child" => array('only' => 'icon_timeline'), "is_container" => false, "params" => array( array( "type" => "textfield", "class" => "", "heading" => __("Title", "ultimate_vc"), "param_name" => "time_title", "admin_label" => true, "value" => "", "description" => __("Provide the title for this timeline item.", "ultimate_vc"), 'edit_field_class' => 'vc_col-sm-8', ), array( "type" => "dropdown", "heading" => __("Tag","ultimate_vc"), "param_name" => "heading_tag", "value" => array( __("Default","ultimate_vc") => "h3", __("H1","ultimate_vc") => "h1", __("H2","ultimate_vc") => "h2", __("H4","ultimate_vc") => "h4", __("H5","ultimate_vc") => "h5", __("H6","ultimate_vc") => "h6", __("Div","ultimate_vc") => "div", __("p","ultimate_vc") => "p", __("span","ultimate_vc") => "span", ), "description" => __("Default is H3", "ultimate_vc"), 'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4', ), array( "type" => "ult_param_heading", "param_name" => "title_text_typography", "heading" => __("Title settings","ultimate_vc"), "value" => "", "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","ultimate_vc"), "param_name" => "title_font", "value" => "", "group" => "Typography" ), array( "type" => "ultimate_google_fonts_style", "heading" => __("Font Style","ultimate_vc"), "param_name" => "title_font_style", "value" => "", "group" => "Typography" ), // array( // "type" => "number", // "param_name" => "title_font_size", // "heading" => __("Font size","ultimate_vc"), // "value" => "", // "suffix" => "px", // "group" => "Typography" // ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Font size", 'ultimate_vc'), "param_name" => "title_font_size", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Line Height", 'ultimate_vc'), "param_name" => "title_line_ht", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "colorpicker", "param_name" => "title_font_color", "heading" => __("Color","ultimate_vc"), "group" => "Typography" ), array( "type" => "textarea_html", "class" => "", "heading" => __("Description", "ultimate_vc"), "param_name" => "content", "admin_label" => true, "value" => "", "edit_field_class" => "ult_hide_editor_fullscreen vc_col-xs-12 vc_column wpb_el_type_textarea_html vc_wrapper-param-type-textarea_html vc_shortcode-param", "description" => __("Provide some description.", "ultimate_vc"), ), array( "type" => "ult_param_heading", "param_name" => "desc_text_typography", "heading" => __("Description settings","ultimate_vc"), "value" => "", "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","ultimate_vc"), "param_name" => "desc_font", "value" => "", "group" => "Typography" ), array( "type" => "ultimate_google_fonts_style", "heading" => __("Font Style","ultimate_vc"), "param_name" => "desc_font_style", "value" => "", "group" => "Typography" ), // array( // "type" => "number", // "param_name" => "desc_font_size", // "heading" => __("Font size","ultimate_vc"), // "value" => "", // "suffix" => "px", // "group" => "Typography" // ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Font size", 'ultimate_vc'), "param_name" => "desc_font_size", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "ultimate_responsive", "class" => "", "heading" => __("Line Height", 'ultimate_vc'), "param_name" => "desc_line_ht", "unit" => "px", "media" => array( "Desktop" => '', "Tablet" => '', "Tablet Portrait" => '', "Mobile Landscape" => '', "Mobile" => '', ), "group" => "Typography", ), array( "type" => "colorpicker", "param_name" => "desc_font_color", "heading" => __("Color","ultimate_vc"), "group" => "Typography" ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon to display:", "ultimate_vc"), "param_name" => "icon_type", "value" => array( __("No Icon","ultimate_vc") => 'noicon', __("Font Icon Manager","ultimate_vc") => "selector", __("Custom Image Icon","ultimate_vc") => "custom", ), "description" => __("Use an existing font icon or upload a custom image.", "ultimate_vc") ), array( "type" => "icon_manager", "class" => "", "heading" => __("Select Icon ","ultimate_vc"), "param_name" => "icon", "value" => "", "description" => __("Click and select icon of your choice. If you can't find the one that suits for your purpose","ultimate_vc").", ".__("you can","ultimate_vc")." ".__("add new here","ultimate_vc").".", "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "attach_image", "class" => "", "heading" => __("Upload Image Icon:", "ultimate_vc"), "param_name" => "icon_img", "value" => "", "description" => __("Upload the custom image icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("custom")), ), array( "type" => "number", "class" => "", "heading" => __("Image Width", "ultimate_vc"), "param_name" => "img_width", "value" => 48, "min" => 16, "max" => 512, "suffix" => "px", "description" => __("Provide image width", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("custom")), ), array( "type" => "number", "class" => "", "heading" => __("Size of Icon", "ultimate_vc"), "param_name" => "icon_size", "value" => 32, "min" => 12, "max" => 72, "suffix" => "px", "description" => __("How big would you like it?", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Color", "ultimate_vc"), "param_name" => "icon_color", "value" => "#DE5034", "description" => __("Give it a nice paint!", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon Style", "ultimate_vc"), "param_name" => "icon_style", "value" => array( //"Simple" => "none", __("Circle Background","ultimate_vc") => "circle", __("Square Background","ultimate_vc") => "square", __("Design your own","ultimate_vc") => "advanced", ), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), "description" => __("We have given three quick preset if you are in a hurry. Otherwise, create your own with various options.", "ultimate_vc"), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Background Color", "ultimate_vc"), "param_name" => "icon_color_bg", "value" => "#fff", "description" => __("Select background color for icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Icon Border Style", "ultimate_vc"), "param_name" => "icon_border_style", "value" => array( __("None","ultimate_vc") => "", __("Solid","ultimate_vc")=> "solid", __("Dashed","ultimate_vc") => "dashed", __("Dotted","ultimate_vc") => "dotted", __("Double","ultimate_vc") => "double", __("Inset","ultimate_vc") => "inset", __("Outset","ultimate_vc") => "outset", ), "description" => __("Select the border style for icon.","ultimate_vc"), "dependency" => Array("element" => "icon_style", "value" => array("advanced")), ), array( "type" => "colorpicker", "class" => "", "heading" => __("Border Color", "ultimate_vc"), "param_name" => "icon_color_border", "value" => "#dbdbdb", "description" => __("Select border color for icon.", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Border Width", "ultimate_vc"), "param_name" => "icon_border_size", "value" => 1, "min" => 1, "max" => 10, "suffix" => "px", "description" => __("Thickness of the border.", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Border Radius", "ultimate_vc"), "param_name" => "icon_border_radius", "value" => 500, "min" => 1, "max" => 500, "suffix" => "px", "description" => __("0 pixel value will create a square border. As you increase the value, the shape convert in circle slowly. (e.g 500 pixels).", "ultimate_vc"), "dependency" => Array("element" => "icon_border_style", "not_empty" => true), ), array( "type" => "number", "class" => "", "heading" => __("Background Size", "ultimate_vc"), "param_name" => "icon_border_spacing", "value" => 50, "min" => 30, "max" => 500, "suffix" => "px", "description" => __("Spacing from center of the icon till the boundary of border / background", "ultimate_vc"), "dependency" => Array("element" => "icon_style", "value" => array("advanced")), ), array( "type" => "dropdown", "class" => "", "heading" => __("Animation","ultimate_vc"), "param_name" => "icon_animation", "value" => array( __("No Animation","ultimate_vc") => "", __("Swing","ultimate_vc") => "swing", __("Pulse","ultimate_vc") => "pulse", __("Fade In","ultimate_vc") => "fadeIn", __("Fade In Up","ultimate_vc") => "fadeInUp", __("Fade In Down","ultimate_vc") => "fadeInDown", __("Fade In Left","ultimate_vc") => "fadeInLeft", __("Fade In Right","ultimate_vc") => "fadeInRight", __("Fade In Up Long","ultimate_vc") => "fadeInUpBig", __("Fade In Down Long","ultimate_vc") => "fadeInDownBig", __("Fade In Left Long","ultimate_vc") => "fadeInLeftBig", __("Fade In Right Long","ultimate_vc") => "fadeInRightBig", __("Slide In Down","ultimate_vc") => "slideInDown", __("Slide In Left","ultimate_vc") => "slideInLeft", __("Slide In Left","ultimate_vc") => "slideInLeft", __("Bounce In","ultimate_vc") => "bounceIn", __("Bounce In Up","ultimate_vc") => "bounceInUp", __("Bounce In Down","ultimate_vc") => "bounceInDown", __("Bounce In Left","ultimate_vc") => "bounceInLeft", __("Bounce In Right","ultimate_vc") => "bounceInRight", __("Rotate In","ultimate_vc") => "rotateIn", __("Light Speed In","ultimate_vc") => "lightSpeedIn", __("Roll In","ultimate_vc") => "rollIn", ), "dependency" => Array("element" => "icon_type","value" => array("selector","custom")), "description" => __("Like CSS3 Animations? We have several options for you!","ultimate_vc") ), /*array( "type" => "dropdown", "class" => "", "heading" => __("Timeline Item Position", "smile"), "param_name" => "time_position", "admin_label" => true, "value" => array( "Auto" =>'auto', "Left" => "left", "Right" => "right", ), "description" => __("Alignment of timeline item with respect to the connecter line.", "smile"), ),*/ array( "type" => "dropdown", "class" => "", "heading" => __("Apply link to:", "ultimate_vc"), "param_name" => "time_link_apply", "value" => array( __("None","ultimate_vc") => "", __("Complete box","ultimate_vc") => "box", __("Box Title","ultimate_vc") => "title", __("Display Read More","ultimate_vc") => "more", ), "description" => __("Select the element for link.", "ultimate_vc") ), array( "type" => "vc_link", "class" => "", "heading" => __("Add Link", "ultimate_vc"), "param_name" => "time_link", "value" => "", "dependency" => Array("element" => "time_link_apply","value" => array("more","title","box")), "description" => __("Provide the link that will be applied to this timeline.", "ultimate_vc") ), array( "type" => "textfield", "class" => "", "heading" => __("Read More Text", "ultimate_vc"), "param_name" => "time_read_text", "value" => "Read More", "description" => __("Customize the read more text.", "ultimate_vc"), "dependency" => Array("element" => "time_link_apply","value" => array("more")), ), array( "type" => "dropdown", "heading" => "Arrow position", "param_name" => "arrow_position", "value" => array( __("Top","ultimate_vc") => "top", __("Bottom","ultimate_vc") => "bottom" ) ), // Customize everything. 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 timeline, and you can use this class for your customizations.", "ultimate_vc"), ), ) ) ); }//endif } function icon_timeline($atts, $content = null) { //wp_enqueue_script('masonry',plugins_url('../assets/min-js/',__FILE__).'masonry.min.js', array('jquery'), false, true); $timeline_line_color = $timeline_line_style = ''; extract(shortcode_atts(array( 'timeline_style'=>'csstime', 'timeline_line_color' =>'', 'timeline_line_style' =>'dotted', 'time_sep_bg_color'=>'', 'time_sep_color' =>'', 'time_block_bg_color'=>'', 'timeline_layout' =>'', 'tl_animation'=>'', 'custom_width'=>'200', 'el_class' => '', 'timeline_margin' => '', ), $atts)); $data = $cw = $line_style = $output = $timeline_design_css = ''; $timeline_design_css = $timeline_margin; if($timeline_layout=='timeline-custom-width'){ $cw ='data-timeline-cutom-width="'.esc_attr($custom_width).'"'; } if($time_sep_color!=''){ $time_sep_color='data-time_sep_color="'.esc_attr($time_sep_color).'"'; } if($time_sep_bg_color!=''){ $time_sep_bg_color='data-time_sep_bg_color="'.esc_attr($time_sep_bg_color).'"'; } if($time_block_bg_color!=''){ $time_block_bg_color='data-time_block_bg_color="'.esc_attr($time_block_bg_color).'"'; } if($timeline_line_color!=''){ $line_style ='border-right-style:'.$timeline_line_style.';'; } if($timeline_line_style!=''){ $line_style .='border-right-color:'.$timeline_line_color.';'; } if($timeline_style=='jstime'){ $output .= '
.'../assets/img/timeline_pre-loader.gif)
'.$link_prefix.$time_read_text.$link_sufix.'
'; } $header .= ''.$link_prefix.$time_read_text.$link_sufix.'
'; } $header .= '