<p>&quot;Measure twice, cut once&quot; goes the saying... (Kind of the opposite here, but the same principle!) - Fetch your data once, then cut it up how you like using Twig filters. In your case you can fetch the first item from an array with <code>[0]</code> and then slice off that same entry from the start of the same array with <code>|slice(1)</code> like this:</p>
<pre><code>{% paginate craft.entries.section('blog').order('postDate desc').limit(13) as entriesOnPage %}

{% set firstEntry = entriesOnPage[0] %}
{% set theRest = entriesOnPage|slice(1) %}

{# ======================================================================= #}

&lt;h1&gt;{{ firstEntry.title }}&lt;/h1&gt;

{% for entry in theRest %}
    {# OUTPUT 12 Entries not including the first #}
    &lt;h2&gt;{{ entry.title }}&lt;/h2&gt;
{% endfor %}
</code></pre>

CC BY-SA 4.0
2020-12-03T14:31:21.197Z
2020-12-03T15:36:14.500Z
2020-12-03T15:36:14.500Z
James Smith
<p>I'm trying to set up having the first entry pull in and then later down the page pull in the remaining posts (as I need to break the loop with other content). I'm a little unsure how to set up pulling in the 'Not firstEntry' for the second part. This is what I'm working with:</p>
<pre><code>{% paginate craft.entries.section('blog').limit(1) as entriesOnPage %}
{% for entry in entriesOnPage %}
{% set firstEntry = craft.entries.section('blog').order('postDate desc').one() %}

{% if entry.id == firstEntry.id and craft.request.getPageNum() == 1 %}
//output first entry
{% endif %}
{% endfor %}

// DO OTHER STUFF

{% paginate craft.entries.section('blog').limit(12) as entriesOnPage %}
{% for entry in entriesOnPage %}

//OUTPUT 12 Entries not including the first

{% endfor %}
</code></pre>

<entries><loop>
Getting entries excluding the first
# Getting entries excluding the first

(Asked by: username_0 on 2020-12-03)

I'm trying to set up having the first entry pull in and then later down the page pull in the remaining posts (as I need to break the loop with other content). I'm a little unsure how to set up pulling in the 'Not firstEntry' for the second part. This is what I'm working with:
{% paginate craft.entries.section('blog').limit(1) as entriesOnPage %}
{% for entry in entriesOnPage %}
{% set firstEntry = craft.entries.section('blog').order('postDate desc').one() %}

{% if entry.id == firstEntry.id and craft.request.getPageNum() == 1 %}
//output first entry
{% endif %}
{% endfor %}

// DO OTHER STUFF

{% paginate craft.entries.section('blog').limit(12) as entriesOnPage %}
{% for entry in entriesOnPage %}

//OUTPUT 12 Entries not including the first

{% endfor %}

**Tags:** entries, loop

---

## 1 answers

### Answer by username_1 on 2020-12-03. Score: 3 | Accepted answer

"Measure twice, cut once" goes the saying... (Kind of the opposite here, but the same principle!) - Fetch your data once, then cut it up how you like using Twig filters. In your case you can fetch the first item from an array with [0] and then slice off that same entry from the start of the same array with |slice(1) like this:
{% paginate craft.entries.section('blog').order('postDate desc').limit(13) as entriesOnPage %}

{% set firstEntry = entriesOnPage[0] %}
{% set theRest = entriesOnPage|slice(1) %}

{# ======================================================================= #}

{{ firstEntry.title }}

{% for entry in theRest %}
    {# OUTPUT 12 Entries not including the first #}
    {{ entry.title }}
{% endfor %}


---

