<p>A limit doesn't make sense on a single element model. But all ElementCriteriaModels have a <code>limit</code> parameter and for <code>craft.tags</code> it is <a href="http://buildwithcraft.com/docs/templating/craft.tags#limit" rel="nofollow">documented here</a>.</p>

<p>To limit the tags related to an entry via a Tags field don't use the <a href="http://buildwithcraft.com/docs/tags-fields#templating" rel="nofollow">shortcut syntax</a>:</p>

<pre><code>{% set tags = entry.tagsFieldHandle %}
</code></pre>

<p>But modify the <code>craft.tags</code> ElementCriteriaModel instead:</p>

<pre><code>{% set tags = craft.tags({
    relatedTo: { sourceElement: entry, field: "tagsFieldHandle" },
    order:     "sortOrder",
    limit:     null
}) %}
</code></pre>

CC BY-SA 3.0
2015-03-18T18:17:10.527Z
I was just about to modify the question just to your freshly updated answer. Nice job!
Dominik Krulak
CC BY-SA 3.0
2015-03-18T18:19:31.510Z
Copied it from the [docs](http://buildwithcraft.com/docs/tags-fields#templating) ;)
carlcs
CC BY-SA 3.0
2015-03-18T18:22:32.127Z
Whatever, You helped, even if It was there.
Dominik Krulak
CC BY-SA 3.0
2015-03-18T17:58:45.817Z
2015-03-18T18:12:29.703Z
2015-03-18T18:12:29.703Z
carlcs
<p>I've checked it with <a href="http://buildwithcraft.com/docs/templating/tagmodel#properties" rel="nofollow">documentation</a> but, tag model doesn't have <code>limit()</code> property as entries have. </p>

<p>Wondering, If there is any way around to achieve it?</p>

<tags>
Is there a way to limit output of Tags related to an entry?
# Is there a way to limit output of Tags related to an entry?

(Asked by: username_0 on 2015-03-18)

I've checked it with [documentation](http://buildwithcraft.com/docs/templating/tagmodel#properties) but, tag model doesn't have `limit()` property as entries have.

Wondering, If there is any way around to achieve it?

**Tags:** tags

---

## 1 answers

### Answer by username_1 on 2015-03-18. Score: 3 | Accepted answer

A limit doesn't make sense on a single element model. But all ElementCriteriaModels have a limit parameter and for craft.tags it is documented here.
To limit the tags related to an entry via a Tags field don't use the shortcut syntax:
{% set tags = entry.tagsFieldHandle %}

But modify the craft.tags ElementCriteriaModel instead:
{% set tags = craft.tags({
    relatedTo: { sourceElement: entry, field: "tagsFieldHandle" },
    order:     "sortOrder",
    limit:     null
}) %}

> **Comments:**
> **username_0**: I was just about to modify the question just to your freshly updated answer. Nice job!  
> **username_1**: Copied it from the [docs](http://buildwithcraft.com/docs/tags-fields#templating) ;)  
> **username_0**: Whatever, You helped, even if It was there.  

---

