Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Taxonomy European Countries

// Register Custom Taxonomy
function register_taxonomy_european_countries() {

	$labels = array(
		'name'                       => _x( 'European Countries', 'Taxonomy General Name', 'genesis' ),
		'singular_name'              => _x( 'European Country', 'Taxonomy Singular Name', 'genesis' ),
		'menu_name'                  => __( 'European Countries', 'genesis' ),
		'all_items'                  => __( 'All European Countries', 'genesis' ),
		'parent_item'                => __( 'Parent European Country', 'genesis' ),
		'parent_item_colon'          => __( 'Parent European Country:', 'genesis' ),
		'new_item_name'              => __( 'New European Country Name', 'genesis' ),
		'add_new_item'               => __( 'Add New European Country', 'genesis' ),
		'edit_item'                  => __( 'Edit European Country', 'genesis' ),
		'update_item'                => __( 'Update European Country', 'genesis' ),
		'view_item'                  => __( 'View European Country', 'genesis' ),
		'separate_items_with_commas' => __( 'Separate European Countries with commas', 'genesis' ),
		'add_or_remove_items'        => __( 'Add or remove European Countries', 'genesis' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'genesis' ),
		'popular_items'              => __( 'Popular European Countries', 'genesis' ),
		'search_items'               => __( 'Search European Countries', 'genesis' ),
		'not_found'                  => __( 'Not Found', 'genesis' ),
		'no_terms'                   => __( 'No European Countries', 'genesis' ),
		'items_list'                 => __( 'European Countries list', 'genesis' ),
		'items_list_navigation'      => __( 'European Countries list navigation', 'genesis' ),
	);
	$rewrite = array(
		'slug'                       => 'ski-resorts',
		'with_front'                 => true,
		'hierarchical'               => false,
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => true,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'european-countries', array( 'ski-domain', 'ski-resort', 'webcams', 'meteo-weather' ), $args );

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