Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Nieuws categorieën

Rodi Media

// Register Custom Taxonomy
function nieuws_taxonomy() {

	$labels = array(
		'name'                       => 'Nieuwscategorieën',
		'singular_name'              => 'Nieuwscategorie',
		'menu_name'                  => 'Nieuwscategorieën',
		'all_items'                  => 'Alle nieuwscategorieën',
		'parent_item'                => '',
		'parent_item_colon'          => '',
		'new_item_name'              => '',
		'add_new_item'               => '',
		'edit_item'                  => '',
		'update_item'                => '',
		'view_item'                  => '',
		'separate_items_with_commas' => '',
		'add_or_remove_items'        => '',
		'choose_from_most_used'      => '',
		'popular_items'              => '',
		'search_items'               => '',
		'not_found'                  => '',
	);
	$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( 'nieuws', array( 'nieuws' ), $args );

}

// Hook into the 'init' action
add_action( 'init', 'nieuws_taxonomy', 0 );