# Actions and markup: Icons vs Tags

**URL:** https://meta.discourse.org/t/actions-and-markup-icons-vs-tags/85741
**Category:** UX
**Created:** [April 19, 2018, 7:16pm UTC](https://meta.discourse.org/t/actions-and-markup-icons-vs-tags/85741 "2018-04-19T19:16:45Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 19, 2018, 10:14pm UTC](https://meta.discourse.org/t/actions-and-markup-icons-vs-tags/85741/7 "2018-04-19T22:14:43Z")

</div>

Also, I think that if [you](https://meta.discourse.org/t/can-we-make-it-more-obvious-that-a-topic-is-solved/58378/9) [really](https://meta.discourse.org/t/a-roadmap-for-tags/85459) [want](https://meta.discourse.org/t/can-we-make-it-more-obvious-that-a-topic-is-solved/58378/10) this autotag everything feature in your forum, just post it to #Marketplace. It’s a relatively easy plugin to create:

```plaintext
DiscourseEvent.on(:post_created) do |post|
  topic = post.topic
  if topic.closed?
    topic.add_tag closed_tag
  elsif post.wiki?
    topic.add_tag wiki_tag
  # and so on
end
```

---

_[View the full topic](https://meta.discourse.org/t/actions-and-markup-icons-vs-tags/85741)._
