first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
/**
* Testimonials template
*/
$classes_list[] = 'jet-testimonials';
$equal_cols = $this->get_settings( 'equal_height_cols' );
if ( 'true' === $equal_cols ) {
$classes_list[] = 'jet-equal-cols';
}
$classes = implode( ' ', $classes_list );
?>
<div class="<?php echo $classes; ?>">
<?php $this->__get_global_looped_template( 'testimonials', 'item_list' ); ?>
</div>

View File

@@ -0,0 +1,5 @@
<?php
/**
* Testimonials wrap end template
*/
?></div>

View File

@@ -0,0 +1,22 @@
<?php
/**
* Testimonials item template
*/
$settings = $this->get_settings();
$stars = $this->render_stars();
?><div class="jet-testimonials__item">
<div class="jet-testimonials__item-inner">
<div class="jet-testimonials__content"><?php
echo $this->__get_testimonials_image();
echo $this->__render_icon( 'item_icon', '<div class="jet-testimonials__icon"><div class="jet-testimonials__icon-inner">%s</div></div>', '', false );
echo $this->__loop_item( array( 'item_title' ), '<h5 class="jet-testimonials__title">%s</h5>' );
echo $this->__loop_item( array( 'item_comment' ), '<p class="jet-testimonials__comment"><span>%s</span></p>' );
echo $this->__get_testimonials_name();
echo $this->__loop_item( array( 'item_position' ), '<div class="jet-testimonials__position"><span>%s</span></div>' );
echo $this->__loop_item( array( 'item_date' ), '<div class="jet-testimonials__date"><span>%s</span></div>' );
echo $this->__loop_item( array( 'item_rating' ), '<div class="jet-testimonials__rating" data-rating="%s">' . $stars . '</div>' );
?></div>
</div>
</div>

View File

@@ -0,0 +1,25 @@
<?php
/**
* Testimonials start template
*/
$settings = $this->get_settings();
$data_settings = $this->generate_setting_json();
$use_comment_corner = $this->get_settings( 'use_comment_corner' );
$class_array[] = 'jet-testimonials__instance';
$class_array[] = 'elementor-slick-slider';
if ( filter_var( $use_comment_corner, FILTER_VALIDATE_BOOLEAN ) ) {
$class_array[] = 'jet-testimonials--comment-corner';
}
$classes = implode( ' ', $class_array );
$dir = is_rtl() ? 'rtl' : 'ltr';
?><div class="<?php echo $classes; ?>" <?php echo $data_settings; ?> dir="<?php echo $dir; ?>"><?php
if ( filter_var( $this->get_settings_for_display( 'arrows' ), FILTER_VALIDATE_BOOLEAN ) ) {
echo sprintf( '<div class="jet-testimonial__prev-arrow-%s jet-arrow prev-arrow">%s</div>', $this->get_id(), $this->__render_icon( 'prev_arrow', '%s', '', false ) );
echo sprintf( '<div class="jet-testimonial__next-arrow-%s jet-arrow next-arrow">%s</div>', $this->get_id(), $this->__render_icon( 'next_arrow', '%s', '', false ) );
}