# How to display custom tags

**URL:** <https://forum.ghost.org/t/how-to-display-custom-tags/2475>\
**Category:** Themes\
**Created:** [August 17, 2018, 9:57pm UTC](https://forum.ghost.org/t/how-to-display-custom-tags/2475 "2018-08-17T21:57:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![afern247](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/afern247/32/10894_2.png) [@afern247](https://forum.ghost.org/u/afern247)\
**Post date:** [August 17, 2018, 10:37pm UTC](https://forum.ghost.org/t/how-to-display-custom-tags/2475/2 "2018-08-17T22:37:08Z")

</div>

I feel like everytime I post something I answer to muself lol, maybe not enough time, anyway, this is not on the forum like this anywhere so it’s worth adding, for another front-end noob like me 😛

This is how you can get your posts with a specific tag:

{{#get “posts” filter=“tags:nature”}}

{{#foreach posts}}

\<h3\>

\<a href="{{url}}"\>{{title}}\</a\>

\<span class=“main-time”\>

\<time class=“post-date” datetime="{{date format=‘YYYY-MM-DD’}}"\>{{date format=“DD MMM YYYY”}}\</time\>

\</span\>

\</h3\>

{{/foreach}}

{{/get}}

It has no formating, but the main idea works. Hope it helps 🙂

pd: here is the same result with formating:

![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex015/uploads/ghost2/original/2X/0/084a7cf5b559c58a45d660faca5d0db142327a7f.jpeg)

---

_[View the full topic](https://forum.ghost.org/t/how-to-display-custom-tags/2475)._
