回答編集履歴

2

修正

2020/01/08 04:23

投稿

KazuhiroHatano
KazuhiroHatano

スコア7804

test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
 
30
30
 
31
- while(have_posts(){
31
+ while(have_posts()){
32
32
 
33
33
  the_post();
34
34
 

1

修正

2020/01/08 04:23

投稿

KazuhiroHatano
KazuhiroHatano

スコア7804

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  ```php
26
26
 
27
- $template=get_post(テンプレートの投稿ID);
27
+ $template=get_post(テンプレートの投稿ID)->post_content;
28
28
 
29
29
 
30
30