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