<p>In the Control Panel you'd need to create a <a href="https://craftcms.com/docs/tags#tag-groups" rel="nofollow noreferrer">Tag Group</a> first, which would hold all of you created tags. You then need to create a <a href="https://craftcms.com/docs/tags-fields" rel="nofollow noreferrer">Tags field</a> where you'd select the Tag Group created above as the <code>source</code>. </p>

<p>Once you've done all that, you can now add it to the fields of the <code>entry</code> type in question. If you gave the Tags field the name <code>tags</code> when you create it, you could then refer to it in your template as <code>entry.tags</code>.</p>

<p>In you template, you'd then loop through you tags and output them like this: </p>

<pre><code>{% for tag in entry.tags %}
    {{ tag.title }}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2017-03-13T13:46:12.933Z
2017-03-13T13:54:58.793Z
2017-03-13T13:54:58.793Z
Steve Holland
<p>I'm trying to create a post where in the entry loop I can also post tags.</p>

<pre><code>&lt;a href="URL"&gt;TITLE&lt;/a&gt;
   TAGS
</code></pre>

<p>But in my current understanding there's no way to get the post's tags where I'd assume it would be something like <code>entry.tags</code></p>

<entry><tags>
When posting entries, how do I post tags as well as the title and url?
# When posting entries, how do I post tags as well as the title and url?

(Asked by: username_0 on 2017-03-13)

I'm trying to create a post where in the entry loop I can also post tags.
TITLE
   TAGS

But in my current understanding there's no way to get the post's tags where I'd assume it would be something like entry.tags

**Tags:** entry, tags

---

## 1 answers

### Answer by username_1 on 2017-03-13. Score: 2

In the Control Panel you'd need to create a Tag Group first, which would hold all of you created tags. You then need to create a Tags field where you'd select the Tag Group created above as the source. 
Once you've done all that, you can now add it to the fields of the entry type in question. If you gave the Tags field the name tags when you create it, you could then refer to it in your template as entry.tags.
In you template, you'd then loop through you tags and output them like this: 
{% for tag in entry.tags %}
    {{ tag.title }}
{% endfor %}


---

