diff --git a/admin/hooks/manage-posts-columns.php b/admin/hooks/manage-posts-columns.php
index d7389184..588efe07 100644
--- a/admin/hooks/manage-posts-columns.php
+++ b/admin/hooks/manage-posts-columns.php
@@ -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 ' ' . $team_result . '';
+ echo '' . $team_result . ' ';
endif;
+ echo $team->post_title;
+
echo '
';
endforeach;
elseif ( $post_type == 'sp_player' ):
diff --git a/assets/css/admin.css b/assets/css/admin.css
index cc0d86c4..d6bdbd06 100644
--- a/assets/css/admin.css
+++ b/assets/css/admin.css
@@ -72,49 +72,17 @@
content: "\f163";
}
+.widefat .column-sp_team strong {
+ background: #555;
+ color: #fff;
+ padding: 0 4px;
+ border-radius: 2px;
+}
+
.fixed .column-sp_datetime {
width: 10%;
}
-table.wp-list-table .sp_datetime_head, table.wp-list-table .sp_team_head, table.wp-list-table .sp_player_head {
- display: block;
- text-indent: -9999px;
- position: relative;
- height: 1em;
- width: 1em;
- margin: 0 auto;
-}
-
-table.wp-list-table .sp_datetime_head:after, table.wp-list-table .sp_team_head:after, table.wp-list-table .sp_player_head:after {
- font-family: sportspress, dashicons !important;
- speak: none;
- font-weight: 400;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- -webkit-font-smoothing: antialiased;
- margin: 0;
- text-indent: 0;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- text-align: center;
-}
-
-table.wp-list-table .sp_datetime_head:after {
- content: "\f145";
-}
-
-table.wp-list-table .sp_team_head:after {
- content: "\f334";
-}
-
-table.wp-list-table .sp_player_head:after {
- content: "\f307";
-}
-
#sportspress_dashboard_status .inside {
padding: 0;
margin: 0;