next_posts_linkについて
-
<?php
$categorys = array(4);
for ($i=0; $i<count($categorys); $i++) :
?>
<?php
query_posts(‘showposts=5&cat=’.$categorys[$i]);
if (have_posts()) : while (have_posts()) : the_post();
?>
//
略
<?php endwhile; endif; ?>
<?php endfor; ?>
</dl>
<p><?php previous_posts_link(‘«PREV’); ?></p>
<p><?php next_posts_link(‘NEXT»’); ?></p>NEXTページをクリックしても同じ内容しか表示されません。
すみませんがご教授お願いします。
6件の返信を表示中 - 1 - 6件目 (全6件中)
6件の返信を表示中 - 1 - 6件目 (全6件中)
- トピック「next_posts_linkについて」には新たに返信することはできません。