PATH:
home
/
letacommog
/
supportleta
/
wp-content
/
themes
/
salient
/
nectar
/
nectar-vc-addons
/
vc_templates
<?php extract(shortcode_atts(array("name" => '',"subtitle" => '', "quote" => '', 'image' => '', 'star_rating' => 'none'), $atts)); $has_bg = null; $bg_markup = null; if(!empty($image)){ $image_src = wp_get_attachment_image_src($image, 'medium'); $image = $image_src[0]; $has_bg = 'has-bg'; $bg_markup = 'style="background-image: url('.$image.');"'; } $open_quote = ($GLOBALS['nectar-testimonial-slider-style'] == 'minimal' || $GLOBALS['nectar-testimonial-slider-style'] == 'multiple_visible_minimal') ? '“' : null; $close_quote = ($GLOBALS['nectar-testimonial-slider-style'] == 'minimal' || $GLOBALS['nectar-testimonial-slider-style'] == 'multiple_visible_minimal') ? '”' : null; if($GLOBALS['nectar-testimonial-slider-style'] != 'minimal') { $image_icon_markup = '<div class="image-icon '.$has_bg.'" '.$bg_markup.'>“</div>'; } else { $image_icon_markup = ($GLOBALS['nectar-testimonial-slider-style'] == 'minimal' && $has_bg == 'has-bg') ? '<div class="image-icon '.$has_bg.'" '.$bg_markup.'>“</div>' : null; } $rating_markup = null; if($star_rating != 'none') { $rating_markup = '<span class="star-rating-wrap"> <span class="star-rating"><span style="width: '.$star_rating.';" class="filled"></span></span></span>'; } if($GLOBALS['nectar-testimonial-slider-style'] != 'multiple_visible_minimal') { echo '<blockquote> '.$image_icon_markup.' <p>'.$open_quote.$quote.$close_quote. $rating_markup .' <span class="bottom-arrow"></span></p>'. '<span>'.$name.'</span><span class="title">'.$subtitle.'</span></blockquote>'; } else { echo '<blockquote> <div class="inner">'.$image_icon_markup.'<span class="wrap"><span>'.$name.'</span><span class="title">'.$subtitle.'</span></span> <p>'.$open_quote.$quote.$close_quote.' </p>'.$rating_markup.'</div></blockquote>'; } ?>
[+]
..
[-] 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]