testimonial-1.php
1 year ago
testimonial-10.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-8.php
1 year ago
testimonial-9.php
1 year ago
testimonial-2.php
47 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly. |
| 4 | } |
| 5 | ?> |
| 6 | <div class="doc_feedback_info"> |
| 7 | <div class="doc_feedback_slider" data-rtl="<?php echo esc_attr(spel_rtl()) ?>"> |
| 8 | <?php |
| 9 | if ( ! empty( $testimonials2 ) ) { |
| 10 | foreach ( $testimonials2 as $item ) { |
| 11 | ?> |
| 12 | <div class="item elementor-repeater-item-<?php echo esc_attr( $item[ '_id' ] ); ?>"> |
| 13 | <?php |
| 14 | if ( ! empty( $item[ 'author_image' ][ 'id' ] ) ) { ?> |
| 15 | <div class="author_img"> |
| 16 | <?php spel_dynamic_image( $item[ 'author_image' ] ) ?> |
| 17 | </div> |
| 18 | <?php |
| 19 | } |
| 20 | if ( ! empty( $item[ 'review_content' ] ) ) { ?> |
| 21 | <p class="se_review_content"><?php echo esc_html( $item[ 'review_content' ] ) ?></p> |
| 22 | <?php |
| 23 | } |
| 24 | if ( ! empty( $item[ 'name' ] ) ) { ?> |
| 25 | <h5 class="se_name"><?php echo esc_html( $item[ 'name' ] ); ?></h5> |
| 26 | <?php |
| 27 | } |
| 28 | if ( ! empty( $item[ 'designation' ] ) ) { ?> |
| 29 | <h6 class="se_designation"><?php echo esc_html( $item[ 'designation' ] ); ?></h6> |
| 30 | <?php |
| 31 | } |
| 32 | ?> |
| 33 | </div> |
| 34 | <?php |
| 35 | } |
| 36 | } |
| 37 | ?> |
| 38 | </div> |
| 39 | <div class="slider_nav"> |
| 40 | <div class="prev"> |
| 41 | <span class="arrow"></span> |
| 42 | </div> |
| 43 | <div class="next"> |
| 44 | <span class="arrow"></span> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |