get_the_ID(), 'index' => 0, 'link_posts' => get_option( 'sportspress_link_staff', 'yes' ) == 'yes' ? true : false, ); $staffs = array_filter( sp_array_between( (array)get_post_meta( $id, 'sp_staff', false ), 0, $index ) ); if ( ! $staffs ) return; extract( $defaults, EXTR_SKIP ); ?>
role();
if ( $role )
echo $role->name;
else
_e( 'Staff', 'sportspress' );
echo ': ';
if ( $link_posts ):
$permalink = get_post_permalink( $staff_id );
$name = '' . $name . '';
endif;
echo $name . '
';
endforeach;
?>