<div class="gt-partner-slider swiper-container">
    <div class="swiper-wrapper">
        <?php foreach($settings['sponsors'] as $item):?>
        <div class="swiper-slide">
            <div class="gt-sponsor-item">
                <img src="<?php echo esc_url($item['sponsor_logo']['url']);?>" alt="<?php if(!empty($item['sponsor_logo']['alt'])){ echo esc_attr($item['sponsor_logo']['alt']);}?>">
            </div>
        </div>
        <?php endforeach;?>
    </div>
</div>