質問編集履歴
5
確認したOSとwordpressテンプレート名を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -147,3 +147,27 @@
|
|
147
147
|
該当URLです。
|
148
148
|
|
149
149
|
http://www.yamanoco.com/
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
追記)
|
154
|
+
|
155
|
+
◼️確認したOS
|
156
|
+
|
157
|
+
・iMac 10.13.3
|
158
|
+
|
159
|
+
chrome(68.0.3440.106最新版)
|
160
|
+
|
161
|
+
Safari(11.0.3)
|
162
|
+
|
163
|
+
・iPhone SE
|
164
|
+
|
165
|
+
Safari(11.0)
|
166
|
+
|
167
|
+
・IE11(バージョン不明)
|
168
|
+
|
169
|
+
◼️Wordpressテンプレート
|
170
|
+
|
171
|
+
minar
|
172
|
+
|
173
|
+
http://wp.regaltheme.com/minar/
|
4
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
3
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
2
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
head内の記述がなかったため足してみました
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,9 +30,51 @@
|
|
30
30
|
|
31
31
|
### 該当のソースコード
|
32
32
|
|
33
|
+
```html
|
34
|
+
|
35
|
+
<link rel="stylesheet" href="http://www.yamanoco.com/wp-content/themes/minar-child/css/slider-pro.min.css"/>
|
36
|
+
|
37
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
38
|
+
|
39
|
+
<script src="http://www.yamanoco.com/wp-content/themes/minar-child/js/jquery.sliderPro.min.js"></script>
|
40
|
+
|
41
|
+
<script>
|
42
|
+
|
43
|
+
$( document ).ready(function( $ ) {
|
44
|
+
|
45
|
+
$( '#slider3' ).sliderPro({
|
46
|
+
|
47
|
+
width: '100%',//横幅
|
48
|
+
|
49
|
+
arrows: false,//左右の矢印を出す
|
50
|
+
|
51
|
+
buttons: true,//ナビゲーションボタンを出す
|
52
|
+
|
53
|
+
aspectRatio: 1.5,//スライドのアスペクト比
|
54
|
+
|
55
|
+
forceSize: 'fullWidth',//ウィンドウ内全画面表示
|
56
|
+
|
57
|
+
slideDistance:0,//スライド同士の距離
|
58
|
+
|
59
|
+
responsive:true,
|
60
|
+
|
61
|
+
aspectRatio:3,
|
62
|
+
|
63
|
+
fade:true,
|
64
|
+
|
65
|
+
});
|
66
|
+
|
67
|
+
});
|
33
68
|
|
34
69
|
|
70
|
+
|
71
|
+
</script>
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
|
76
|
+
|
35
|
-
```
|
77
|
+
```php
|
36
78
|
|
37
79
|
<?php if(is_page( '112' )): ?>
|
38
80
|
|