title: How to wrap every 3 div's contents in a div?
body: <p>I need every three divs of class "loopcontent" to be wrapped in a new div of class "threeacross". I'm new to WordPress and really not a PHP guy yet, but I'm learning as I go.</p>
  
  <p>Here's my loop:</p>
  
  <pre><code>        &lt;?php if(have_posts()) : while(have_posts()) : the_post(); ?&gt;
              &lt;div class="loopcontent"&gt;
                  &lt;?php
                      if ( has_post_thumbnail() ) {
                          the_post_thumbnail();
                      } else {
                          // the current post lacks a thumbnail
                      }
                  ?&gt;
                  &lt;h1&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;
                  &lt;?php the_excerpt(); ?&gt;
              &lt;/div&gt;
  
          &lt;?php endwhile; else : ?&gt;
  
              &lt;div class="loopcontent"&gt;
                  &lt;h1&gt;Page Not Found&lt;/h1&gt; 
                  &lt;p&gt;Looks like the page you're looking for isn't here anymore. Try browsing the &lt;a href=""&gt;categories&lt;/a&gt;, &lt;a href=""&gt;archives&lt;/a&gt;, or using the search box below.&lt;/p&gt;
                  &lt;?php include(TEMPLATEPATH.'/searhform.php'); ?&gt;
              &lt;/div&gt;
  
          &lt;?php endif; ?&gt;
  </code></pre>