Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

ALP Tax Rolle

if ( ! function_exists( 'alp_tax_rolle' ) ) {

// Register Custom Taxonomy
function alp_tax_rolle() {

	$labels = array(
		'name'                       => 'Rollen',
		'singular_name'              => 'Rolle',
		'menu_name'                  => 'Rollen',
		'all_items'                  => 'Alle Rollen',
		'parent_item'                => 'Parent Item',
		'parent_item_colon'          => 'Parent Item:',
		'new_item_name'              => 'Neue Rolle',
		'add_new_item'               => 'Neue Rolle hinzufügen',
		'edit_item'                  => 'Rolle bearbeiten',
		'update_item'                => 'Rolle aktualisieren',
		'view_item'                  => 'Rolle ansehen',
		'separate_items_with_commas' => 'Mehrere mit Komma trennen',
		'add_or_remove_items'        => 'Rolle hinzufügen oder entfernen',
		'choose_from_most_used'      => 'Aus den Beliebtesten wählen',
		'popular_items'              => 'Beliebte Rollen',
		'search_items'               => 'Rollen durchsuchen',
		'not_found'                  => 'Nichts gefunden',
		'no_terms'                   => 'Keine Rollen',
		'items_list'                 => 'Rollenliste',
		'items_list_navigation'      => 'Items list navigation',
	);
	$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( 'rollen', array( 'teammitglieder' ), $args );

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

}