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-5.php
39 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly. |
| 4 | } |
| 5 | ?> |
| 6 | <section class="testimonial-area testimonial-area-8"> |
| 7 | <div class="testimonial-slider-active swiper"> |
| 8 | <div class="swiper-wrapper"> |
| 9 | <?php |
| 10 | if ( ! empty( $testimonials5 ) ) : |
| 11 | foreach ( $testimonials5 as $item ) : ?> |
| 12 | <div class="swiper-slide"> |
| 13 | <div class="testimonial testimonial-item"> |
| 14 | <?php |
| 15 | echo ! empty( $item['company_name'] ) ? '<span class="category se_category">' . esc_html( $item['company_name'] ) . '</span>' : ''; |
| 16 | |
| 17 | echo ! empty( $item['review_content'] ) ? '<h3 class="testimonial-title se_review_content">' . esc_html( $item['review_content'] ) . '</h3>' : ''; |
| 18 | |
| 19 | echo ! empty( $item['title'] ) ? '<span class="testimonial-subtitle se_title">' . esc_html( $item['title'] ) . '</span>' : ''; |
| 20 | ?> |
| 21 | <div class="author-name"> |
| 22 | <?php spel_dynamic_image( $item['author_image'], 'full', [ 'class' => 'author-img', ] ) ?> |
| 23 | <?php echo ! empty( $item['name'] ) ? '<span class="author-title se_name">' . esc_html( $item['name'] ) . '</span>' : ''; ?> |
| 24 | </div> |
| 25 | </div> |
| 26 | </div> |
| 27 | <?php |
| 28 | endforeach; |
| 29 | endif; |
| 30 | ?> |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="navigation"> |
| 34 | <div class="swiper-button-prev"></div> |
| 35 | <div class="swiper-button-next"></div> |
| 36 | </div> |
| 37 | </section> |
| 38 | |
| 39 |