PATH:
home
/
letacommog
/
supportleta
/
wp-content
/
themes
/
salient
/
nectar
/
nectar-vc-addons
/
vc_templates
<?php extract(shortcode_atts(array("carousel_title" => '', "scroll_speed" => 'medium', 'loop' => 'false', 'flickity_fixed_content' => '', 'flickity_formatting' => 'default', 'easing' => 'easeInExpo', 'autorotate' => '', 'enable_animation' => '', 'delay' => '', 'autorotation_speed' => '5000','column_padding' => '' ,'script' => 'carouFredSel', 'desktop_cols' => '4', 'desktop_small_cols' => '3', 'tablet_cols' => '2','mobile_cols' => '1', 'cta_button_text' => '', 'cta_button_url' => '', 'cta_button_open_new_tab' => '', 'button_color' => '', 'enable_column_border' => '', 'border_radius' => 'none', 'column_color' => '', 'desktop_cols_flickity' => '3', 'desktop_small_cols_flickity' => '3', 'tablet_cols_flickity' => '2'), $atts)); $GLOBALS['nectar-carousel-script'] = $script; $GLOBALS['nectar_carousel_column_color'] = $column_color; if($script == 'carouFredSel') { $carousel_html = null; $carousel_html .= ' <div class="carousel-wrap" data-full-width="false"> <div class="carousel-heading"> <div class="container"> <h2 class="uppercase">'. $carousel_title .'</h2> <div class="control-wrap"> <a class="carousel-prev" href="#"><i class="icon-angle-left"></i></a> <a class="carousel-next" href="#"><i class="icon-angle-right"></i></a> </div> </div> </div> <ul class="row carousel" data-scroll-speed="' . $scroll_speed . '" data-easing="' . $easing . '" data-autorotate="' . $autorotate . '">'; echo $carousel_html . do_shortcode($content) . '</ul></div>'; } else if($script == 'owl_carousel') { $delay = intval($delay); echo '<div class="owl-carousel" data-enable-animation="'.$enable_animation.'" data-loop="'.$loop.'" data-animation-delay="'.$delay.'" data-autorotate="' . $autorotate . '" data-autorotation-speed="'.$autorotation_speed.'" data-column-padding="'.$column_padding.'" data-desktop-cols="'.$desktop_cols.'" data-desktop-small-cols="'.$desktop_small_cols.'" data-tablet-cols="'.$tablet_cols.'" data-mobile-cols="'.$mobile_cols.'">'; echo do_shortcode($content); echo '</div>'; } else if($script == 'flickity') { if($flickity_formatting == 'fixed_text_content_fullwidth') { echo '<div class="nectar-carousel-flickity-fixed-content"> <div class="nectar-carousel-fixed-content">'; echo do_shortcode($flickity_fixed_content); if(!empty($cta_button_text)) { global $options; $button_color = strtolower($button_color); $regular_btn_class = ' regular-button'; $btn_text_markup = '<span>'.$cta_button_text.'</span> <i class="icon-button-arrow"></i>'; if($button_color == 'extra-color-gradient-1' || $button_color == 'extra-color-gradient-2') { $regular_btn_class = ''; $btn_text_markup = '<span class="start">'.$cta_button_text.' <i class="icon-button-arrow"></i></span><span class="hover">'.$cta_button_text.' <i class="icon-button-arrow"></i></span>'; } if($options['theme-skin'] == 'material' && $button_color == 'extra-color-gradient-1') { $button_color = 'm-extra-color-gradient-1'; $btn_text_markup = '<span>'.$cta_button_text.'</span> <i class="icon-button-arrow"></i>'; } else if( $options['theme-skin'] == 'material' && $button_color == 'extra-color-gradient-2') { $button_color = 'm-extra-color-gradient-2'; $btn_text_markup = '<span>'.$cta_button_text.'</span> <i class="icon-button-arrow"></i>'; } $btn_target_markup = (!empty($cta_button_open_new_tab) && $cta_button_open_new_tab == 'true' ) ? 'target="_blank"' : null; echo '<div><a class="nectar-button large regular '. $button_color . $regular_btn_class . ' has-icon" href="'.$cta_button_url.'" '.$btn_target_markup.' data-color-override="false" data-hover-color-override="false" data-hover-text-color-override="#fff">'.$btn_text_markup.'</a></div>'; } echo '</div>'; } echo '<div class="nectar-flickity not-initialized nectar-carousel" data-border-radius="'.$border_radius.'" data-column-border="'.$enable_column_border.'" data-column-padding="'.$column_padding.'" data-format="'.$flickity_formatting.'" data-autoplay="'.$autorotate.'" data-autoplay-dur="'.$autorotation_speed.'" data-controls="material_pagination" data-desktop-columns="'.$desktop_cols_flickity.'" data-small-desktop-columns="'.$desktop_small_cols_flickity.'" data-tablet-columns="'.$tablet_cols_flickity.'">'; echo do_shortcode($content); echo '</div>'; if($flickity_formatting == 'fixed_text_content_fullwidth') { echo '</div>'; } } ?>
[+]
..
[-] nectar_horizontal_list_item.php
[edit]
[-] morphing_outline.php
[edit]
[-] vc_column.php
[edit]
[-] tabbed_section.php
[edit]
[-] testimonial.php
[edit]
[-] nectar_animated_title.php
[edit]
[-] vc_pie.php
[edit]
[-] client.php
[edit]
[-] nectar_image_comparison.php
[edit]
[-] testimonial_slider.php
[edit]
[-] nectar_icon_list_item.php
[edit]
[-] nectar_gradient_text.php
[edit]
[-] toggle.php
[edit]
[-] item.php
[edit]
[-] vc_column_inner.php
[edit]
[-] vc_widget_sidebar.php
[edit]
[-] nectar_icon.php
[edit]
[-] tab.php
[edit]
[-] vc_row_inner.php
[edit]
[-] desktop.ini
[edit]
[-] nectar_video_lightbox.php
[edit]
[-] toggles.php
[edit]
[-] nectar_hotspot.php
[edit]
[-] vc_column_text.php
[edit]
[-] nectar_gmap.php
[edit]
[-] carousel.php
[edit]
[-] vc_row.php
[edit]
[-] nectar_woo_products.php
[edit]
[-] nectar_cta.php
[edit]
[-] page_submenu.php
[edit]
[-] page_link.php
[edit]
[-] nectar_icon_list.php
[edit]
[-] clients.php
[edit]
[-] pricing_table.php
[edit]
[-] nectar_image_with_hotspots.php
[edit]
[-] nectar_flip_box.php
[edit]
[-] nectar_single_testimonial.php
[edit]
[-] fancy_box.php
[edit]
[-] full_width_section.php
[edit]
[-] nectar_food_menu_item.php
[edit]
[-] nectar_cascading_images.php
[edit]
[-] pricing_column.php
[edit]
[-] nectar_btn.php
[edit]
[-] split_line_heading.php
[edit]
[-] vc_gallery.php
[edit]