Heres a little snippet that will display recent posts from a specific category in WordPress.
<?php
$catquery = new WP_Query( 'cat=3&posts_per_page=10' );
while($catquery->have_posts()) : $catquery->the_post();
?>
<?php the_title(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
Comments