RHR_TAX_Status
Status Taxonomy
if ( ! function_exists( 'tax_mietzustand' ) ) { // Register Custom Taxonomy function tax_mietzustand() { $labels = array( 'name' => _x( 'Stati', 'Taxonomy General Name', 'rohrerhof' ), 'singular_name' => _x( 'Status', 'Taxonomy Singular Name', 'rohrerhof' ), 'menu_name' => __( 'Status', 'rohrerhof' ), 'all_items' => __( 'Alle', 'rohrerhof' ), 'parent_item' => __( 'Eltern', 'rohrerhof' ), 'parent_item_colon' => __( 'Eltern', 'rohrerhof' ), 'new_item_name' => __( 'Neuer Status', 'rohrerhof' ), 'add_new_item' => __( 'Neuer Status', 'rohrerhof' ), 'edit_item' => __( 'Status bearbeiten', 'rohrerhof' ), 'update_item' => __( 'Status aktualisieren', 'rohrerhof' ), 'view_item' => __( 'Status ansehen', 'rohrerhof' ), 'separate_items_with_commas' => __( 'Mehrere mit Komma trennen', 'rohrerhof' ), 'add_or_remove_items' => __( 'Status hinzufügen', 'rohrerhof' ), 'choose_from_most_used' => __( 'Aus den beliebtesten wählen', 'rohrerhof' ), 'popular_items' => __( 'Beliebte Stati', 'rohrerhof' ), 'search_items' => __( 'Status suchen', 'rohrerhof' ), 'not_found' => __( 'Nichts gefunden', 'rohrerhof' ), 'no_terms' => __( 'Kein Status', 'rohrerhof' ), 'items_list' => __( 'Liste der Stati', 'rohrerhof' ), 'items_list_navigation' => __( 'Listennavigation', 'rohrerhof' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => false, ); register_taxonomy( 'status', array( 'cpt_loft' ), $args ); } add_action( 'init', 'tax_mietzustand', 0 ); }