title: Wordpress multiple loops and general loop
body: <p>I need creating custom multiple loops for my blog home.php in order to show 3 different content layout of defined category then proceed with the general loop excluding posts ID within the first 3 loops.</p>
  
  <p>So far I made the the 3 different content layout of defined category <code>category_name=arts</code>:</p>
  
  <pre><code>&lt;?php $posts = get_posts('numberposts=1&amp;offset=0'); foreach ($posts as $post) : start_wp(); ?&gt;
  &lt;?php static $count1 = 0; if ($count1 == "1") { break; } else { ?&gt;
  
  &lt;?php the_title(); ?&gt;
  
  &lt;?php $count1++; } ?&gt;
  &lt;?php endforeach; ?&gt;
  
  
  &lt;?php query_posts('category_name=arts&amp;showposts=1'); ?&gt;
  &lt;?php $posts = get_posts('numberposts=1&amp;offset=1'); foreach ($posts as $post) : start_wp(); ?&gt;
  &lt;?php static $count2 = 0; if ($count2 == "1") { break; } else { ?&gt;
  
  &lt;?php the_title(); ?&gt;
  
  &lt;?php $count2++; } ?&gt;
  &lt;?php endforeach; ?&gt;
  
  
  &lt;?php query_posts('category_name=arts&amp;showposts=1'); ?&gt;
  &lt;?php $posts = get_posts('numberposts=1&amp;offset=2'); foreach ($posts as $post) : start_wp(); ?&gt;
  &lt;?php static $count3 = 0; if ($count3 == "1") { break; } else { ?&gt;
  
  &lt;?php the_title(); ?&gt;
  
  &lt;?php $count3++; } ?&gt;
  &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>I did get stuck to proceed with the general loop. Any suggestions are much appreciated.</p>