function vestalite_wp_user_social_profiles($contactmethods) { unset($contactmethods['aim']); unset($contactmethods['yim']); unset($contactmethods['jabber']); $social = vestalite_wp_get_social(); foreach ($social as $soc_id => $soc_name) { if ($soc_id) { $contactmethods[$soc_id] = $soc_name; } } return $contactmethods; }
<?php echo get_avatar(get_the_author_meta('user_email'), apply_filters('bswp_author_bio_avatar_size', 128)); ?> </div><!-- End .author-avatar --> <div class="author-content"> <h5 class="author-name font-alt"><?php printf(__('About %s', 'vestalite'), get_the_author()); ?> </h5> <p><?php the_author_meta('description'); ?> </p> <ul class="social-icon-links socicon-round"> <?php $user_social = vestalite_wp_get_social(); ?> <?php foreach ($user_social as $soc_id => $soc_name) { ?> <?php if ($social_meta = get_the_author_meta($soc_id)) { ?> <li><a href="<?php echo $social_meta; ?> " target="_blank"><i class="fa fa-<?php echo $soc_id; ?> "></i></a></li>