Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

汎用日本語カスタムタクソノミー

// Register Custom Taxonomy
function ctx_marubun_works() {

	$labels = array(
		'name'                       => '施工事例カテゴリ',
		'singular_name'              => '施工事例カテゴリ',
		'menu_name'                  => '施工事例カテゴリ',
		'all_items'                  => 'すべての施工事例カテゴリ',
		'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'                  => '',
		'no_terms'                   => '',
		'items_list'                 => '',
		'items_list_navigation'      => '',
	);
	$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( 'work_cat', array( 'work' ), $args );

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