title: Display post only for specific category
body: <p>I am very newbie into wordpress development so i had face a issue for displaying some post for specific category...</p>
  
  <p>Like, I am adding(posting) some images into database for post_picture category...</p>
  
  <p>Now at front end i have a page name Picture Mania where i just want to display only those image which i added into post_picture category...</p>
  
  <p>For this purpose first i installed the <a href="http://wordpress.org/plugins/exec-php/" rel="nofollow">php-exec plugin</a> , and now I am trying to retrieve my desire category images on that page by this code</p>
  
  <pre><code>&lt;?php query_posts('post_picture =post_picture&amp;showposts=5');
  while (have_posts()) : the_post();
    // do whatever you want
  ?&gt;
  &lt;?php get_template_part( 'content', get_post_format() ); ?&gt;
                  &lt;?php cup_post_nav(); ?&gt;
                  &lt;?php comments_template(); ?&gt;
  &lt;b&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" title="Permanent Link to &lt;?php the_title(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
  &lt;?php
  endwhile;
  ?&gt;
  </code></pre>
  
  <p>It working fine, but displaying all category images, so conclusion I am not getting my desire output...</p>
  
  <p>Answer will be much appreciated....and thanks for help in advance</p>