Add player lists

This commit is contained in:
Takumi
2013-08-19 21:40:57 +10:00
parent bbaf310465
commit eff882aa55
14 changed files with 126 additions and 23 deletions

View File

@@ -2,8 +2,9 @@
function sp_position_tax_init() {
$name = __( 'Positions', 'sportspress' );
$singular_name = __( 'Position', 'sportspress' );
$lowercase_name = __( 'position', 'sportspress' );
$object_type = array( 'sp_player', 'sp_staff' );
$labels = sp_tax_labels( $name, $singular_name );
$labels = sp_tax_labels( $name, $singular_name, $lowercase_name );
$args = array(
'label' => $name,
'labels' => $labels,