<p>You can access and loop the entrie in any template like so:</p>

<pre><code>{% for entry in globalSetHandle.entriesFieldHandle %}
    {{ entry.title }}
{% endfor %}
</code></pre>

<p>If you want to change the sort order to show the most recent blog post first use the relatedTo parameter:</p>

<pre><code>{% for entry in craft.entries.relatedTo(globalSetHandle).order('dateUpdated desc') %}
    {{ entry.title }}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2014-11-07T23:56:22.907Z
2014-11-08T00:25:59.690Z
2014-11-08T00:25:59.690Z
carlcs
<p>I am trying to create an easy way to make a sticky post on my blog and I am using an entry field within a global.</p>

<p>Not sure where to even start to pull this out in a template.</p>

<p><img src="https://i.sstatic.net/zH1Rn.png" alt=""></p>

<templating><entry>
How do you pull a entry field in a global out in a template
# How do you pull a entry field in a global out in a template

(Asked by: username_0 on 2014-11-07)

I am trying to create an easy way to make a sticky post on my blog and I am using an entry field within a global.

Not sure where to even start to pull this out in a template.

![](https://i.sstatic.net/zH1Rn.png)

**Tags:** templating, entry

---

## 1 answers

### Answer by username_1 on 2014-11-07. Score: 4

You can access and loop the entrie in any template like so:
{% for entry in globalSetHandle.entriesFieldHandle %}
    {{ entry.title }}
{% endfor %}

If you want to change the sort order to show the most recent blog post first use the relatedTo parameter:
{% for entry in craft.entries.relatedTo(globalSetHandle).order('dateUpdated desc') %}
    {{ entry.title }}
{% endfor %}


---

