Clean up player and team details

This commit is contained in:
Brian Miyaji
2015-01-28 20:50:04 +11:00
parent 5c6e827e6c
commit 592c754a1f
3 changed files with 9 additions and 13 deletions

View File

@@ -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

View File

@@ -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