Alıntı
<?php $recent = new WP_Query("cat=1,12&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_content(''); ?>

<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>

<?php endwhile; ?>
örneğini kullanabilirsiniz. 1 ve 12 numaralı kategorilerde bulunan son 10 yazıyı getirecektir.

showposts=10&cat=-1 şeklinde kullanınca da kategori 1 hariç diğer kategorilerden yazıları getirir.

kaynaklar: 1 - 2 - 3