generated from bisco/codex-bootstrap
fix: promote social links in contact section
This commit is contained in:
@@ -189,13 +189,16 @@ $social_links = array_values(
|
||||
<p class="lead">Non serve esperienza: basta la curiosità di incontrare il teatro e il gruppo.</p>
|
||||
<p><strong>Dove</strong><br><?php echo esc_html( azionelab_mod( 'contact_address' ) ); ?></p>
|
||||
<?php if ( $social_links ) : ?>
|
||||
<div class="social-links">
|
||||
<?php foreach ( $social_links as $social_link ) : ?>
|
||||
<a href="<?php echo esc_url( $social_link['url'] ); ?>" rel="noopener noreferrer">
|
||||
<?php echo azionelab_social_icon( $social_link['icon'] ); ?>
|
||||
<span><?php echo esc_html( $social_link['label'] ); ?></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
<div class="social-promo">
|
||||
<p class="social-promo-title">Seguici sui social</p>
|
||||
<div class="social-links">
|
||||
<?php foreach ( $social_links as $social_link ) : ?>
|
||||
<a href="<?php echo esc_url( $social_link['url'] ); ?>" rel="noopener noreferrer">
|
||||
<?php echo azionelab_social_icon( $social_link['icon'] ); ?>
|
||||
<span><?php echo esc_html( $social_link['label'] ); ?></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user