Answers.Body: <p>As you'll only ever be working with one entry I wouldn't bother with the <code>for</code> loop for the first part of your question. Just set a variable with your featured news article. Something like this (not tested though):</p>
  
  <pre><code>{% set featuredArticle = craft.entries.section('news').first() %}
  
  &lt;div class="container" id="featured-news"&gt;
      &lt;div class=col-md-6&gt;
          &lt;h2 class="news-title"&gt;{{ featuredArticle.title }}&lt;/h2&gt;
          &lt;h3 class="news-date"&gt;{{ featuredArticle.postDate.format('F d, Y') }}&lt;/h3&gt;
          &lt;p&gt;
          {{ featuredArticle.body }}
          &lt;/p&gt;
      &lt;/div&gt;
      &lt;img class="col-md-4" src="images/pic-block-pic1.jpg" style="float:right;"&gt;
      &lt;div class="col-xs-12" &gt;
      &lt;a href="{{ featuredArticle.url }}" style="float:right; padding: 20px 0px 20px 0px"&gt;READ FULL STORY...&lt;/a&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>EDIT: Then for the second part of your question this other answer tells you how to exclude an <code>Entry</code>:</p>
  
  <p><a href="https://craftcms.stackexchange.com/a/1276/142">How can I exclude the current entry when I've structured my syntax like this?</a></p>
  
  <p>So from the other article, you'd do:</p>
  
  <pre><code>{% set entries = craft.entries({
    section: 'news'
  }).id('not ' ~ featuredArticle.id) %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-16T12:13:11.253Z
Answers.Text: Thanks very much! That worked a treat.
  
  However the other question you linked me didn't help much. I looked at Craft Docs and found .offset(). Where I can .offset(1) and exclude the first entry from being returned.
Answers.UserDisplayName: Richard
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-16T12:25:00.400Z
Answers.Text: The other answer I linked gives you much more control, you are explicitly telling it which entry you don't want. Later down the line you might decide that rather than it just being the first news article you want to be featured, you might choose a particular article, `offset` won't help in that instance.
Answers.UserDisplayName: Steve Holland
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-16T11:34:36.223Z
Answers.LastActivityDate: 2016-06-16T12:27:17.003Z
Answers.LastEditDate: 2017-04-13T12:50:59.930Z
Answers.UserDisplayName: Steve Holland
Body: <p>I have this this code -</p>
  
  <pre><code>{% for entry in craft.entries.section('news').first() %}
      &lt;div class="container" id="featured-news"&gt;
          &lt;div class=col-md-6&gt;
              &lt;h2 class="news-title"&gt;{{ entry.title }}&lt;/h2&gt;
              &lt;h3 class="news-date"&gt;{{ entry.postDate.format('F d, Y') }}&lt;/h3&gt;
  
              &lt;p&gt;
                  {{ entry.body }}
              &lt;/p&gt;
          &lt;/div&gt;
  
          &lt;img class="col-md-4" src="images/pic-block-pic1.jpg" style="float:right;"&gt;
  
          &lt;div class="col-xs-12" &gt;
              &lt;a href="{{ entry.url }}" style="float:right; padding: 20px 0px 20px 0px"&gt;READ FULL STORY...&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p>I thought the <code>.first()</code> would pick up just the first news story, however it is returning the same container several times.</p>
  
  <p>I then want to return all other entries elsewhere, so what should I include in my code below to do this - </p>
  
  <pre><code>&lt;div class="imgOverview"&gt;
      &lt;ul&gt;
          {% for entry in craft.entries.section('news').find() %}
              &lt;li&gt;
                  &lt;div&gt;&lt;img src="images/pic-block-pic1.jpg" alt=""&gt;&lt;div class="imgOverviewOverlay"&gt;&lt;a href="{{ entry.url }}"&gt;&lt;span&gt;{{ entry.title }}&lt;small&gt;{{ entry.postDate.format('F d, Y') }}&lt;/small&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
              &lt;/li&gt;
          {% endfor %}    
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
Tags: <templating><entry><loop>
Title: How do I get just the first entry with a 'for' loop?
ThreadText: # How do I get just the first entry with a 'for' loop?
  
  (Asked by: username_0 on 2016-06-16)
  
  I have this this code -
  
  ```
  {% for entry in craft.entries.section('news').first() %}
      <div class="container" id="featured-news">
          <div class=col-md-6>
              <h2 class="news-title">{{ entry.title }}</h2>
              <h3 class="news-date">{{ entry.postDate.format('F d, Y') }}</h3>
  
              <p>
                  {{ entry.body }}
              </p>
          </div>
  
          <img class="col-md-4" src="images/pic-block-pic1.jpg" style="float:right;">
  
          <div class="col-xs-12" >
              <a href="{{ entry.url }}" style="float:right; padding: 20px 0px 20px 0px">READ FULL STORY...</a>
          </div>
      </div>
  {% endfor %}
  
  ```
  
  I thought the `.first()` would pick up just the first news story, however it is returning the same container several times.
  
  I then want to return all other entries elsewhere, so what should I include in my code below to do this -
  
  ```
  <div class="imgOverview">
      <ul>
          {% for entry in craft.entries.section('news').find() %}
              <li>
                  <div><img src="images/pic-block-pic1.jpg" alt=""><div class="imgOverviewOverlay"><a href="{{ entry.url }}"><span>{{ entry.title }}<small>{{ entry.postDate.format('F d, Y') }}</small></span></a></div></div>
              </li>
          {% endfor %}    
      </ul>
  </div>
  
  ```
  
  **Tags:** templating, entry, loop
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-16. Score: 5
  
  As you'll only ever be working with one entry I wouldn't bother with the `for` loop for the first part of your question. Just set a variable with your featured news article. Something like this (not tested though):
  
  ```
  {% set featuredArticle = craft.entries.section('news').first() %}
  
  <div class="container" id="featured-news">
      <div class=col-md-6>
          <h2 class="news-title">{{ featuredArticle.title }}</h2>
          <h3 class="news-date">{{ featuredArticle.postDate.format('F d, Y') }}</h3>
          <p>
          {{ featuredArticle.body }}
          </p>
      </div>
      <img class="col-md-4" src="images/pic-block-pic1.jpg" style="float:right;">
      <div class="col-xs-12" >
      <a href="{{ featuredArticle.url }}" style="float:right; padding: 20px 0px 20px 0px">READ FULL STORY...</a>
      </div>
  </div>
  
  ```
  
  EDIT: Then for the second part of your question this other answer tells you how to exclude an `Entry`:
  
  [How can I exclude the current entry when I've structured my syntax like this?](https://craftcms.stackexchange.com/a/1276/142)
  
  So from the other article, you'd do:
  
  ```
  {% set entries = craft.entries({
    section: 'news'
  }).id('not ' ~ featuredArticle.id) %}
  
  ```
  
  > **Comments:**
  > **username_0**: Thanks very much! That worked a treat.  However the other question you linked me didn't help much. I looked at Craft Docs and found .offset(). Where I can .offset(1) and exclude the first entry from being returned.  
  > **username_1**: The other answer I linked gives you much more control, you are explicitly telling it which entry you don't want. Later down the line you might decide that rather than it just being the first news article you want to be featured, you might choose a particular article, `offset` won't help in that instance.  
  
  ---
  
  