# Single blog entry: How to display its tags?

**URL:** <https://forum.getkirby.com/t/single-blog-entry-how-to-display-its-tags/3164>\
**Category:** Questions\
**Tags:** v2\
**Created:** [January 30, 2016, 12:13am UTC](https://forum.getkirby.com/t/single-blog-entry-how-to-display-its-tags/3164 "2016-01-30T00:13:49Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 4, 2016, 10:58pm UTC](https://forum.getkirby.com/t/single-blog-entry-how-to-display-its-tags/3164/13 "2016-06-04T22:58:39Z")

</div>

Some sort of caching problem, maybe?

This is the controller I use in a Kirby 2.3 starterkit and which works (but is the same as above anyway, I think)

```auto
<?php

return function($site, $pages, $page) {

  if($tag = urldecode(param('tag'))) {

    $articles = page('blog')->children()->visible()->filterBy('tags', $tag, ',')->flip();
  } else {
    $articles = page('blog')->children()->visible()->flip()->paginate(5);
  }

  $pagination = $articles->pagination();

  return compact('articles', 'pagination');
};

```

---

_[View the full topic](https://forum.getkirby.com/t/single-blog-entry-how-to-display-its-tags/3164)._
