title: wordpress exclude last post
body: <p>SHORTER question</p>
  
  <p>I am using this to get recent posts</p>
  
  <pre><code>$args = array(  'posts_per_page' =&gt; 20,  'category' =&gt; $category );
  $postslist = get_posts( $args );
  </code></pre>
  
  <p>but how would I exclude the last post? because for the newest post I want to do something different, for example to include an excerpt. 
  And i can call that separately..</p>
  
  <p>I did some search and apparently there is offset, but I'm not sure if it will interfere with pagination when i get to that.</p>
  
  <p>LONGER explanation
  (In reality, I could do something like $i = 0 and increment it in foreach loop, and if it is $i==0 i can display an excerpt.. but things are getting somehow complicated since I would like to display them with bootstrap columns, so currently i have this code which puts every post inside col-md-3 but if it already has 4 columns in current row then do that in the next row..</p>
  
  <pre><code>    $args = array(  'posts_per_page' =&gt; 20,  'category' =&gt; $category );
      $postslist = get_posts( $args );
  
      $i = 0;
      foreach ( $postslist as $post ) :
      $i++;
      setup_postdata( $post ); ?&gt; 
  
  
      &lt;?php if($i&lt;4) : ?&gt;
  
      &lt;div class="col-md-3"&gt;  the_title() and other stuff &lt;/div&gt;
  
      &lt;?php else : 
      $i = 0; ?&gt;
  
      &lt;div class="row"&gt;
        &lt;div class="col-md-3&gt; the_title() and other stuff &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>