Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

taxonomy_argilla

// Register Custom Taxonomy
function exhibitors_nation() {

	$labels = array(
		'name'                       => _x( 'Nazioni Espositori', 'Taxonomy General Name', 'argilla_theme' ),
		'singular_name'              => _x( 'Nazione Espositore', 'Taxonomy Singular Name', 'argilla_theme' ),
		'menu_name'                  => __( 'Nazione Espositore', 'argilla_theme' ),
		'all_items'                  => __( 'Tutti gli elementi', 'argilla_theme' ),
		'parent_item'                => __( 'elemento genitore', 'argilla_theme' ),
		'parent_item_colon'          => __( 'elemento genitore:', 'argilla_theme' ),
		'new_item_name'              => __( 'Nuovo nome elemento', 'argilla_theme' ),
		'add_new_item'               => __( 'Aggiungi nuovo elemento', 'argilla_theme' ),
		'edit_item'                  => __( 'Modifica elemento', 'argilla_theme' ),
		'update_item'                => __( 'Aggiorna elemento', 'argilla_theme' ),
		'view_item'                  => __( 'Vedi elemento', 'argilla_theme' ),
		'separate_items_with_commas' => __( 'Separa elemento con virgola', 'argilla_theme' ),
		'add_or_remove_items'        => __( 'Aggiungi o rimuovi elemento', 'argilla_theme' ),
		'choose_from_most_used'      => __( 'Scegli tra i piu utilizzati', 'argilla_theme' ),
		'popular_items'              => __( 'Elementi popolari', 'argilla_theme' ),
		'search_items'               => __( 'Ricerca elemento', 'argilla_theme' ),
		'not_found'                  => __( 'Non trovato', 'argilla_theme' ),
		'no_terms'                   => __( 'Non sono presenti elementi', 'argilla_theme' ),
		'items_list'                 => __( 'Lista elementi', 'argilla_theme' ),
		'items_list_navigation'      => __( 'Lista di navigazione elementi', 'argilla_theme' ),
	);
	$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( 'exhibitors_nation', array( 'portfolio' ), $args );

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