title: WordPress Multiple Loops
body: <p>I am getting horribly frustrated trying to build multiple loops in WordPress. I've looked at loads of articles - what am I doing wrong. I placed the following in the loop.php file (because I've built the homepage on this)...</p>
  
  <pre><code>&lt;!--Loop 1--&gt;
  &lt;?php global $query_string; // required
  $posts = query_posts($query_string.'category_name=news&amp;posts_per_page=3');?&gt;
  
  &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  
  &lt;!--Loop 2--&gt;
  &lt;?php wp_reset_query(); // reset the query ?&gt;
  &lt;?php global $query_string2; // required
  $posts = query_posts($query_string2.'category_name=jobs&amp;posts_per_page=3');?&gt;
  
  &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  </code></pre>