Home » Tips-n-Tricks » how to show posts from specific category in wordpress

Here is the code to show all post form category.

<?php query_posts('category_name=news&showposts=3'); ?>
<?php while (have_posts()) : the_post(); ?>
	<h3 class="contentheading"><?php the_title(); ?></h3>
    <?php the_content(false); ?>
    <?php if(preg_match("/\<\!\-\-more\-\-\>/", $post->post_content)) { ?>
	<a href="<?php the_permalink(); ?>" class="readon"><?php _re('Read more &raquo;'); ?></a>
	<?php } ?>
    <?php endwhile;?>

more detail about customization please refer
Reference link http://codex.wordpress.org/Template_Tags/query_posts

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS