Fix presets, config post types and Japanese translations

This commit is contained in:
Brian Miyaji
2014-01-05 20:37:08 +11:00
parent c370e352a4
commit f49ec03546
34 changed files with 1507 additions and 1914 deletions

View File

@@ -3,7 +3,7 @@ function sp_position_term_init() {
$name = __( 'Positions', 'sportspress' );
$singular_name = __( 'Position', 'sportspress' );
$lowercase_name = __( 'position', 'sportspress' );
$object_type = array( 'sp_player', 'sp_staff' );
$object_type = array( 'sp_player' );
$labels = sp_tax_labels( $name, $singular_name, $lowercase_name );
$args = array(
'label' => $name,
@@ -14,7 +14,6 @@ function sp_position_term_init() {
);
register_taxonomy( 'sp_position', $object_type, $args );
register_taxonomy_for_object_type( 'sp_position', 'sp_player' );
register_taxonomy_for_object_type( 'sp_position', 'sp_staff' );
}
add_action( 'init', 'sp_position_term_init' );
?>