質問編集履歴

2

誤字

2016/10/13 11:39

投稿

may88seiji
may88seiji

スコア79

test CHANGED
File without changes
test CHANGED
@@ -34,13 +34,13 @@
34
34
 
35
35
  //vars
36
36
 
37
- $image = the_sub_field('profile_image');
37
+ $image = get_sub_field('profile_image');
38
38
 
39
- $name = the_sub_field('profile_name');
39
+ $name = get_sub_field('profile_name');
40
40
 
41
- $status = the_sub_field('profile_status');
41
+ $status = get_sub_field('profile_status');
42
42
 
43
- $bio = the_sub_field('profile_bio');?>
43
+ $bio = get_sub_field('profile_bio');?>
44
44
 
45
45
  <div><img class="profile_img" src="<?php echo $image; ?>" alt="profile01" /></div>
46
46
 

1

追記しました。

2016/10/13 11:39

投稿

may88seiji
may88seiji

スコア79

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
 
6
6
 
7
+ エラー状況
7
8
 
9
+ カスタムフィールドの内容が反映されない
8
10
 
9
11
  ###実現したいこと
10
12
 
@@ -17,6 +19,10 @@
17
19
 
18
20
 
19
21
  ###試したこと
22
+
23
+ 参考にしたサイト
24
+
25
+ https://www.advancedcustomfields.com/resources/repeater/
20
26
 
21
27
  ```php
22
28