Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Bio taxonomy

// Register Custom Taxonomy
function bio_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Bio Taxonomies', 'Taxonomy General Name', 'e451' ),
		'singular_name'              => _x( 'Bio Taxonomy', 'Taxonomy Singular Name', 'e451' ),
		'menu_name'                  => __( 'Bio taxonomy', 'e451' ),
		'all_items'                  => __( 'All bio tax Items', 'e451' ),
		'parent_item'                => __( 'Parent bio tax Item', 'e451' ),
		'parent_item_colon'          => __( 'Parent bio tax Item:', 'e451' ),
		'new_item_name'              => __( 'New bio tax Items name', 'e451' ),
		'add_new_item'               => __( 'Add new bio tax Items', 'e451' ),
		'edit_item'                  => __( 'Edit bio tax Item', 'e451' ),
		'update_item'                => __( 'Update bio tax Item', 'e451' ),
		'view_item'                  => __( 'View bio tax Item', 'e451' ),
		'separate_items_with_commas' => __( 'Separate bio tax Items with commas', 'e451' ),
		'add_or_remove_items'        => __( 'Add or remove bio tax Items', 'e451' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'e451' ),
		'popular_items'              => __( 'Popular bio tax Items', 'e451' ),
		'search_items'               => __( 'Search bio tax Items', 'e451' ),
		'not_found'                  => __( 'Not Found', 'e451' ),
		'no_terms'                   => __( 'No bio tax Items', 'e451' ),
		'items_list'                 => __( 'Bio tax Items list', 'e451' ),
		'items_list_navigation'      => __( 'Bio tax Items list navigation', 'e451' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => true,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'bio_taxonomy', array( 'bio_item' ), $args );

}
add_action( 'init', 'bio_taxonomy', 0 );