質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -37,6 +37,42 @@
|
|
37
37
|
行いたい事は<div class="***" id="divCount">でループカウントを取り<span class="cnt"></span>にカウント数を表示させ
|
38
38
|
順位としたいと思っています。
|
39
39
|
|
40
|
+
[ループ]
|
41
|
+
<div class="col-sm-6 col-md-4 col-lg-4" id="divCount">
|
42
|
+
<div class="well well-sm">
|
43
|
+
<a href="{url}">
|
44
|
+
<div class="thumb-overlay">
|
45
|
+
<img src="{thumb_url}" alt="{text_title}" class="img-responsive">
|
46
|
+
</div>
|
47
|
+
<span class="post-title title-truncate m-t-5">{text_title}</span>
|
48
|
+
</a>
|
49
|
+
<div class="post-added">順位:<span class="cnt">[カウント数]</span></div>
|
50
|
+
<div class="post-views pull-left">閲覧数:{views}</div>
|
51
|
+
<div class="clearfix"></div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
[ループ]
|
55
|
+
|
56
|
+
上記がループするhtmlタグになります。
|
57
|
+
固定ページ(page-hoge.php)に直接 wp popular posts のコードを書き表示させています。
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
40
76
|
### 発生している問題・エラーメッセージ
|
41
77
|
```
|
42
78
|
Uncaught SyntaxError: missing ) after argument list
|