<div class="gt-testimonial-content-4 mt-40 d-flex">
    <div class="gt-testimonial-nav-area swiper-container">
        <div class="swiper-wrapper">
        <?php foreach($settings['testimonials'] as $item):?>
            <div class="swiper-slide">
                <div class="gt-testimonial-nav">
                    <div class="inner-img">
                        <img src="<?php echo esc_url($item['authore_navigation']['url']);?>" alt="<?php if(!empty($item['authore_navigation']['alt'])){ echo esc_attr($item['authore_navigation']['alt']);}?>">
                    </div>
                </div>
            </div>
            <?php endforeach;?>
        </div>
    </div>
    <div class="gt-testimonial-for swiper-container">
        <div class="swiper-wrapper">
            <?php foreach($settings['testimonials'] as $item):?>
            <div class="swiper-slide">
                <div class="gt-testimonial-item-4 d-flex align-items-center">
                    <div class="testimonial-img position-relative">
                        <?php if(!empty($item['authore']['url'])):?>
                            <div class="inner-img">
                                <img src="<?php echo esc_url($item['authore_large']['url']);?>" alt="<?php if(!empty($item['authore_large']['alt'])){ echo esc_attr($item['authore_large']['alt']);}?>">
                            </div>
                        <?php endif;?>
                    </div>
                    <div class="testimonial-text">
                        <div class="qt-icon">
                            <i class="fas fa-quote-left"></i>
                        </div>
                        <?php if(!empty($item['feedback'])):?>
                        <div class="testimonial-desc">
                            <?php if(!empty($item['feedback'])):?>
                                <?php echo wp_kses($item['feedback'], true); ?>
                            <?php endif;?>
                        </div>
                        <?php endif;?>
                        <?php if($settings['rating_show'] === 'yes'):?>
                            <div class="testimonial-rate ul-li">
                                <ul>
                                    <?php for($i = 0; $i < $item['rating']; $i++):?>
                                    <li><i class="fas fa-star"></i></li>
                                    <?php endfor;?>
                                </ul>            
                            </div>
                        <?php endif;?>
                        <div class="testimonial-author d-flex flex-wrap align-items-center">
                            <?php if(!empty($item['authore']['url'])):?>
                                <div class="inner-img">
                                    <img src="<?php echo esc_url($item['authore']['url']);?>" alt="<?php if(!empty($item['authore']['alt'])){ echo esc_attr($item['authore']['alt']);}?>">
                                </div>
                            <?php endif;?>
                            <div class="inner-text headline">
                                <h3 class="text-uppercase"><?php echo wp_kses($item['name'], true); ?></h3>
                                <span><?php echo wp_kses($item['designtaion'], true); ?></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach;?>
        </div>
    </div>
</div>