This is a little advanced tutorial for wordpress users. Using this tutorial wordpress usres can display posts from a specific or particular category. You can also customize the number of posts that you want to display from that category.
Following code is using to display the posts in a specific category in wordpress.
<?php $catquery = new WP_Query( 'cat=3&posts_per_page=10' ); while($catquery->have_posts()) : $catquery->the_post(); ?> <ul> <li><h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> <ul><li><?php the_content(); ?></li> </ul> </li> </ul> <?php endwhile; ?>
From the above code change the 3 to your category id .
Change the 10 to desired number of posts you want to display.