Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Specials 50vitaalplus.nl

// Register Custom Taxonomy
function taxonomy_special() {

	$labels = array(
		'name'                       => _x( 'Specials', 'Taxonomy General Name', 'text_domain' ),
		'singular_name'              => _x( 'Special', 'Taxonomy Singular Name', 'text_domain' ),
		'menu_name'                  => __( 'Specials', 'text_domain' ),
		'all_items'                  => __( 'Alle specials', 'text_domain' ),
		'parent_item'                => __( 'Hoofd special', 'text_domain' ),
		'parent_item_colon'          => __( 'Hoofd special:', 'text_domain' ),
		'new_item_name'              => __( 'Nieuw special', 'text_domain' ),
		'add_new_item'               => __( 'Voeg nieuw special toe', 'text_domain' ),
		'edit_item'                  => __( 'Bewerk special', 'text_domain' ),
		'update_item'                => __( 'Special bijwerken', 'text_domain' ),
		'view_item'                  => __( 'Bekijk special', 'text_domain' ),
		'separate_items_with_commas' => __( 'Scheidt specials met een komma', 'text_domain' ),
		'add_or_remove_items'        => __( 'Beheer specials', 'text_domain' ),
		'choose_from_most_used'      => __( 'Kies uit de meest gebruikte', 'text_domain' ),
		'popular_items'              => __( 'Populaire specials', 'text_domain' ),
		'search_items'               => __( 'Zoek specials', 'text_domain' ),
		'not_found'                  => __( 'Niet gevonden', 'text_domain' ),
		'no_terms'                   => __( 'Geen specials', 'text_domain' ),
		'items_list'                 => __( 'Special lijst', 'text_domain' ),
		'items_list_navigation'      => __( 'Special lijst navigatie', 'text_domain' ),
	);
	$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( 'special', array( 'post' ), $args );

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