textsalon – CT – standorte – für fotografen
if ( ! function_exists( 'fotografen_standort_ct' ) ) {
// Register Custom Taxonomy
function fotografen_standort_ct() {
$labels = array(
'name' => _x( 'Standorte', 'Taxonomy General Name', 'text_domain' ),
'singular_name' => _x( 'Standort', 'Taxonomy Singular Name', 'text_domain' ),
'menu_name' => __( 'Standort', 'text_domain' ),
'all_items' => __( 'Alle Standorte', 'text_domain' ),
'parent_item' => __( 'Übergeordneter Standort', 'text_domain' ),
'parent_item_colon' => __( 'Übergeordneter Standort:', 'text_domain' ),
'new_item_name' => __( 'Neuer Standortname', 'text_domain' ),
'add_new_item' => __( 'Neuen Standort hinzufügen', 'text_domain' ),
'edit_item' => __( 'Standort bearbeiten', 'text_domain' ),
'update_item' => __( 'Standort aktualisieren', 'text_domain' ),
'view_item' => __( 'Standort ansehen', 'text_domain' ),
'separate_items_with_commas' => __( 'Standorte mit Kommata trennen', 'text_domain' ),
'add_or_remove_items' => __( 'Standorte hinzufügen oder entfernen', 'text_domain' ),
'choose_from_most_used' => __( 'Von den meist genutzten auswählen', 'text_domain' ),
'popular_items' => __( 'Populäre Standorte', 'text_domain' ),
'search_items' => __( 'Standorte durchsuchen', 'text_domain' ),
'not_found' => __( 'Nicht gefunden', 'text_domain' ),
'no_terms' => __( 'Keine Standorte', 'text_domain' ),
'items_list' => __( 'Standortliste', 'text_domain' ),
'items_list_navigation' => __( 'Standortliste Navigation', 'text_domain' ),
);
$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( 'standort_fotografen', array( 'fotografen' ), $args );
}
add_action( 'init', 'fotografen_standort_ct', 0 );
}