Skip to content

Instantly share code, notes, and snippets.

@Umbrous
Created October 12, 2016 15:02
Show Gist options
  • Save Umbrous/424d8356ff93475a2665ad1b787eab9b to your computer and use it in GitHub Desktop.
Save Umbrous/424d8356ff93475a2665ad1b787eab9b to your computer and use it in GitHub Desktop.
$labels3 = array(
'name' => _x('Вакансии', 'post type general name', 'OK'),
'singular_name' => _x('Ваканися', 'post type singular name', 'OK'),
'add_new' => _x('Добавить вакансию', 'infobox', 'OK'),
'add_new_item' => __('Добавить новую вакансию', 'OK'),
'edit_item' => __('Редактировать вакансию', 'OK'),
'new_item' => __('Новая вакансия', 'OK'),
'view_item' => __('Смотреть вакансию', 'OK'),
'search_items' => __('Искать вакансию', 'OK'),
'not_found' => __('Вакансию не найдены', 'OK'),
'not_found_in_trash' => __('Вакансии не найдены', 'OK'),
'parent_item_colon' => ''
);
$args3 = array(
'labels' => $labels3,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => null,
'supports' => array('editor', 'title', 'excerpt' /*'author','comments'*/)
);
register_post_type('jobs', $args3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment