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_position_tax_init() {
function sp_pos_tax_init() {
$name = __( 'Positions', 'sportspress' );
$singular_name = __( 'Position', 'sportspress' );
$lowercase_name = __( 'position', 'sportspress' );
@@ -12,7 +12,7 @@ function sp_position_tax_init() {
'hierarchical' => true,
'rewrite' => array( 'slug' => 'position' ),
);
register_taxonomy( 'sp_position', $object_type, $args );
register_taxonomy( 'sp_pos', $object_type, $args );
}
add_action( 'init', 'sp_position_tax_init' );
add_action( 'init', 'sp_pos_tax_init' );
?>