質問編集履歴

2

見やすいように修正

2019/12/10 12:41

投稿

arraky
arraky

スコア17

test CHANGED
File without changes
test CHANGED
@@ -60,6 +60,8 @@
60
60
 
61
61
 
62
62
 
63
+ ```ここに言語を入力
64
+
63
65
  register_post_type('works',
64
66
 
65
67
  array(
@@ -78,11 +80,11 @@
78
80
 
79
81
  'hierarchical' => false,
80
82
 
81
- 'rewrite' => array('slug' => 'works','with_front' => false),
83
+ 'rewrite' => array('slug' => 'works','with_front' => false),
82
84
 
83
85
  'query_var' => false,
84
86
 
85
- 'has_archive' => true,
87
+ 'has_archive' => true,
86
88
 
87
89
  'exclude_from_search' => false,
88
90
 
@@ -178,6 +180,8 @@
178
180
 
179
181
  add_action( 'init', 'add_taxonomies', 0 );
180
182
 
183
+ ```
184
+
181
185
 
182
186
 
183
187
 

1

タグの追加

2019/12/10 12:41

投稿

arraky
arraky

スコア17

test CHANGED
File without changes
test CHANGED
File without changes