testimonials_items
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
5 additions
and
11 deletions
| ... | @@ -40,23 +40,17 @@ $carousel_style = get_field('carousel_style'); | ... | @@ -40,23 +40,17 @@ $carousel_style = get_field('carousel_style'); |
| 40 | 40 | ||
| 41 | <?php if( have_rows('testimonials_items') ): ?> | 41 | <?php if( have_rows('testimonials_items') ): ?> |
| 42 | <div class="testimonials-carousel carousel-items <?php echo $size; ?>"><div class='swiper-wrapper'> | 42 | <div class="testimonials-carousel carousel-items <?php echo $size; ?>"><div class='swiper-wrapper'> |
| 43 | <?php while( the_repeater_field('testimonials_items') ): | 43 | <?php while( the_repeater_field('testimonials_items') ): ?> |
| 44 | ?> | ||
| 45 | <div class="swiper-slide"> | 44 | <div class="swiper-slide"> |
| 46 | 45 | <div class=" testimonials"> | |
| 47 | <div id="<?php echo esc_attr($id); ?>" class=" testimonials"> | ||
| 48 | |||
| 49 | <?php $image = get_sub_field('image'); ?> | 46 | <?php $image = get_sub_field('image'); ?> |
| 50 | |||
| 51 | <div class="row"> | 47 | <div class="row"> |
| 52 | <div class="col-lg-4 col-md-1 testimonial-image" style=background-image:url(<?php echo $image['url'];?>); > | 48 | <div class="col-lg-4 col-md-1 testimonial-image" style=background-image:url(<?php echo $image['url'];?>); ></div> |
| 53 | </div> | ||
| 54 | <div class="col-lg-8 col-md-1"> | 49 | <div class="col-lg-8 col-md-1"> |
| 55 | <div class="testimonial-text"><p><?php the_sub_field('text'); ?></p></div></div> | 50 | <div class="testimonial-text"><?php the_sub_field('text'); ?></div> |
| 51 | </div> | ||
| 56 | </div> | 52 | </div> |
| 57 | |||
| 58 | </div> | 53 | </div> |
| 59 | |||
| 60 | </div> | 54 | </div> |
| 61 | <?php endwhile; ?> | 55 | <?php endwhile; ?> |
| 62 | </div> | 56 | </div> | ... | ... |
-
Please register or sign in to post a comment