Project Type
Taxonomy
// Register Custom Taxonomy function project_type() { $labels = array( 'name' => _x( 'Project types', 'Taxonomy General Name', 'sage' ), 'singular_name' => _x( 'Project type', 'Taxonomy Singular Name', 'sage' ), 'menu_name' => __( 'Project Type', 'sage' ), 'all_items' => __( 'All Project Types', 'sage' ), 'parent_item' => __( 'Parent Project Type', 'sage' ), 'parent_item_colon' => __( 'Parent Project Type:', 'sage' ), 'new_item_name' => __( 'New Project Type Name', 'sage' ), 'add_new_item' => __( 'Add New Project Type', 'sage' ), 'edit_item' => __( 'Edit Project Type', 'sage' ), 'update_item' => __( 'Update Project Type', 'sage' ), 'view_item' => __( 'View Project Type', 'sage' ), 'separate_items_with_commas' => __( 'Separate project type with commas', 'sage' ), 'add_or_remove_items' => __( 'Add or remove project type', 'sage' ), 'choose_from_most_used' => __( 'Choose from the most used', 'sage' ), 'popular_items' => __( 'Popular Project Types', 'sage' ), 'search_items' => __( 'Search Project Type', 'sage' ), 'not_found' => __( 'Not Found', 'sage' ), 'no_terms' => __( 'No project types', 'sage' ), 'items_list' => __( 'Project types list', 'sage' ), 'items_list_navigation' => __( 'Project types list navigation', 'sage' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'project_type', array( 'project' ), $args ); } add_action( 'init', 'project_type', 0 );