title: Adding different class to first div in loop
body: <p>I have the following code:</p>
  
  <pre><code>&lt;?php while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); ?&gt;
  
  &lt;div class="item"&gt;
    &lt;?php the_post_thumbnail('full');?&gt;
    &lt;div class="container"&gt;
      &lt;div class="carousel-caption"&gt;
        &lt;h1&gt;
          &lt;?php the_title(); ?&gt;
        &lt;/h1&gt;
        &lt;p&gt;
          &lt;?php the_excerpt(); ?&gt;
        &lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;?php endwhile; ?&gt;
  </code></pre>
  
  <p>And I need to add the class "active" to the first div (next to "item")</p>