回答編集履歴
2
タイポ修正
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
$args = array(
|
34
34
|
|
35
|
-
'post_type' => 'blog',//blogを
|
35
|
+
'post_type' => 'blog',//blogを囲う文字をシングルクオートに。
|
36
36
|
|
37
37
|
'posts_per_page' => 4
|
38
38
|
|
1
追記しました
test
CHANGED
@@ -23,3 +23,19 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
また、併せて設定>パーマリンク設定>保存を押してください。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
【追記】
|
30
|
+
|
31
|
+
```PHP
|
32
|
+
|
33
|
+
$args = array(
|
34
|
+
|
35
|
+
'post_type' => 'blog',//blogを各文字をシングルクオートに。
|
36
|
+
|
37
|
+
'posts_per_page' => 4
|
38
|
+
|
39
|
+
);
|
40
|
+
|
41
|
+
```
|