Person Type Tax
Person Types for the cge.
if ( ! function_exists( 'cge_person_type_tax' ) ) { // Register Custom Taxonomy function cge_person_type_tax() { $labels = array( 'name' => 'Person Types', 'singular_name' => 'Person Type', 'menu_name' => 'Person Type', 'all_items' => 'All Person Types', 'parent_item' => 'Parent Person Type', 'parent_item_colon' => 'Parent Person Type:', 'new_item_name' => 'New Person Type Name', 'add_new_item' => 'Add New Person Type', 'edit_item' => 'Edit Person Type', 'update_item' => 'Update Person Type', 'view_item' => 'View Person Type', 'separate_items_with_commas' => 'Separate Person Types with commas', 'add_or_remove_items' => 'Add or remove Person Types', 'choose_from_most_used' => 'Choose from the most used', 'popular_items' => 'Popular Person Types', 'search_items' => 'Search Person Types', 'not_found' => 'Not Found', 'no_terms' => 'No Person Types', 'items_list' => 'Person Types list', 'items_list_navigation' => 'Person Types list navigation', ); $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( 'person-type', array( 'people' ), $args ); } add_action( 'init', 'cge_person_type_tax', 0 ); }