title: First post different layout
body: <p>I need to have a different layout for the first post in every page, but don't know where to start. The code is the following:</p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  &lt;div class="row"&gt;
  &lt;section class="small-12 columns grid-style"&gt;
  &lt;?php $i = 0; $counter = range(0, 200, 3); ?&gt;
  
    &lt;?php 
    $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
    $args = array('offset'=&gt; 0, 'paged'=&gt;$paged);
    $all_posts = new WP_Query($args);
    if (have_posts()) :  while($all_posts-&gt;have_posts()) : $all_posts-&gt;the_post();?&gt;
  
      &lt;?php if ($i % 3 == 0) { echo '&lt;div class="row journal" data-equal=".post"&gt;'; } ?
  
      &lt;!--Post --&gt;
        &lt;article class="grid-style post" id="post-&lt;?php the_ID(); ?&gt;"
          &lt;div class="post-img"&gt;
              &lt;?php get_template_part( 'inc/postformats/grid-style' ); ?&gt;
          &lt;/div&gt;
          &lt;div class="post-box"&gt;
              &lt;div class="post-title"&gt;
                  &lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" title="&lt;?php the_title(); ?&gt;"&gt;&lt;?php echo ShortenText(get_the_title(), 50); ?&gt;&lt;/a&gt;&lt;/h2&gt;
              &lt;/div&gt;
              &lt;aside class="post_categories"&gt;
                                  &lt;?php the_category(', '); ?&gt;
              &lt;/aside&gt;
              &lt;div class="post-content"&gt;
                  &lt;?php echo ShortenText(get_the_excerpt(), 170); ?&gt;
              &lt;/div&gt;
          &lt;/div&gt;
        &lt;/article&gt;
  
      &lt;!--/Post --&gt;
  
        &lt;?php if (in_array($i + 1, $counter)){ echo '&lt;/div&gt;'; }   ?&gt;
  
    &lt;?php $i++; endwhile; ?&gt;
  
      &lt;div class="small-12 columns"&gt;
        &lt;?php theme_pagination($all_posts-&gt;max_num_pages, 1, true); ?&gt;
      &lt;/div&gt;
    &lt;?php else : ?&gt;
      &lt;p&gt;&lt;?php _e( 'Please add posts from your WordPress admin page.', THB_THEME_NAME ); ?&gt;&lt;/p&gt;
    &lt;?php endif; ?&gt;
  &lt;/section&gt;
  &lt;/div&gt;
  &lt;?php get_footer(); ?&gt;   
  </code></pre>
  
  <p>I need to use a different image size, so I need to output everything inside &lt; ! - - Post - - > again for the first post only.</p>