<?php if ( have_posts() && in_category( '13' ) ) : ?>
<?php $metinsarac = new WP_Query("cat='13'&showposts=5"); while($metinsarac ->have_posts()) : $metinsarac ->the_post();?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
<?php endwhile; ?>
<?php endif; ?>Söylediklerinizi doğru anladıysam bu şekilde yaparsanız olacaktır.
Sağolun hocam tamda anlatmak istediğim buydu sorunu hallettim teşekkür ederim.