質問編集履歴
3
コードをcodeタグ内で記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,13 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
|
13
|
+
ソース
|
14
|
+
|
15
|
+
<?php echo $class; ?>の値が反映されない?
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
```ここに言語を入力
|
14
20
|
|
15
21
|
<?php
|
16
22
|
|
@@ -50,7 +56,7 @@
|
|
50
56
|
|
51
57
|
<div class="col-xs-6 col-md-3">
|
52
58
|
|
53
|
-
<div class="thumbnail
|
59
|
+
<div class="thumbnail <?php echo $class; ?>">
|
54
60
|
|
55
61
|
<?php if( !empty($url) ){ ?><a href="https://wordpress.org/plugins/navz-photo-gallery/<?php echo $url; ?>" <?php echo ($target == 'true' )? 'target="_blank"': ''; ?>><?php } ?>
|
56
62
|
|
@@ -63,3 +69,5 @@
|
|
63
69
|
</div>
|
64
70
|
|
65
71
|
<?php endforeach; endif; ?>
|
72
|
+
|
73
|
+
```
|
2
参考URL追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,14 @@
|
|
3
3
|
サンプルソースに太字部分を記述すれば、表示されるはずのような気がするんですが、うまくいかず。。。
|
4
4
|
|
5
5
|
|
6
|
+
|
7
|
+
プラグインページURL
|
8
|
+
|
9
|
+
https://ja.wordpress.org/plugins/navz-photo-gallery/
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
サンプルソース
|
6
14
|
|
7
15
|
<?php
|
8
16
|
|
1
太字の変数が間違っていた
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ACF Photo Gallery Field
|
1
|
+
ACF Photo Gallery Fieldでカスタムクラスを、テンプレートに反映したい
|
test
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
<div class="col-xs-6 col-md-3">
|
44
44
|
|
45
|
-
<div class="thumbnail **<?php echo $
|
45
|
+
<div class="thumbnail **<?php echo $class; ?>**">
|
46
46
|
|
47
47
|
<?php if( !empty($url) ){ ?><a href="https://wordpress.org/plugins/navz-photo-gallery/<?php echo $url; ?>" <?php echo ($target == 'true' )? 'target="_blank"': ''; ?>><?php } ?>
|
48
48
|
|