質問編集履歴
4
文章を追加いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,9 @@
|
|
18
18
|
|
19
19
|
③ iOSシュミレーター(iBBDemo3)で確認すると、2ページ目以降もインスタグラム・フォローボタンが表示される。
|
20
20
|
|
21
|
-
|
21
|
+
④ <?php wp_reset_query(); ?>でquery_postsをリセットしても状況変わらず。
|
22
|
+
|
23
|
+
|
22
24
|
|
23
25
|
![イメージ説明](b175b29ecdcf7ba94f401075b8d45737.jpeg)
|
24
26
|
|
@@ -28,50 +30,48 @@
|
|
28
30
|
|
29
31
|
```
|
30
32
|
|
33
|
+
<?php wp_reset_query(); ?>
|
34
|
+
|
35
|
+
<?php if ( is_home() || is_front_page() ) : ?>
|
36
|
+
|
37
|
+
<?php echo do_shortcode( '[instagram-feed]' ); ?>
|
38
|
+
|
39
|
+
<?php endif; ?>
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
###生成されたhtmlソースコード TOPページのインスタグラム部分
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
###生成されたhtmlソースコード 2ページ目のインスタグラム部分
|
52
|
+
|
53
|
+
```
|
54
|
+
|
55
|
+
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
56
|
+
|
57
|
+
```
|
58
|
+
|
59
|
+
###header.phpソースコード
|
60
|
+
|
61
|
+
```
|
62
|
+
|
31
63
|
<?php
|
32
64
|
|
33
|
-
|
65
|
+
/**
|
34
|
-
|
66
|
+
|
35
|
-
ec
|
67
|
+
* Displays the header section of the theme.
|
68
|
+
|
36
|
-
|
69
|
+
*
|
70
|
+
|
37
|
-
|
71
|
+
*/
|
38
72
|
|
39
73
|
?>
|
40
74
|
|
41
|
-
```
|
42
|
-
|
43
|
-
###生成されたhtmlソースコード TOPページのインスタグラム部分
|
44
|
-
|
45
|
-
```
|
46
|
-
|
47
|
-
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
48
|
-
|
49
|
-
```
|
50
|
-
|
51
|
-
###生成されたhtmlソースコード 2ページ目のインスタグラム部分
|
52
|
-
|
53
|
-
```
|
54
|
-
|
55
|
-
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
56
|
-
|
57
|
-
```
|
58
|
-
|
59
|
-
###header.phpソースコード
|
60
|
-
|
61
|
-
```
|
62
|
-
|
63
|
-
<?php
|
64
|
-
|
65
|
-
/**
|
66
|
-
|
67
|
-
* Displays the header section of the theme.
|
68
|
-
|
69
|
-
*
|
70
|
-
|
71
|
-
*/
|
72
|
-
|
73
|
-
?>
|
74
|
-
|
75
75
|
<!DOCTYPE html>
|
76
76
|
|
77
77
|
<html <?php language_attributes(); ?>>
|
3
試したことを追加いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,14 +6,18 @@
|
|
6
6
|
|
7
7
|
###試したこと
|
8
8
|
|
9
|
-
header.phpに以下のソースコードを追加したが、2ページ目以降を見るとインスタグラムが
|
9
|
+
① header.phpに以下のソースコードを追加したが、2ページ目以降を見るとインスタグラムが
|
10
|
-
|
10
|
+
|
11
|
-
ローディング中になったままで
|
11
|
+
ローディング中になったままでフォローボタンも表示されている。
|
12
12
|
|
13
13
|
生成されたhtmlソースコードを見てもロードされている。
|
14
14
|
|
15
15
|
hearder.phpでTOP画面のみ表示されるようにif文で定義してます。下記ソースコードをご参照ください。
|
16
16
|
|
17
|
+
② Android端末で確認しても、上記①の状態となります。
|
18
|
+
|
19
|
+
③ iOSシュミレーター(iBBDemo3)で確認すると、2ページ目以降もインスタグラム・フォローボタンが表示される。
|
20
|
+
|
17
21
|
|
18
22
|
|
19
23
|
![イメージ説明](b175b29ecdcf7ba94f401075b8d45737.jpeg)
|
2
文章を修正いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
|
11
11
|
ローディング中になったままで、インスタグラムフォローボタンも表示されている。
|
12
12
|
|
13
|
-
|
13
|
+
生成されたhtmlソースコードを見てもロードされている。
|
14
|
+
|
15
|
+
hearder.phpでTOP画面のみ表示されるようにif文で定義してます。下記ソースコードをご参照ください。
|
14
16
|
|
15
17
|
|
16
18
|
|
1
ソースコードを追加いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,22 @@
|
|
34
34
|
|
35
35
|
```
|
36
36
|
|
37
|
+
###生成されたhtmlソースコード TOPページのインスタグラム部分
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
###生成されたhtmlソースコード 2ページ目のインスタグラム部分
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
<div id="sb_instagram" class="sbi sbi_col_3" style="width:80%; padding-bottom: 10px; " data-id="xxxxxxxxxx" data-num="3" data-res="full" data-cols="3" data-options='{"sortby": "none", "headercolor": "", "imagepadding": "5"}'><div id="sbi_images" style="padding: 5px;"><div class="sbi_loader fa-spin"></div></div><div id="sbi_load"><div class="sbi_follow_btn"><a href="http://instagram.com/" style="background: #ef4156; " target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>
|
50
|
+
|
51
|
+
```
|
52
|
+
|
37
53
|
###header.phpソースコード
|
38
54
|
|
39
55
|
```
|