title: how to get all the id's of posts made under specific category in wordpress
body: <p>I am trying to get all the ID's of posts which I have made in a specific category. </p>
  
  <p>I have created a category in WordPress e.g <code>web-articals</code>. </p>
  
  <p>I have created some posts and linked those with <code>web-articals</code> category. 
  Now I want to display the content of post whichI have created inside that category and for that I want all the post ID's inside that category. </p>
  
  <p>How can I get ID's off all the post inside of web-articals category?</p>
  
  <pre><code>&lt;?php
  
  query_posts( array ( 'category_name' =&gt; 'web articals', 'posts_per_page' =&gt; -1, 'order' =&gt; ASC  ) );
  
  // The Loop
  while ( have_posts() ) : the_post(); ?&gt;
  
      &lt;li&gt;
      &lt;a href="&lt;?php the_permalink() ?&gt;" title="&lt;?php the_title(); ?&gt;" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
        &lt;/li&gt; 
        &lt;?php
  endwhile;
  
  // Reset Query
  wp_reset_query();
  
  ?&gt;
  </code></pre>
  
  <p>I have tried this but dis way of doing it but dis dispalys only the title of the posts in unordered list:
  e.g</p>
  
  <ul>
  <li>Frame Work   &lt;----- these are my post titles </li>
  <li>Open Source</li>
  <li>Model–View–Controller (MVC)</li>
  </ul>
  
  <p>but i want somthing which look like </p>
  
  <ul>
  <li>Frame Work</li>
  </ul>
  
  <p>"content of my post  frame works"</p>
  
  <ul>
  <li>Open Source</li>
  </ul>
  
  <p>" content ofmy post Open Source"</p>
  
  <ul>
  <li>Model–View–Controller (MVC)</li>
  </ul>
  
  <p>"content of my post"</p>