質問するログイン新規登録

質問編集履歴

1

HTMLを追加しました。

2017/10/06 03:14

投稿

sleeeep12
sleeeep12

スコア36

title CHANGED
File without changes
body CHANGED
@@ -42,7 +42,43 @@
42
42
  });
43
43
  ```
44
44
 
45
+ ```
46
+ <div class="Plan_stay_button">
47
+ <div class="Plan_stay_button_1">
48
+ <img class="Plan_stay_button_background1 Hide" src="<?php echo esc_url(get_template_directory_uri());?>/works/img/plan/plan-switch1.png" alt="">
49
+ <?php $locale = get_locale();
50
+ if ('ja' == $locale ) { ?>
51
+ <p class="Plan_stay_button_text1">4月 〜 10月 ◀︎</p>
52
+ <?php } else { ?>
53
+ <p class="Plan_stay_button_text1">April to October ◀︎</p>
54
+ <?php } ?>
55
+ </div>
56
+ <div class="Plan_stay_button_2">
57
+ <div class="Plan_stay_button_2_click">
58
+ </div>
59
+ <img class="Plan_stay_button_background2" src="<?php echo esc_url(get_template_directory_uri());?>/works/img/plan/plan-switch2.png" alt="">
60
+ <?php $locale = get_locale();
61
+ if ('ja' == $locale ) { ?>
62
+ <p class="Plan_stay_button_text2">11月 〜 3月 ◀︎</p>
63
+ <?php } else { ?>
64
+ <p class="Plan_stay_button_text2">November to March ◀︎</p>
65
+ <?php } ?>
66
+ </div>
67
+ </div>
45
68
 
69
+
70
+
71
+ <svg version="1.1" id="canvas" class="Plan_other_illust Plan_other_absolute svgPlan" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
72
+ y="0px" viewBox="0 0 1000 520.2" style="enable-background:new 0 0 1000 520.2;" xml:space="preserve">
73
+ [...]
74
+ </svg>
75
+
76
+ <svg version="1.1" id="canvas2" class="Plan_winter_illust Plan_winter_absolute svgPlan" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
77
+ y="0px" viewBox="0 0 1000 520.2" style="enable-background:new 0 0 1000 520.2;" xml:space="preserve">
78
+ [...]
79
+ </svg>
80
+ ```
81
+
46
82
  気になったのが、複数あるページのうちの1つにだけそのsvgを扱っていて、そのページでは開発ツールはエラーを言って来ません。
47
83
  svgファイルを使ってない他のページでエラーを言って来ます。
48
84