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_sponsor_tax_init() {
$name = __( 'Sponsors', 'sportspress' );
$singular_name = __( 'Sponsor', 'sportspress' );
$lowercase_name = __( 'sponsors', 'sportspress' );
$object_type = array( 'sp_team', 'sp_event', 'sp_player', 'sp_tournament', 'sp_venue' );
$labels = sp_tax_labels( $name, $singular_name );
$labels = sp_tax_labels( $name, $singular_name, $lowercase_name );
$args = array(
'label' => $name,
'labels' => $labels,