professors taxonomy GR
Professors taxonomy in greek lang. for test
// Register Custom Taxonomy function professor_taxonomy() { $labels = array( 'name' => _x( 'ΚΑΘΗΓΗΤΕΣ', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'ΚΑΘΗΓΗΤΗΣ', 'Taxonomy Singular Name', 'text_domain' ), 'menu_name' => __( 'Καθηγητής', 'text_domain' ), 'all_items' => __( 'ΚΑΘΗΓΗΤΕΣ', 'text_domain' ), 'parent_item' => __( 'ΔΙΕΥΘΗΝΤΗΣ', 'text_domain' ), 'parent_item_colon' => __( 'Parent Item:', 'text_domain' ), 'new_item_name' => __( 'ΝΕΟΣ ΚΑΘΗΓΗΤΗΣ', 'text_domain' ), 'add_new_item' => __( 'προσθέστε νέο καθηγητή', 'text_domain' ), 'edit_item' => __( 'ΔΙΟΡΘΩΣΗ ΣΤΟΙΧΕΙΩΝ', 'text_domain' ), 'update_item' => __( 'ΕΝΗΜΕΡΩΣΗ ΣΤΟΙΧΕΙΩΝ', 'text_domain' ), 'view_item' => __( 'ΠΡΟΒΟΛΗ ΣΤΟΙΧΕΙΩΝ', 'text_domain' ), 'separate_items_with_commas' => __( 'διαχωρίστε καθηγητές με κόμμα', 'text_domain' ), 'add_or_remove_items' => __( 'προσθέστε ή διαχωρίστε καθηγητές', 'text_domain' ), 'choose_from_most_used' => __( 'Επιλέξτε από τους περισσότερο επιλεγμένους', 'text_domain' ), 'popular_items' => __( 'Διάσημοι καθηγητές', 'text_domain' ), 'search_items' => __( 'έρευνα καθηγητών', 'text_domain' ), 'not_found' => __( 'δεν βρέθηκε', 'text_domain' ), ); $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( 'profess_taxon', array( 'profess_type' ), $args ); } // Hook into the 'init' action add_action( 'init', 'professor_taxonomy', 0 );