function agency_team_member_social()
{
    global $post;
    $teamsocial = get_post_meta($post->ID, 'team-social', false);
    if ($teamsocial != null) {
        agency_social_links($teamsocial[0]);
    }
}
        echo agency_get_theme_option('phone_text');
        ?>
</span><br/>
      <a href="mailto:<?php 
        echo agency_get_theme_option('email_text');
        ?>
"><?php 
        echo agency_get_theme_option('email_text');
        ?>
</a>
    </p>

    <h2>Social Networking</h2>
    <ul class="social">
      <?php 
        agency_social_links();
        ?>
    </ul>
  </section>


<?php 
    }
    ?>

<?php 
} else {
    ?>

<?php 
    /**