<div class="gt-footer-instagram-item text-center ul-li">
    <ul>
        <?php foreach($settings['gallerys'] as $item):?>
            <li><a href="<?php echo esc_url($item['gallery']['url']);?>">
            <span><img src="<?php echo esc_url($item['icon']['url']);?>" alt=""></span>
            <img src="<?php echo esc_url($item['gallery']['url']);?>" alt="<?php if(!empty($item['gallery']['alt'])){ echo esc_attr($item['gallery']['alt']);}?>"></a> </li>
        <?php endforeach;?>
    </ul>
</div>