質問編集履歴
1
コードのphpを削除して、html化しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,23 +21,11 @@
|
|
21
21
|
<div class="top-novel__book">
|
22
22
|
<div class="top-novel__book-inbox">
|
23
23
|
<ul class="top-novel__list">
|
24
|
-
|
24
|
+
|
25
|
-
$paged = get_query_var('paged') ? get_query_var('paged') : 1;
|
26
|
-
$args = array(
|
27
|
-
'post_type' => 'novel',
|
28
|
-
'order' => 'DESC',
|
29
|
-
'posts_per_page' => 4,
|
30
|
-
'paged' => $paged,
|
31
|
-
);
|
32
|
-
$my_query = new WP_Query($args);
|
33
|
-
if ($my_query->have_posts()) :
|
34
|
-
?>
|
35
|
-
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
|
36
25
|
<li class="top-novel__item">
|
37
|
-
<a href="
|
26
|
+
<a href="#"> テストです</a>
|
38
27
|
</li>
|
39
|
-
|
28
|
+
|
40
|
-
<?php endif; ?>
|
41
29
|
</ul>
|
42
30
|
</div>
|
43
31
|
<!-- /.top-novel__book-index -->
|
@@ -139,4 +127,4 @@
|
|
139
127
|
### 補足情報(FW/ツールのバージョンなど)
|
140
128
|
|
141
129
|
ここにより詳細な情報を記載してください。
|
142
|
-
|
130
|
+
テストです
|