お世話になります。
ページ(page.php)に「ニュース」カテゴリー(ID=1)記事の最新一覧と「日記」カテゴリー(ID=3)記事の最新一覧を表示させたいのですが、上位に記述したカテゴリーの記事一覧がどちらの部位にも表示されてしまいます。以下ソース、
<?php $posts = get_posts('category=1&showposts=5'); global $post;?>
<dl>
<?php foreach($posts as $post): ?>
<dt><?php the_time('Y.m.d') ?></dt>
<dd><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a></dd>
<?php endforeach; ?>
</dl>
<?php query_posts('category=3&showposts=5'); ?>
<dl>
<?php while (have_posts()) : the_post(); ?>
<dt><?php the_time('Y.m.d') ?></dt>
<dd><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a></dd>
<?php endwhile;?>
</dl>
ご教授、よろしくお願いいたします。