query_posts('cat=2'); // указываем ID рубрики, записи из которой мы хотим вывести.
while (have_posts()) : the_post();
// содержимое цикла
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php the_content();
//конец содержимого цикла
endwhile;
wp_reset_query();