Hi Bradley,
I got the icons added to the main page. You need to add the inc folder from the plugin to your theme, and edit the staffer-grid.php file. Copy the social media code from the single-staff.php file and paste it where you want it to show up in the staffer-grid.php file.
Now I haven’t fully tested this yet, but it seems to be picking up the individual social media links and it’s not throwing any errors.
This is the code from the single-staffer.php page
<div class=”staffer-staff-social-links”>
<?php
// social + contact links
if ( get_post_meta ($post->ID,’staffer_staff_fb’, true) != ” ) { ?>
ID,’staffer_staff_fb’, true); ?>” target=”_blank”>
<i class=”fa fa-facebook fa-fw”></i>
<?php
}
if ( get_post_meta ($post->ID,’staffer_staff_gplus’, true) != ” ) { ?>
ID,’staffer_staff_gplus’, true); ?>” target=”_blank”>
<i class=”fa fa-google-plus fa-fw”></i>
<?php }
if ( get_post_meta ($post->ID,’staffer_staff_twitter’, true) != ” ) { ?>
ID,’staffer_staff_twitter’, true); ?>” target=”_blank”>
<i class=”fa fa-twitter fa-fw”></i>
<?php }
if ( get_post_meta ($post->ID,’staffer_staff_linkedin’, true) != ” ) { ?>
ID,’staffer_staff_linkedin’, true); ?>” target=”_blank”>
<i class=”fa fa-linkedin fa-fw”></i>
<?php }
if ( get_post_meta ($post->ID,’staffer_staff_email’, true) != ” ) {
$email = get_post_meta ($post->ID,’staffer_staff_email’, true); ?>
?Subject=<?php _e (‘Contact from ‘, ‘staffer’); ?><?php bloginfo(‘name’); ?>” target=”_blank”>
<i class=”fa fa-envelope fa-fw”></i>
<?php }
if ( get_post_meta ($post->ID,’staffer_staff_website’, true) != ” ) {
$website = get_post_meta ($post->ID,’staffer_staff_website’, true); ?>
ID,’staffer_staff_website’, true); ?>” target=”_blank”>
<i class=”fa fa-user fa-fw”></i>
<?php }
if ( get_post_meta ($post->ID,’staffer_staff_phone’, true) != ” ) {
$phone = get_post_meta ($post->ID,’staffer_staff_phone’, true); ?>
<span><?php echo get_post_meta ($post->ID,’staffer_staff_phone’, true); ?></span>
<?php }
?>
</div>
Hope this helps!