Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tax Issue Volumes

if ( ! function_exists( 'metc_tax_issue_volume' ) ) {

// Register Custom Taxonomy
function metc_tax_issue_volume() {

	$labels = array(
		'name'                       => _x( 'Issue Volumes', 'Taxonomy General Name', 'text_domain' ),
		'singular_name'              => _x( 'Issue Volume', 'Taxonomy Singular Name', 'text_domain' ),
		'menu_name'                  => __( 'Issue Volume', 'text_domain' ),
		'all_items'                  => __( 'All Issue Volumes', 'text_domain' ),
		'parent_item'                => __( 'Parent Issue Volume', 'text_domain' ),
		'parent_item_colon'          => __( 'Parent Issue Volume:', 'text_domain' ),
		'new_item_name'              => __( 'New Issue Volume Name', 'text_domain' ),
		'add_new_item'               => __( 'Add New Issue Volume', 'text_domain' ),
		'edit_item'                  => __( 'Edit Issue Volume', 'text_domain' ),
		'update_item'                => __( 'Update Issue Volume', 'text_domain' ),
		'view_item'                  => __( 'View Issue Volume', 'text_domain' ),
		'separate_items_with_commas' => __( 'Separate issue volumes with commas', 'text_domain' ),
		'add_or_remove_items'        => __( 'Add or remove issue volumes', 'text_domain' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'text_domain' ),
		'popular_items'              => __( 'Popular Issue Volumes', 'text_domain' ),
		'search_items'               => __( 'Search volume numbers', 'text_domain' ),
		'not_found'                  => __( 'Not Found', 'text_domain' ),
		'no_terms'                   => __( 'No issue volumes', 'text_domain' ),
		'items_list'                 => __( 'Issue Volumes list', 'text_domain' ),
		'items_list_navigation'      => __( 'Issue Volumes list navigation', 'text_domain' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'issue_volume', array( 'niche_mag' ), $args );

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

}