diff --git a/templates/event-performance.php b/templates/event-performance.php index b590574f..86302f87 100644 --- a/templates/event-performance.php +++ b/templates/event-performance.php @@ -44,6 +44,11 @@ foreach( $teams as $index => $team_id ): $data = sp_array_combine( $players, sp_array_value( $data, $team_id, array() ) ); ?>
+ $id, 'index' => $index ) ); + endif; + ?>| - | - | ' . $name . ' | '; + echo ': '; - $role = get_post_meta( $staff_id, 'sp_role', true ); + if ( $link_posts ): + $permalink = get_post_permalink( $staff_id ); + $name = '' . $name . ''; + endif; - // Staff role - echo '' . $role . ' | '; + echo $name . '
|---|