Clean up player and team details
This commit is contained in:
@@ -83,6 +83,7 @@ class SP_Meta_Box_Player_Details {
|
||||
sp_dropdown_taxonomies( $args );
|
||||
?></p>
|
||||
|
||||
<?php if ( apply_filters( 'sportspress_player_teams', true ) ) { ?>
|
||||
<p><strong><?php _e( 'Current Teams', 'sportspress' ); ?></strong></p>
|
||||
<p><?php
|
||||
$args = array(
|
||||
@@ -112,6 +113,7 @@ class SP_Meta_Box_Player_Details {
|
||||
);
|
||||
sp_dropdown_pages( $args );
|
||||
?></p>
|
||||
<?php } ?>
|
||||
|
||||
<p><strong><?php _e( 'Competitions', 'sportspress' ); ?></strong></p>
|
||||
<p><?php
|
||||
|
||||
@@ -81,6 +81,7 @@ class SP_Meta_Box_Staff_Details {
|
||||
<?php endforeach; ?>
|
||||
</select></p>
|
||||
|
||||
<?php if ( apply_filters( 'sportspress_staff_teams', true ) ) { ?>
|
||||
<p><strong><?php _e( 'Current Teams', 'sportspress' ); ?></strong></p>
|
||||
<p><?php
|
||||
$args = array(
|
||||
@@ -110,6 +111,7 @@ class SP_Meta_Box_Staff_Details {
|
||||
);
|
||||
sp_dropdown_pages( $args );
|
||||
?></p>
|
||||
<?php } ?>
|
||||
|
||||
<p><strong><?php _e( 'Competitions', 'sportspress' ); ?></strong></p>
|
||||
<p><?php
|
||||
|
||||
Reference in New Issue
Block a user