'1', 'speed' => '', 'style' => '', 'itemres' => '', 'nav_slider'=> 'nav-hidden', 'animation' => '', ),$attr)); $html .= '
'; return $html; } } stp_reg_shortcode('slide_carousel','sv_vc_slide_carousel'); vc_map( array( 'name' => esc_html__( 'Carousel Slider', 'bigc' ), 'base' => 'slide_carousel', 'category' => esc_html__( '7Up-theme', 'bigc' ), 'icon' => 'icon-st', 'as_parent' => array( 'only' => 'vc_column_text,slide_carousel_item_image,slide_partner_item,slide_testimonial_item,slide_banner_item,slide_team_item,slide_testimonial_item2' ), 'content_element' => true, 'js_view' => 'VcColumnView', 'params' => array( array( 'heading' => esc_html__( 'Item slider display', 'bigc' ), 'type' => 'textfield', 'description' => esc_html__( 'Enter number of item. Default is 1.', 'bigc' ), 'param_name' => 'item', ), array( 'heading' => esc_html__( 'Speed', 'bigc' ), 'type' => 'textfield', 'description' => esc_html__( 'Enter time slider go to next item. Unit (ms). Example 5000. If empty this field autoPlay is false.', 'bigc' ), 'param_name' => 'speed', ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Navigation style', 'bigc' ), 'param_name' => 'nav_slider', 'value' => array( esc_html__( 'Hidden', 'bigc' ) => 'nav-hidden', esc_html__( 'Default', 'bigc' ) => 'default', esc_html__( 'Default Inner', 'bigc' ) => 'default-paginav', esc_html__( 'Default ontop', 'bigc' ) => 'nav-ontop', esc_html__( 'Pagination on top', 'bigc' ) => 'the-brand', esc_html__( 'Navigation Arrow', 'bigc' ) => 'owl-arrow-banner', esc_html__( 'Caret Arrow', 'bigc' ) => 'post-slider', esc_html__( 'Pagination on right', 'bigc' ) => 'banner-slider-circle-vertical', esc_html__( 'Navigation Arrow on top right', 'bigc' ) => 'home-directnav', esc_html__( 'Pagination rect vertical', 'bigc' ) => 'banner-slider-rect-vertical', esc_html__( 'Navigation Arrow style 2', 'bigc' ) => 'partner-slider-directnav', esc_html__( 'Pagination dot hoztical', 'bigc' ) => 'banner-slider-circle-hoztical', ) ), array( 'heading' => esc_html__( 'Custom Item', 'bigc' ), 'type' => 'textfield', 'description' => esc_html__( 'Enter custom item for each window 360px,480px,768px,992px. Default is auto. Example: "2,3,4,5"', 'bigc' ), 'param_name' => 'itemres', ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Animation', 'bigc' ), 'param_name' => 'animation', 'value' => array( esc_html__( 'None', 'bigc' ) => '', esc_html__( 'Fade', 'bigc' ) => 'fade', esc_html__( 'BackSlide', 'bigc' ) => 'backSlide', esc_html__( 'GoDown', 'bigc' ) => 'goDown', esc_html__( 'FadeUp', 'bigc' ) => 'fadeUp', ) ), ) ) ); /*******************************************END MAIN*****************************************/ /**************************************BEGIN ITEM************************************/ if(!function_exists('sv_vc_slide_carousel_item_image')) { function sv_vc_slide_carousel_item_image($attr, $content = false) { $html = ''; extract(shortcode_atts(array( 'title' => '', 'image_center' => '', 'label' => '', 'link_center' => '#', 'image_left' => '', 'link_left' => '', 'image_right' => '', 'link_right' => '', ),$attr)); if(!empty($image_left) && !empty($image_center) && !empty($image_right)): if(empty($link_left)) $link_left = $link_center; if(empty($link_right)) $link_right = $link_center; if(!empty($label)) $html_bt = ''.$label.''; else $html_bt = ''; $html .= ''.$content_left.'
'.$content_right.'