Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

FINCOR Project Taxonomy

// Register Custom Taxonomy
function fincor_project_types_custom_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Project Types', 'Taxonomy General Name', 'fincor' ),
		'singular_name'              => _x( 'Project Type', 'Taxonomy Singular Name', 'fincor' ),
		'menu_name'                  => __( 'Project Types', 'fincor' ),
		'all_items'                  => __( 'All Project Types', 'fincor' ),
		'parent_item'                => __( 'Parent Item', 'fincor' ),
		'parent_item_colon'          => __( 'Parent Item:', 'fincor' ),
		'new_item_name'              => __( 'New Project Type', 'fincor' ),
		'add_new_item'               => __( 'Add New Project Type', 'fincor' ),
		'edit_item'                  => __( 'Edit Project Type', 'fincor' ),
		'update_item'                => __( 'Update Project Type', 'fincor' ),
		'view_item'                  => __( 'View Project Type', 'fincor' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'fincor' ),
		'add_or_remove_items'        => __( 'Add or remove property types', 'fincor' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'fincor' ),
		'popular_items'              => __( 'Popular Property Types', 'fincor' ),
		'search_items'               => __( 'Search Property Types', 'fincor' ),
		'not_found'                  => __( 'Not Found', 'fincor' ),
		'no_terms'                   => __( 'No items', 'fincor' ),
		'items_list'                 => __( 'Items list', 'fincor' ),
		'items_list_navigation'      => __( 'Items list navigation', 'fincor' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => false,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'project_types', array( 'projects' ), $args );

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