<?php
function drk_other_services_post_type(){
	register_post_type('other_services',array(
		"labels"=>array(
			"name" => __('Other services', "drk"),
			"singular_name" => __("Service", "drk"),
			"add_news" => __("Add service", "drk"),
			"edit_news" => __("Edit service", "drk"),
			"delete_news" => __("Delete service", "drk")
		),
		"has_archive" => false,
		"public" => true,
		"publicly_queryable" => false,
		"show_ui" => true,
		"show_in_menu" => true,
		"show_in_rest" => true,
		"supports" => array( 'title', 'editor', 'thumbnail','custom-fields', 'comments', 'excerpt'),
		'taxonomies' => array('post_tag'),
		"can_export" => false,
		"menu_position" => 5,
		"menu_icon" => "dashicons-warning"
	));
}
add_action('init', "drk_other_services_post_type");