Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

tax_regios

if ( ! function_exists( 'tax_regios' ) ) {

// Register Custom Taxonomy
function tax_regios() {

	$labels = array(
		'name'                       => _x( 'Regio's', 'Taxonomy General Name', 'iwnl_co' ),
		'singular_name'              => _x( 'Regio', 'Taxonomy Singular Name', 'iwnl_co' ),
		'menu_name'                  => __( 'Regio's', 'iwnl_co' ),
		'all_items'                  => __( 'Alle Regio's', 'iwnl_co' ),
		'parent_item'                => __( 'Parent Regio', 'iwnl_co' ),
		'parent_item_colon'          => __( 'Parent Regio:', 'iwnl_co' ),
		'new_item_name'              => __( 'Nieuwe regio', 'iwnl_co' ),
		'add_new_item'               => __( 'Voeg regio toe', 'iwnl_co' ),
		'edit_item'                  => __( 'Bewerk regio', 'iwnl_co' ),
		'update_item'                => __( 'Regio bijwerken', 'iwnl_co' ),
		'view_item'                  => __( 'Regio bekijken', 'iwnl_co' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'iwnl_co' ),
		'add_or_remove_items'        => __( 'Regio toevoegen of verwijderen', 'iwnl_co' ),
		'choose_from_most_used'      => __( 'Kies uit de meest gebruikte regio's', 'iwnl_co' ),
		'popular_items'              => __( 'Populaire regio's', 'iwnl_co' ),
		'search_items'               => __( 'Zoek regio's', 'iwnl_co' ),
		'not_found'                  => __( 'Niet gevonden', 'iwnl_co' ),
		'no_terms'                   => __( 'Geen regio's', 'iwnl_co' ),
		'items_list'                 => __( 'Regio lijst', 'iwnl_co' ),
		'items_list_navigation'      => __( 'Regio lijst navigatie', 'iwnl_co' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'Regios', array( 'cursussen' ), $args );

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

}