Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Russian Taxonomy

// Register Custom Taxonomy
function clients_categories() {

	$labels = array(
		'name'                       => _x( 'Области деятельности', 'Taxonomy General Name', 'pvtheme' ),
		'singular_name'              => _x( 'Область деятельности', 'Taxonomy Singular Name', 'pvtheme' ),
		'menu_name'                  => __( 'Области', 'pvtheme' ),
		'all_items'                  => __( 'Все области', 'pvtheme' ),
		'parent_item'                => __( 'Родительская область', 'pvtheme' ),
		'parent_item_colon'          => __( 'Родительская область:', 'pvtheme' ),
		'new_item_name'              => __( 'Новая область деятельность', 'pvtheme' ),
		'add_new_item'               => __( 'Добавить область', 'pvtheme' ),
		'edit_item'                  => __( 'Изменить область', 'pvtheme' ),
		'update_item'                => __( 'Обновить область', 'pvtheme' ),
		'separate_items_with_commas' => __( 'Разделяйте области запятыми', 'pvtheme' ),
		'search_items'               => __( 'Поиск по областям', 'pvtheme' ),
		'add_or_remove_items'        => __( 'Добавление или удаление областей', 'pvtheme' ),
		'choose_from_most_used'      => __( 'Выберите одну из самых частых областей', 'pvtheme' ),
		'not_found'                  => __( 'Ничего не найдено', 'pvtheme' ),
	);
	$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( 'client_field', array( 'clients' ), $args );

}

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