testimonial-1.php
2 years ago
testimonial-10.php
2 years ago
testimonial-11.php
2 years ago
testimonial-2.php
2 years ago
testimonial-3.php
2 years ago
testimonial-4.php
2 years ago
testimonial-5.php
2 years ago
testimonial-6.php
2 years ago
testimonial-7.php
2 years ago
testimonial-8.php
2 years ago
testimonial-9.php
2 years ago
testimonial-1.php
59 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"> |
| 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 echo ! empty( $item[ 'review_content' ] ) ? '<h3 class="se_review_content">' . esc_html( $item[ 'review_content' ] ) . '</h3>' : ''; ?> |
| 15 | <div class="name"> |
| 16 | <?php |
| 17 | echo ! empty( $item[ 'name' ] ) ? '<h5 class="se_name">' . esc_html( $item[ 'name' ] ) . '</h5>' : ''; |
| 18 | echo ! empty( $item[ 'designation' ] ) ? '<span class="se_designation">' . esc_html( $item[ 'designation' ] ) . '</span>' : ''; |
| 19 | ?> |
| 20 | </div> |
| 21 | <?php if ( ! empty( $item[ 'signature' ][ 'id' ] ) ) : ?> |
| 22 | <div class="sign"> |
| 23 | <?php spel_dynamic_image( $item[ 'signature' ] ) ?> |
| 24 | </div> |
| 25 | <?php endif; ?> |
| 26 | </div> |
| 27 | <?php |
| 28 | } |
| 29 | } |
| 30 | ?> |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="ezd-lg-col-6"> |
| 34 | <div class="doc_img_slider"> |
| 35 | <?php |
| 36 | if ( ! empty( $testimonials ) ) { |
| 37 | foreach ( $testimonials as $item ) { |
| 38 | ?> |
| 39 | <div class="item elementor-repeater-item-<?php echo esc_attr( $item[ '_id' ] ); ?>"> |
| 40 | <?php |
| 41 | if ( ! empty( $settings[ 'shape' ][ 'id' ] ) ) : |
| 42 | spel_dynamic_image( $settings[ 'shape' ], 'full', array( 'class' => 'dot' ) ); |
| 43 | endif; |
| 44 | |
| 45 | echo '<div class="round one"></div>'; |
| 46 | echo '<div class="round two"></div>'; |
| 47 | |
| 48 | if ( ! empty( $item[ 'author_image' ][ 'id' ] ) ) : |
| 49 | spel_dynamic_image( $item[ 'author_image' ] ); |
| 50 | endif; |
| 51 | ?> |
| 52 | </div> |
| 53 | <?php |
| 54 | } |
| 55 | } |
| 56 | ?> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |