Staff Roles
Staff roles taxonomy for Seaport
// Register Custom Taxonomy function staff_role() { $labels = array( 'name' => 'Staff Roles', 'singular_name' => 'Staff Role', 'menu_name' => 'Staff Role', 'all_items' => 'All Staff Roles', 'parent_item' => 'Parent Staff Role', 'parent_item_colon' => 'Parent Staff Role:', 'new_item_name' => 'New Staff Role', 'add_new_item' => 'Add New Staff Role', 'edit_item' => 'Edit Staff Role', 'update_item' => 'Update Staff Role', 'view_item' => 'View Staff Role', 'separate_items_with_commas' => 'Separate items with commas', 'add_or_remove_items' => 'Add or remove Staff Roles', 'choose_from_most_used' => 'Choose from the most used', 'popular_items' => 'Popular Staff Roles', 'search_items' => 'Search Staff Roles', 'not_found' => 'Not Found', 'no_terms' => 'No Staff Roles', 'items_list' => 'Staff Roles list', 'items_list_navigation' => 'Staff Roles list navigation', ); $rewrite = array( 'slug' => 'role', 'with_front' => true, 'hierarchical' => true, ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, 'rewrite' => $rewrite, ); register_taxonomy( 'staff_role', array( 'staff' ), $args ); } add_action( 'init', 'staff_role', 0 );