Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Ladoga chars

// Register Custom Post Type
function characteristics() {

	$labels = array(
		'name'                  => 'Характеристики',
		'singular_name'         => 'Характеристика',
		'menu_name'             => 'Характеристики',
		'name_admin_bar'        => 'Характеристики',
		'archives'              => 'Характеристики',
		'attributes'            => 'Свойства',
		'parent_item_colon'     => 'Родитель:',
		'all_items'             => 'Все характеристики',
		'add_new_item'          => 'Добавить характеристику',
		'add_new'               => 'Добавить',
		'new_item'              => 'Новая',
		'edit_item'             => 'Редактировать',
		'update_item'           => 'Обновить',
		'view_item'             => 'Посмотреть',
		'view_items'            => 'Посмотреть записи',
		'search_items'          => 'Поиск',
		'not_found'             => 'Не найдено',
		'not_found_in_trash'    => 'В корзине пусто.',
		'featured_image'        => 'Обложка',
		'set_featured_image'    => 'Установить обложку',
		'remove_featured_image' => 'Удалить обложку',
		'use_featured_image'    => 'Использовать обложку',
		'insert_into_item'      => 'Вставить в запись',
		'uploaded_to_this_item' => 'Uploaded to this item',
		'items_list'            => 'Список',
		'items_list_navigation' => 'Items list navigatioсписокn',
		'filter_items_list'     => 'Filter items list',
	);
	$args = array(
		'label'                 => 'Характеристика',
		'labels'                => $labels,
		'supports'              => array( 'title', 'revisions', ),
		'hierarchical'          => false,
		'public'                => true,
		'show_ui'               => true,
		'show_in_menu'          => true,
		'menu_position'         => 20,
		'menu_icon'             => 'dashicons-editor-ul',
		'show_in_admin_bar'     => false,
		'show_in_nav_menus'     => false,
		'can_export'            => true,
		'has_archive'           => false,		
		'exclude_from_search'   => true,
		'publicly_queryable'    => true,
		'capability_type'       => 'page',
	);
	register_post_type( 'characteristics', $args );

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