PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
core
<?php function wilcity_sc_render_testimonials($atts){ $atts = \WILCITY_SC\SCHelpers::mergeIsAppRenderingAttr($atts); if ( $atts['isApp'] ){ echo '%SC%' . json_encode($atts) . '%SC%'; return ''; } if ( empty($atts['testimonials']) ){ return ''; } $wrap_class = 'swiper__module swiper-container swiper--button-pill swiper--button-abs-md swiper--button-abs-inner ' . $atts['extra_class']; $wrap_class = trim($wrap_class); ?> <!-- swiper__module swiper-container --> <?php if ( !empty($atts['autoplay']) ) : ?> <div class="<?php echo esc_attr($wrap_class); ?>" data-options='{"autoHeight": true, "loop":true, "autoplay":{"delay":"<?php echo absint($atts['autoplay'])*1000; ?>"}}'> <?php else: ?> <div class="<?php echo esc_attr($wrap_class); ?>" data-options='{"loop":true}'> <?php endif; ?> <div class="full-load"> <!-- pill-loading_module__3LZ6v --> <div class="pill-loading_module__3LZ6v pos-a-center"> <div class="pill-loading_loader__3LOnT"></div> </div><!-- End / pill-loading_module__3LZ6v --> </div> <div class="swiper-wrapper"> <?php foreach ( $atts['testimonials'] as $oTestimonial ){ wilcity_render_testimonial_item($atts['icon'], $oTestimonial); } ?> </div> <div class="swiper-button-custom"> <div class="swiper-button-prev-custom"><i class='la la-angle-left'></i></div> <div class="swiper-button-next-custom"><i class='la la-angle-right'></i></div> </div> </div> <?php }
[+]
..
[-] wilcity_render_event_item.php
[edit]
[-] wilcity_render_team_intro_slider.php
[edit]
[-] wilcity_render_modern_term_boxes.php
[edit]
[-] wilcity_listing_slider_item.php
[edit]
[-] wilcity_render_author_slider.php
[edit]
[-] wilcity_render_term_box.php
[edit]
[-] wilcity_render_testimonial_item.php
[edit]
[-] wilcity_render_rectangle_term_boxes.php
[edit]
[-] wilcity_render_rectangle_term_box.php
[edit]
[-] wilcity_render_restaunrant_menu_item.php
[edit]
[-] wilcity_render_hero_search_form.php
[edit]
[-] wilcity_render_grid_post.php
[edit]
[-] wilcity_render_events_grid.php
[edit]
[-] wilcity_render_listings_tabs.php
[edit]
[-] wilcity_render_map.php
[edit]
[-] wilcity_render_modern_term_box.php
[edit]
[-] wilcity_render_contact_us.php
[edit]
[-] wilcity_render_hero.php
[edit]
[-] wilcity_render_restaurant_list_menu.php
[edit]
[-] wilcity_render_terms_slider.php
[edit]
[-] wilcity_terms_box.php
[edit]
[-] wilcity_render_image_box.php
[edit]
[-] wilcity_render_intro_box.php
[edit]
[-] wilcity_render_wiloke_wave.php
[edit]
[-] wilcity_render_restaurant_listing.php
[edit]
[-] wilcity_render_grid.php
[edit]
[-] wilcity_post_slider_item.php
[edit]
[-] wilcity_render_term_masonry_item.php
[edit]
[-] wilcity_render_slider.php
[edit]
[-] wilcity_render_team_intro_slider_item.php
[edit]
[-] wilcity_widget_list_style.php
[edit]
[-] wilcity_render_term_masonry_items.php
[edit]
[-] wilcity_render_grid_item.php
[edit]
[-] wilcity_render_box_icon.php
[edit]
[-] wilcity_render_new_grid.php
[edit]
[-] wilcity_render_heading_ribbon.php
[edit]
[-] wilcity_render_testimonials.php
[edit]
[-] wilcity_render_post_types.php
[edit]
[-] wilcity_event_slider_item.php
[edit]
[-] wilcity_render_heading.php
[edit]
[-] wilcity_render_term_boxes.php
[edit]
[-] wilcity_render_restaurant_listings.php
[edit]
[-] wilcity_render_full_width_list_item.php
[edit]