diff --git a/assets/css/sportspress.css b/assets/css/sportspress.css
index 93c2c7a0..5a22283a 100644
--- a/assets/css/sportspress.css
+++ b/assets/css/sportspress.css
@@ -276,8 +276,9 @@
background: rgba(0, 0, 0, 0.02);
}
-/* Highlight */
-.sp-highlight {
+/* Highlight & Heading */
+.sp-highlight,
+.sp-heading {
font-weight: bold;
}
diff --git a/includes/admin/post-types/class-sp-admin-cpt-event.php b/includes/admin/post-types/class-sp-admin-cpt-event.php
index 40deaa9d..a7cf843e 100644
--- a/includes/admin/post-types/class-sp-admin-cpt-event.php
+++ b/includes/admin/post-types/class-sp-admin-cpt-event.php
@@ -66,7 +66,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
public function wp_insert_post_data( $data, $postarr ) {
if ( $data['post_type'] == 'sp_event' && $data['post_title'] == '' ):
- if ( 'teams' == get_option( 'sportspress_mode', 'teams' ) ) $post_type = 'sp_team';
+ if ( 'team' == get_option( 'sportspress_mode', 'team' ) ) $post_type = 'sp_team';
else $post_type = 'sp_player';
$teams = sp_array_value( $postarr, $post_type, array() );
@@ -96,7 +96,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
unset( $existing_columns['author'], $existing_columns['comments'] );
$columns = array_merge( array(
'cb' => '',
- 'sp_format' => '',
+ 'sp_format' => '',
'title' => null,
'date' => __( 'Date', 'sportspress' ),
'sp_time' => __( 'Time', 'sportspress' ),
@@ -121,7 +121,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
$formats = new SP_Formats();
$event_formats = $formats->event;
if ( array_key_exists( $format, $event_formats ) ):
- echo '';
+ echo '';
endif;
break;
case 'sp_time':
@@ -162,7 +162,7 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
$team_results = implode( ' | ', $team_results );
endif;
- echo '' . ( $team_result == '' ? '-' : $team_result ) . '';
+ echo '' . ( $team_result == '' ? '-' : $team_result ) . '';
echo ' ';
echo $team->post_title;
echo '
';
@@ -175,11 +175,6 @@ class SP_Admin_CPT_Event extends SP_Admin_CPT {
-
-
-
-
-
'sp_team[]', 'class' => 'sportspress-pages', 'show_option_none' => __( '— None —', 'sportspress' ), - 'show_option_all' => __( '— Individual —', 'sportspress' ), 'values' => 'ID', 'selected' => $team, ); @@ -88,7 +87,7 @@ class SP_Meta_Box_Event_Teams { * Save meta box data */ public static function save( $post_id, $post ) { - if ( 'teams' == get_option( 'sportspress_mode', 'teams' ) ) { + if ( 'team' == get_option( 'sportspress_mode', 'team' ) ) { sp_update_post_meta_recursive( $post_id, 'sp_team', sp_array_value( $_POST, 'sp_team', array() ) ); } sp_update_post_meta_recursive( $post_id, 'sp_player', sp_array_value( $_POST, 'sp_player', array() ) ); diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php index 1683ee4c..b8613369 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php @@ -98,13 +98,12 @@ class SP_Meta_Box_Player_Statistics {
| + | $label ): ?> |
|---|