回答編集履歴

1

追記

2018/08/23 05:56

投稿

dit.
dit.

スコア3235

test CHANGED
@@ -1,4 +1,6 @@
1
1
  商品名のところ(ラクビ)`</th>`の`>`が無い(`</th`になってる)
2
+
3
+ オススメ度のところ`</tr>`が1つ多い(追加した<td>が外に出て、そのあとさらに`</tr>`がついてる)
2
4
 
3
5
  詳しく見るのところ3つ目の`img`タグ部分が途中で消えてる
4
6
 
@@ -7,3 +9,121 @@
7
9
 
8
10
 
9
11
  とりあえず気になった部分を指摘しておきます。
12
+
13
+
14
+
15
+ HTML部分だけ修正しておきました
16
+
17
+ ```html
18
+
19
+ <div class="hikakuhyo-body">
20
+
21
+
22
+
23
+ <table>
24
+
25
+ <tr>
26
+
27
+ <th>&nbsp;</th>
28
+
29
+ <th class="product-img"><a href="https://click.j-a-net.jp/1768053/725829/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/calobyeplus_product_s.png" alt="カロバイプラス">カロバイプラス</a></th>
30
+
31
+ <th class="product-img"><a href="https://www.u-u-kan.jp/item/01/lb/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/suppon_product_s.png" alt="肥後すっぽんもろみ酢">肥後すっぽんもろみ酢</a></th>
32
+
33
+ <th class="product-img"><a href="https://www.fancl.co.jp/pub/ot/index_lis.html"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/otonakalomit_product_s.png" alt="ラクビ LAKUBI">ラクビ LAKUBI</a></th>
34
+
35
+ <th class="product-img"><a href="https://www.otsuka-plus1.com/shop/formlp/kenja_trial1504.aspx"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/kenja_product_s.png" alt="賢者の食卓">賢者の食卓</a></th>
36
+
37
+ </tr>
38
+
39
+ <tr>
40
+
41
+ <th>『実感した!』ユーザーの評価</th>
42
+
43
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_otona_point.png" alt="98点" class="point"></td>
44
+
45
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_surattokiriri_point.png" alt="92点" class="point"></td>
46
+
47
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_kokorokaradaanshinyousan_point.png" alt="90点" class="point"></td>
48
+
49
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_kokorokaradaanshinyousan_point.png" alt="90点" class="point"></td>
50
+
51
+ </tr>
52
+
53
+ <tr>
54
+
55
+ <th>全額返金保証</th>
56
+
57
+ <td><strong class="pink">あり</strong></td>
58
+
59
+ <td>なし</td>
60
+
61
+ <td>あり</td>
62
+
63
+ <td>あり</td>
64
+
65
+ </tr>
66
+
67
+ <tr>
68
+
69
+ <th>価格</th>
70
+
71
+ <td><strong class="pink">500円</strong></td>
72
+
73
+ <td>2,740円</td>
74
+
75
+ <td>1,000円</td>
76
+
77
+ <td>1,000円</td>
78
+
79
+ </tr>
80
+
81
+ <tr>
82
+
83
+ <th>1日あたりの価格</th>
84
+
85
+ <td><strong class="pink">17円</strong></td>
86
+
87
+ <td>88円</td>
88
+
89
+ <td>33円</td>
90
+
91
+ <td>33円</td>
92
+
93
+ </tr>
94
+
95
+ <tr>
96
+
97
+ <th>オススメ度</th>
98
+
99
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_otona_star.png" alt="5" class="star"></td>
100
+
101
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_surusuru_star.png" alt="4" class="star"></td>
102
+
103
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_komachi_star.png" alt="3" class="star"></td>
104
+
105
+ <td><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_komachi_star.png" alt="3" class="star"></td>
106
+
107
+ </tr>
108
+
109
+ <tr>
110
+
111
+ <th>詳しく見る</th>
112
+
113
+ <td class="btn-more"><a href="https://click.j-a-net.jp/1768053/725829/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_btn_more_sp.png" alt="公式サイトへ"></a></td>
114
+
115
+ <td class="btn-more"><a href="https://www.u-u-kan.jp/item/01/lb/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_btn_more_sp.png" alt="公式サイトへ"></a></td>
116
+
117
+ <td class="btn-more"><a href="https://www.fancl.co.jp/pub/ot/index_lis.html"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_btn_more_sp.png" alt="公式サイトへ"></a></td>
118
+
119
+ <td class="btn-more"><a href="https://www.fancl.co.jp/pub/ot/index_lis.html"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/images/hikakuhyo_btn_more_sp.png" alt="公式サイトへ"></a></td>
120
+
121
+ </tr>
122
+
123
+ </table>
124
+
125
+
126
+
127
+ </div><!-- .hikakuhyo-body -->
128
+
129
+ ```