Emphasize team results in admin list
This commit is contained in:
@@ -38,8 +38,6 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
|
||||
if ( ! $team_id ) continue;
|
||||
$team = get_post( $team_id );
|
||||
|
||||
echo $team->post_title;
|
||||
|
||||
$team_results = sportspress_array_value( $results, $team_id, null );
|
||||
|
||||
if ( $main_result ):
|
||||
@@ -54,9 +52,11 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
|
||||
endif;
|
||||
|
||||
if ( $team_result != null ):
|
||||
echo ' <strong>' . $team_result . '</strong>';
|
||||
echo '<strong>' . $team_result . '</strong> ';
|
||||
endif;
|
||||
|
||||
echo $team->post_title;
|
||||
|
||||
echo '<br>';
|
||||
endforeach;
|
||||
elseif ( $post_type == 'sp_player' ):
|
||||
|
||||
Reference in New Issue
Block a user