Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Отделка

Отделка для двери

// Register Custom Taxonomy
function otdelka() {

	$labels = array(
		'name'                       => _x( 'Отделки', 'Taxonomy General Name', 'otdelka' ),
		'singular_name'              => _x( 'Отделка', 'Taxonomy Singular Name', 'otdelka' ),
		'menu_name'                  => __( 'Отделка', 'otdelka' ),
		'all_items'                  => __( 'Отделки', 'otdelka' ),
		'parent_item'                => __( 'Все отделки', 'otdelka' ),
		'parent_item_colon'          => __( 'Все отделки:', 'otdelka' ),
		'new_item_name'              => __( 'Новая отделка', 'otdelka' ),
		'add_new_item'               => __( 'Добавить новую отделку', 'otdelka' ),
		'edit_item'                  => __( 'Редактировать отделку', 'otdelka' ),
		'update_item'                => __( 'Обновить', 'otdelka' ),
		'view_item'                  => __( 'Просмотреть', 'otdelka' ),
		'separate_items_with_commas' => __( 'Separate items with commas', 'otdelka' ),
		'add_or_remove_items'        => __( 'Add or remove items', 'otdelka' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'otdelka' ),
		'popular_items'              => __( 'Popular Items', 'otdelka' ),
		'search_items'               => __( 'Search Items', 'otdelka' ),
		'not_found'                  => __( 'Not Found', 'otdelka' ),
		'no_terms'                   => __( 'No items', 'otdelka' ),
		'items_list'                 => __( 'Items list', 'otdelka' ),
		'items_list_navigation'      => __( 'Items list navigation', 'otdelka' ),
	);
	$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( 'otdelka', array( 'post' ), $args );

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