Social Module
<div class="social">
<?php get_template_part('module-social'); ?>
</div>
<?php if( get_field('contact_facebook', 'option') ): ?>
<a class="facebook" href="<?php the_field('contact_facebook', 'option'); ?>" target="_blank"></a>
<?php endif; ?>
<?php if( get_field('contact_instagram', 'option') ): ?>
<a class="instagram" href="<?php the_field('contact_instagram', 'option'); ?>" target="_blank"></a>
<?php endif; ?>
<?php if( get_field('contact_twitter', 'option') ): ?>
<a class="twitter" href="<?php the_field('contact_twitter', 'option'); ?>" target="_blank"></a>
<?php endif; ?>
<?php if( get_field('contact_pinterest', 'option') ): ?>
<a class="pinterest" href="<?php the_field('contact_pinterest', 'option'); ?>" target="_blank"></a>
<?php endif; ?>
<?php if( get_field('contact_youtube', 'option') ): ?>
<a class="youtube" href="<?php the_field('contact_youtube', 'option'); ?>" target="_blank"></a>
<?php endif; ?>