質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,12 @@
|
|
13
13
|
function.php
|
14
14
|
|
15
15
|
```php
|
16
|
+
|
17
|
+
add_action( 'init', 'create_post_type' );
|
18
|
+
|
19
|
+
function create_post_type() {
|
20
|
+
|
21
|
+
register_post_type(
|
16
22
|
|
17
23
|
register_post_type(
|
18
24
|
|
@@ -37,6 +43,8 @@
|
|
37
43
|
)
|
38
44
|
|
39
45
|
);
|
46
|
+
|
47
|
+
}
|
40
48
|
|
41
49
|
```
|
42
50
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -37,8 +37,6 @@
|
|
37
37
|
)
|
38
38
|
|
39
39
|
);
|
40
|
-
|
41
|
-
}
|
42
40
|
|
43
41
|
```
|
44
42
|
|