testimonial-1.php
1 year ago
testimonial-2.php
1 year ago
testimonial-3.php
1 year ago
testimonial-4.php
1 year ago
testimonial-5.php
1 year ago
testimonial-6.php
1 year ago
testimonial-7.php
1 year ago
testimonial-1.php
66 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly. |
| 4 | } |
| 5 | ?> |
| 6 | <div class="ezd-grid ezd-grid-cols-12"> |
| 7 | <div class="ezd-lg-col-6"> |
| 8 | <div class="doc_testimonial_slider" data-rtl="<?php echo esc_attr(spel_rtl()) ?>"> |
| 9 | <?php |
| 10 | if ( ! empty( $testimonials ) ) { |
| 11 | foreach ( $testimonials as $item ) { |
| 12 | ?> |
| 13 | <div class="item elementor-repeater-item-<?php echo esc_attr( $item[ '_id' ] ); ?>"> |
| 14 | <?php |
| 15 | if ( ! empty( $item['content'] ) ) { ?> |
| 16 | <div class="se_review_content"> |
| 17 | <p><?php echo spel_kses_post( $item['content'] ) ?></p> |
| 18 | </div> |
| 19 | <?php |
| 20 | } |
| 21 | ?> |
| 22 | <div class="name"> |
| 23 | <?php |
| 24 | echo ! empty( $item[ 'name' ] ) ? '<h5 class="se_name">' . esc_html( $item[ 'name' ] ) . '</h5>' : ''; |
| 25 | echo ! empty( $item[ 'designation' ] ) ? '<span class="se_designation">' . esc_html( $item[ 'designation' ] ) . '</span>' : ''; |
| 26 | ?> |
| 27 | </div> |
| 28 | <?php if ( ! empty( $item[ 'signature' ][ 'id' ] ) ) : ?> |
| 29 | <div class="sign"> |
| 30 | <?php spel_dynamic_image( $item[ 'signature' ] ) ?> |
| 31 | </div> |
| 32 | <?php endif; ?> |
| 33 | </div> |
| 34 | <?php |
| 35 | } |
| 36 | } |
| 37 | ?> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="ezd-lg-col-6"> |
| 41 | <div class="doc_img_slider" data-rtl="<?php echo esc_attr(spel_rtl()) ?>"> |
| 42 | <?php |
| 43 | if ( ! empty( $testimonials ) ) { |
| 44 | foreach ( $testimonials as $item ) { |
| 45 | ?> |
| 46 | <div class="item elementor-repeater-item-<?php echo esc_attr( $item[ '_id' ] ); ?>"> |
| 47 | <?php |
| 48 | if ( ! empty( $settings[ 'shape' ][ 'id' ] ) ) : |
| 49 | spel_dynamic_image( $settings[ 'shape' ], 'full', array( 'class' => 'dot' ) ); |
| 50 | endif; |
| 51 | |
| 52 | echo '<div class="round one"></div>'; |
| 53 | echo '<div class="round two"></div>'; |
| 54 | |
| 55 | if ( ! empty( $item[ 'author_image' ][ 'id' ] ) ) : |
| 56 | spel_dynamic_image( $item[ 'author_image' ] ); |
| 57 | endif; |
| 58 | ?> |
| 59 | </div> |
| 60 | <?php |
| 61 | } |
| 62 | } |
| 63 | ?> |
| 64 | </div> |
| 65 | </div> |
| 66 | </div> |