<?php 
    $is_items = (isset($settings['items']) && !empty($settings['items']) && count($settings['items'])) || false;
    $classes = $settings['style'].' '.$settings['pxl_animate'];
?>
<!-- Template -->
 <?php if($is_items) : ?>
    <div class="pxl-social-icons pxl-social-icons1 <?php echo esc_attr($classes); ?>" 
        data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay'].'ms'); ?>"> 
        <div class="pxl-icon--container">
            <div class="pxl-icon--inner">
                <ul class="pxl-item--list">
                    <?php foreach($settings['items'] as $key => $item) : ?>
                        <?php 
                            $item_link = solarva_get_link($item['link']);
                        ?>
                        <li class="pxl-item--single <?php echo esc_attr('pxl-item-'.$item['_id']); ?>">
                            <?php if(!empty($item['pxl_icon']['value'])) : ?>
                                <a class="btn pxl-item--link <?php echo esc_attr($settings['hover_style']); ?>" <?php pxl_print_html($item_link); ?>>
                                    <?php \Elementor\Icons_Manager::render_icon( $item['pxl_icon'], [ 'aria-hidden' => 'true', 'class' => '' ], 'i' ); ?>
                                </a>
                            <?php endif; ?>
                        </li>
                    <?php endforeach; ?>
                </ul>
            </div>
        </div>
    </div>
<?php endif; ?>