質問編集履歴

1

コードの修正

2016/09/17 16:11

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -36,15 +36,15 @@
36
36
 
37
37
  //カスタム投稿1追加
38
38
 
39
- register_post_type( 'test',
39
+ register_post_type( 'customtype',
40
40
 
41
41
  array('labels' =>
42
42
 
43
43
  array(
44
44
 
45
- 'name' => __( 'test' ),
45
+ 'name' => __( 'customtype' ),
46
46
 
47
- 'singular_name' => __( 'test' )
47
+ 'singular_name' => __( 'customtype' )
48
48
 
49
49
  ),
50
50