add_action('init', 'cptui_register_my_cpt_zabol');
function cptui_register_my_cpt_zabol() {
register_post_type('zabol', array(
'label' => 'справочник заболеваний',
'description' => '',
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'capability_type' => 'post',
'map_meta_cap' => true,
'hierarchical' => false,
'rewrite' => array('slug' => 'zabol', 'with_front' => true),
'query_var' => true,
'has_archive' => true,
'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes','post-formats'),
'taxonomies' => array('post_tag'),
'labels' => array (
'name' => 'справочник заболеваний',
'singular_name' => 'zabol',
'menu_name' => 'Заболевания',
'add_new' => 'Add zabol',
'add_new_item' => 'Add New zabol',
'edit' => 'Edit',
'edit_item' => 'Edit zabol',
'new_item' => 'New zabol',
'view' => 'View zabol',
'view_item' => 'View zabol',
'search_items' => 'Search справочник заболеваний',
'not_found' => 'No справочник заболеваний Found',
'not_found_in_trash' => 'No справочник заболеваний Found in Trash',
'parent' => 'Parent zabol',
)
) ); }
add_action('init', 'cptui_register_my_cpt_specialnost');
function cptui_register_my_cpt_specialnost() {
register_post_type('specialnost', array(
'label' => 'Справочник медицинских специальностей',
'description' => '',
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'capability_type' => 'post',
'map_meta_cap' => true,
'hierarchical' => false,
'rewrite' => array('slug' => 'specialnost', 'with_front' => true),
'query_var' => true,
'has_archive' => true,
'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes','post-formats'),
'taxonomies' => array('post_tag'),
'labels' => array (
'name' => 'Справочник медицинских специальностей',
'singular_name' => 'specialnost',
'menu_name' => 'Справочник медицинских специальностей',
'add_new' => 'Add specialnost',
'add_new_item' => 'Add New specialnost',
'edit' => 'Edit',
'edit_item' => 'Edit specialnost',
'new_item' => 'New specialnost',
'view' => 'View specialnost',
'view_item' => 'View specialnost',
'search_items' => 'Search Справочник медицинских специальностей',
'not_found' => 'No Справочник медицинских специальностей Found',
'not_found_in_trash' => 'No Справочник медицинских специальностей Found in Trash',
'parent' => 'Parent specialnost',
)
) ); }
add_action('init', 'cptui_register_my_cpt_oborud');
function cptui_register_my_cpt_oborud() {
register_post_type('oborud', array(
'label' => 'Справочник медицинского оборудования',
'description' => '',
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'capability_type' => 'post',
'map_meta_cap' => true,
'hierarchical' => false,
'rewrite' => array('slug' => 'oborud', 'with_front' => true),
'query_var' => true,
'has_archive' => true,
'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes','post-formats'),
'taxonomies' => array('post_tag'),
'labels' => array (
'name' => 'Справочник медицинского оборудования',
'singular_name' => 'oborud',
'menu_name' => 'Справочник медицинского оборудования',
'add_new' => 'Add oborud',
'add_new_item' => 'Add New oborud',
'edit' => 'Edit',
'edit_item' => 'Edit oborud',
'new_item' => 'New oborud',
'view' => 'View oborud',
'view_item' => 'View oborud',
'search_items' => 'Search Справочник медицинского оборудования',
'not_found' => 'No Справочник медицинского оборудования Found',
'not_found_in_trash' => 'No Справочник медицинского оборудования Found in Trash',
'parent' => 'Parent oborud',
)
) ); }
add_action('init', 'cptui_register_my_cpt_meduslugi');
function cptui_register_my_cpt_meduslugi() {
register_post_type('meduslugi', array(
'label' => 'Справочник медицинских услуг',
'description' => '',
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'capability_type' => 'post',
'map_meta_cap' => true,
'hierarchical' => false,
'rewrite' => array('slug' => 'meduslugi', 'with_front' => true),
'query_var' => true,
'has_archive' => true,
'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes','post-formats'),
'taxonomies' => array('post_tag'),
'labels' => array (
'name' => 'Справочник медицинских услуг',
'singular_name' => 'meduslugi',
'menu_name' => 'Справочник медицинских услуг',
'add_new' => 'Add meduslugi',
'add_new_item' => 'Add New meduslugi',
'edit' => 'Edit',
'edit_item' => 'Edit meduslugi',
'new_item' => 'New meduslugi',
'view' => 'View meduslugi',
'view_item' => 'View meduslugi',
'search_items' => 'Search Справочник медицинских услуг',
'not_found' => 'No Справочник медицинских услуг Found',
'not_found_in_trash' => 'No Справочник медицинских услуг Found in Trash',
'parent' => 'Parent meduslugi',
)
) ); } |