Carousel Images: '.__( 'No images upload', 'kingcomposer' ).'

'; return; } $element_attribute = array(); $el_classes = array( 'kc-carousel-images', 'owl-carousel-images', 'kc-sync1', $wrap_class ); if( isset($atts['nav_style']) && $nav_style !='' ){ $el_classes[] = 'owl-nav-' . $nav_style; } $owl_option = array( 'items' => $items_number, 'tablet' => $tablet, 'mobile' => $mobile, 'speed' => $speed, 'navigation' => $navigation, 'pagination' => $pagination, 'autoheight' => $auto_height, 'progressbar' => $progress_bar, 'delay' => $delay, 'autoplay' => $auto_play, 'showthumb' => $show_thumb, 'num_thumb' => $num_thumb, ); $owl_option = json_encode( $owl_option ); $element_attribute[] = 'class="'. esc_attr( implode( ' ', $el_classes ) ) .'"'; $element_attribute[] = "data-owl-i-options='$owl_option'"; if( 'custom_link' === $onclick && !empty( $custom_links ) ){ $custom_links = preg_replace( '/\n$/', '', preg_replace('/^\n/','',preg_replace('/[\r\n]+/',"\n", $custom_links)) ); $custom_links_arr = explode("\n", $custom_links ); } kc_js_callback( 'kc_front.owl_slider' ); ?>