title: wordpress, get second newest post
body: <p>I need to get second newest post from wordpress, and I cant do this. I found I lot of tutorials how to get several newest posts, but no how to get only one post that is second in the order (or fifth, or tenth).</p>
  
  <p>I have something like this:</p>
  
  <pre><code>            &lt;?php if ( have_posts() ) : ?&gt;
  
                  &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  
                     &lt;?php if(get_posts()[1] == true) : ?&gt;
  
                      &lt;?php get_template_part( 'content-second-row', ( post_type_supports( get_post_type(), 'post-formats' ) ? get_post_format() : get_post_type() ) ); ?&gt;
  
                      &lt;?php endif; ?&gt;
                  &lt;?php endwhile; ?&gt;
              &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>But, of course it is not working. I tried to get get_post().length. I know, unfortunately I can't use posts id, because there is no one by one.</p>
  
  <p>Please, help me.</p>
  
  <p>Of course, I try to finde something in wordpress codex</p>