diff --git a/event.php b/event.php
index 54ef6157..b1a01835 100644
--- a/event.php
+++ b/event.php
@@ -28,7 +28,7 @@ add_filter( 'the_posts', 'sp_event_display_scheduled' );
function sp_event_meta_init() {
remove_meta_box( 'submitdiv', 'sp_event', 'side' );
add_meta_box( 'submitdiv', __( 'Event', 'sportspress' ), 'post_submit_meta_box', 'sp_event', 'side', 'high' );
- add_meta_box( 'sp_teamdiv', __( 'Teams', 'sportspress' ), 'sp_event_team_meta', 'sp_event', 'normal', 'high' );
+ add_meta_box( 'sp_teamdiv', __( 'Teams', 'sportspress' ), 'sp_event_team_meta', 'sp_event', 'side', 'high' );
add_meta_box( 'sp_articlediv', __( 'Article', 'sportspress' ), 'sp_event_article_meta', 'sp_event', 'normal', 'high' );
}
@@ -59,12 +59,13 @@ function sp_event_team_meta( $post ) {
ID, 'sp_player', false, 'block', 'sp_team', $i );
- sp_post_checklist( $post->ID, 'sp_staff', $i == $limit - 1, 'none', 'sp_team', $i );
+ sp_post_checklist( $post->ID, 'sp_player', 'block', 'sp_team', $i );
+ sp_post_checklist( $post->ID, 'sp_staff', 'none', 'sp_team', $i );
?>
-
-
+
+
\ No newline at end of file
diff --git a/player.php b/player.php
index 1888e78f..3e7607ad 100644
--- a/player.php
+++ b/player.php
@@ -26,7 +26,8 @@ function sp_player_meta_init() {
}
function sp_player_team_meta( $post ) {
- sp_post_checklist( $post->ID, 'sp_team', true );
+ sp_post_checklist( $post->ID, 'sp_team' );
+ sp_post_adder( 'sp_team' );
sp_nonce();
}
diff --git a/staff.php b/staff.php
index a361e15a..a991062c 100644
--- a/staff.php
+++ b/staff.php
@@ -25,7 +25,8 @@ function sp_staff_meta_init() {
add_meta_box( 'sp_profilediv', __( 'Profile' ), 'sp_staff_profile_meta', 'sp_staff', 'normal', 'high' );
}
function sp_staff_team_meta( $post ) {
- sp_post_checklist( $post->ID, 'sp_team', true );
+ sp_post_checklist( $post->ID, 'sp_team' );
+ sp_post_adder( 'sp_team' );
sp_nonce();
}