カスタム投稿に関する記述
/*事例集 (work) の設定*/
register_post_type('work', array(
'label' => '事例集',
'public' => true,
'has_archive' => true,
'supports' => array('title','editor','revisions','thumbnail',),
'labels' => array (
'name' => '事例集',
'singular_name' => '事例',
'menu_name' => '事例集',
'add_new' => '新規追加',
'add_new_item' => '新規追加',
'edit' => '編集',
'edit_item' => '事例の編集',
'new_item' => '新規追加',
'view' => '事例を表示',
'view_item' => '事例を表示',
'search_items' => '事例集を検索',
'not_found' => '事例はありません',
'not_found_in_trash' => '事例はありません',
'parent' => '親ページ',
),) );