Answers.Body: <pre class="lang-twig prettyprint-override"><code>{% set allEntries = entry.entriesSelector.all() %}
  
  &lt;ul&gt;
      &lt;li&gt;First: {{ allEntries[0].title }}&lt;/li&gt;
      &lt;li&gt;Second: {{ allEntries[1].title }}&lt;/li&gt;
      &lt;li&gt;Fourth: {{ allEntries[3].title }}&lt;/li&gt;
      &lt;li&gt;Last: {{ allEntries|reverse[0].title }}&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-09T10:46:34.910Z
Answers.LastActivityDate: 2020-06-09T11:37:29.753Z
Answers.LastEditDate: 2020-06-09T11:37:29.753Z
Answers.UserDisplayName: James Smith
Body: <p>I have an entries field in a section, I am looking to output a certain selected entry from this field based on its position.</p>
  
  <p>For example I want to out the 2nd or 3rd entry only from this entry field, what is the best way to do this without calling all the entries and looping through them all?</p>
  
Tags: <craft3><entries-field>
Title: Output specific entry from entries field based on position
ThreadText: # Output specific entry from entries field based on position
  
  (Asked by: username_0 on 2020-06-09)
  
  I have an entries field in a section, I am looking to output a certain selected entry from this field based on its position.
  
  For example I want to out the 2nd or 3rd entry only from this entry field, what is the best way to do this without calling all the entries and looping through them all?
  
  **Tags:** craft3, entries-field
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-09. Score: 3 | Accepted answer
  
  ```twig
  {% set allEntries = entry.entriesSelector.all() %}
  
  <ul>
      <li>First: {{ allEntries[0].title }}</li>
      <li>Second: {{ allEntries[1].title }}</li>
      <li>Fourth: {{ allEntries[3].title }}</li>
      <li>Last: {{ allEntries|reverse[0].title }}</li>
  </ul>
  
  ```
  
  
  ---
  
  