Bowl Game Taxonomy
// Register Custom Taxonomy
function bowl_taxonomy() {
$labels = array(
'name' => _x( 'Bowl Games', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Bowl Game', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Bowl Games', 'text_domain' ),
'all_items' => __( 'All Bowl Games', 'text_domain' ),
'parent_item' => __( 'Parent Bowl Game', 'text_domain' ),
'parent_item_colon' => __( 'Parent Bowl Game:', 'text_domain' ),
'new_item_name' => __( 'New Bowl Game Name', 'text_domain' ),
'add_new_item' => __( 'Add New Bowl Game', 'text_domain' ),
'edit_item' => __( 'Edit Bowl Game', 'text_domain' ),
'update_item' => __( 'Update Bowl Game', 'text_domain' ),
'view_item' => __( 'View Bowl Game', 'text_domain' ),
'separate_items_with_commas' => __( 'Separate Bowl Games with commas', 'text_domain' ),
'add_or_remove_items' => __( 'Add or remove Bowl Games', 'text_domain' ),
'choose_from_most_used' => __( 'Choose from the most used', 'text_domain' ),
'popular_items' => __( 'Popular Bowl Games', 'text_domain' ),
'search_items' => __( 'Search Bowl Games', 'text_domain' ),
'not_found' => __( 'Not Found', 'text_domain' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
);
register_taxonomy( 'bowl_game', array( 'bowl_recaps', ' bowl_records' ), $args );
}
// Hook into the 'init' action
add_action( 'init', 'bowl_taxonomy', 0 );