<?php if ( lsvr_beautyspot_has_header_contact() ) : ?>
<!-- HEADER CONTACT : begin -->
<div class="header-contact">
<div class="header-contact__inner">
<?php do_action( 'lsvr_beautspot_header_contact_top' ); ?>
<ul class="header-contact__list">
<?php do_action( 'lsvr_beautspot_header_contact_items_before' ); ?>
<?php for ( $i = 1; $i <= 4; $i++ ) : ?>
<?php if ( ! empty( get_theme_mod( 'header_contact_custom' . $i . '_text' ) ) ) : ?>
<li class="header-contact__item <?php if ( ! empty( get_theme_mod( 'header_contact_custom' . $i . '_icon' ) ) ) { echo ' header-contact__item--has-icon'; } ?>">
<?php if ( ! empty( get_theme_mod( 'header_contact_custom' . $i . '_icon' ) ) ) : ?>
<span class="header-contact__item-icon <?php echo esc_attr( get_theme_mod( 'header_contact_custom' . $i . '_icon' ) ); ?>" aria-hidden="true"></span>
<?php endif; ?>
<?php echo wp_kses( get_theme_mod( 'header_contact_custom' . $i . '_text' ), array(
'a' => array(
'href' => array(),
'target' => array(),
),
'br' => array(),
'strong' => array(),
'dl' => array(),
'dt' => array(),
'dd' => array(),
)); ?>
</li>
<?php endif; ?>
<?php endfor; ?>
<?php do_action( 'lsvr_beautspot_header_contact_items_after' ); ?>
</ul>
<?php do_action( 'lsvr_beautspot_header_contact_bottom' ); ?>
</div>
</div>
<!-- HEADER CONTACT : end -->
<?php endif; ?>
|