Finalize term names and add divider

This commit is contained in:
ThemeBoy
2013-11-25 11:32:39 +11:00
parent 102d6d20e1
commit 3d492f4d80
15 changed files with 84 additions and 358 deletions

View File

@@ -1,5 +1,5 @@
<?php
function sp_division_tax_init() {
function sp_div_tax_init() {
$name = __( 'Divisions', 'sportspress' );
$singular_name = __( 'Division', 'sportspress' );
$lowercase_name = __( 'divisions', 'sportspress' );
@@ -12,7 +12,7 @@ function sp_division_tax_init() {
'hierarchical' => true,
'rewrite' => array( 'slug' => 'division' ),
);
register_taxonomy( 'sp_division', $object_type, $args );
register_taxonomy( 'sp_div', $object_type, $args );
}
add_action( 'init', 'sp_division_tax_init' );
add_action( 'init', 'sp_div_tax_init' );
?>