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