<?php
/*
** Template to Render Social Icons on Top Bar
*/

for ($i = 1; $i < 8; $i++) : 
	$social = esc_html( get_theme_mod('tribal_social_'.$i) );
	if ( ($social != 'none') && ($social != '') ) : ?>
	<a class="hvr-pulse-grow" href="<?php echo esc_url( get_theme_mod('tribal_social_url'.$i) ); ?>"><img src="<?php echo get_template_directory_uri().'/assets/social/'.esc_html( $social ).'.png'; ?>"></i></a>
	<?php endif;

endfor; ?>