# How do I tag a post?

**URL:** https://meta.discourse.org/t/how-do-i-tag-a-post/54193
**Category:** Support
**Created:** [December 13, 2016, 7:52pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193 "2016-12-13T19:52:37Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![emiliofcastillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emiliofcastillo/32/119780_2.png) [@emiliofcastillo](https://meta.discourse.org/u/emiliofcastillo)
#### Post date: [December 13, 2016, 7:52pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/1 "2016-12-13T19:52:37Z")

</div>

So this is very possible to most silly question…but I cannot figure out how to “tag” a post. I see where you would flag a post and where you would bookmark a post, but I don’t see where/how you would go about tagging a certain post to a certain subject.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 13, 2016, 8:20pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/2 "2016-12-13T20:20:19Z")

</div>

Are you asking for your own site or here on Meta?

---

<div class="post-metadata">

### Author: ![emiliofcastillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emiliofcastillo/32/119780_2.png) [@emiliofcastillo](https://meta.discourse.org/u/emiliofcastillo)
#### Post date: [December 13, 2016, 8:41pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/3 "2016-12-13T20:41:28Z")

</div>

Sorry, yes, for our own site. Since my posts, I figured out that I need  
“activate” this feature in settings. So that much is now clear. Now my  
question is about keeping “similar” tags straight and best practices around  
how to associate with categories. Anything along these lines will be  
helpful.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 13, 2016, 8:46pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/4 "2016-12-13T20:46:14Z")

</div>

No worries. What you are asking is a very open-ended question. Tags are used for different purposes on different sites, so more details would be useful. On my primary site (Stonehearth), tag use is restricted to staff only, and we use them to help track bug reports. For example, if a bug is reported from the alpha 12 develop 3456 build regarding the pathfinder, we apply the `a12dev3456` tag and the `pathfinding` tag. The tags are really only useful for site staff in our case, so this isn’t perhaps the best example. I know other sites use tags as a “second” sub-category level. I believe there is a car forum hosted by Discourse, and I think they have categories by car type, with sub-categories for the manufacturer. Then they use tags for specific care models.

If you can share some details about what your site is and what you are looking to use tags to accomplish I can try and answer much more specifically.

---

<div class="post-metadata">

### Author: ![emiliofcastillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emiliofcastillo/32/119780_2.png) [@emiliofcastillo](https://meta.discourse.org/u/emiliofcastillo)
#### Post date: [December 13, 2016, 9:00pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/5 "2016-12-13T21:00:26Z")

</div>

Very helpful. YES, we would be the second. We are looking to use tags  
instead of sub-categories. In fact, we are a forum of electric vehicles. So  
keeping track of brands would be helpful by using tags. We would also like  
to consider using tags to sort content by “sector” or “product”…say a  
tag for “charging systems” and another for “batteries”…other tag names  
might be “leaf” as in the Nissan Leaf…

So would I go in and set these up somewhere so that our users can select  
these from a drop down menu whenever they are posting new content?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 13, 2016, 9:09pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/6 "2016-12-13T21:09:53Z")

</div>

You could, or you could let your trusted users do so. Tags are completely dynamic. They only exist when they are in use somewhere. Delete all the topics with a specific tag, that tag ceases to exist. There are two important tag settings (besides turning it on 😉): minimum trust to `min trust to create tag` and `min trust level to tag topics`. You have 2 (primary) ways to go about this. One way would be to create a bunch of topics (either starter topics or hidden topics) and use all the tags you want. Then, users with a sufficient trust level can see those tags in a dropdown when creating a topic. Alternatively, if you have enough trusted users, let them create tags as they see fit. Once created, others (with sufficient trust) can use them.

Whichever method you choose, you can easily rename tags later if needed from the `your.site/tags` page. If you end up with 2 similar tags (like `battery` and `batteries`) you can rename one to the other and they will be “merged”.

Hope this is helpful, let me know if you have more questions!

---

<div class="post-metadata">

### Author: ![emiliofcastillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emiliofcastillo/32/119780_2.png) [@emiliofcastillo](https://meta.discourse.org/u/emiliofcastillo)
#### Post date: [December 13, 2016, 9:26pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/7 "2016-12-13T21:26:01Z")

</div>

VERY HELPFUL. I am in. thank you .

---

<div class="post-metadata">

### Author: ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)
#### Post date: [January 17, 2019, 11:28pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/8 "2019-01-17T23:28:26Z")

</div>

I have the same question and this discussion doesn’t answer it. I know how to tag a topic, now how do I tag a post?

If that’s not possible, is there another mechanism that works at the post level? Bookmarks work at the topic level. Flags work at the post level, but serve a special purpose.

My application is that I would like staff to tag posts of interest, then I would find those posts using the API and include them as highlights in an group email.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 17, 2019, 11:48pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/9 "2019-01-17T23:48:46Z")

</div>

It is not possible to “tag” posts, at least in the Discourse usage of the word tag. Bookmarks work at the post level, assuming your staff don’t use bookmarks for other purposes, that’d be a good way to mark posts.

---

<div class="post-metadata">

### Author: ![hugi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hugi/32/129879_2.png) [@hugi](https://meta.discourse.org/u/hugi)
#### Post date: [January 24, 2019, 4:05pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/10 "2019-01-24T16:05:05Z")

</div>

> [@jomaxro](#):
>
> It is not possible to “tag” posts, at least in the Discourse usage of the word tag.

We’re thinking about developing a plugin that would make this possible. Being able to tag posts would greatly improve two very different applications of Discourse that I’m working on.

- Do you know if someone else has done this already?
- Do you see any obstacles that would make such a feature difficult to implement?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 24, 2019, 4:08pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/11 "2019-01-24T16:08:50Z")

</div>

> [@hugi](#):
>
> Do you know if someone else has done this already?

I do not.

> [@hugi](#):
>
> Do you see any obstacles that would make such a feature difficult to implement?

I’m not an engineer, so I’m not the best person to ask this. In my mind how many obstacles you hit are related to how “full-featured” you make this plugin.

For example, will these posts tags be searchable? That’s another system you need to integrate into.  
Will they be visible on the `/tags` page? Another system.  
How will users be able to see all posts with a tag? Currently the tag view is a topic list, not a post list ([https://meta.discourse.org/tags/faq-material](https://meta.discourse.org/tags/faq-material)).  
etc.

---

<div class="post-metadata">

### Author: ![hugi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hugi/32/129879_2.png) [@hugi](https://meta.discourse.org/u/hugi)
#### Post date: [January 24, 2019, 4:14pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/12 "2019-01-24T16:14:39Z")

</div>

> [@jomaxro](#):
>
> For example, will these posts tags be searchable? That’s another system you need to integrate into.

Got it. We’d need to think about that.

> [@jomaxro](#):
>
> Will they be visible on the `/tags` page? Another system.  
> How will users be able to see all posts with a tag?

These things are less importance to the implementations we’re thinking about. As long as we could set a tag for a post through the API, and return a list of posts with one or more tags through the API, that would be enough.

We might just go ahead and do this then. But if anyone reads this who has a reason for why this would be a bad idea, I’d love to know.

---

<div class="post-metadata">

### Author: ![Chuck\_Kalish](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Chuck\_Kalish](https://meta.discourse.org/u/Chuck_Kalish)
#### Post date: [January 24, 2019, 6:42pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/13 "2019-01-24T18:42:01Z")

</div>

This would be a great feature to allow users to find certain kinds of posts within a topic (e..g, a post containing a link to an external resource)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 25, 2019, 4:09am UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/14 "2019-01-25T04:09:17Z")

</div>

Or you could simply enter a unique word in the post, like multisonant, and then search for it. 🤷‍♂️

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/1/01cd23e2edc7cdb7eec5504297ef6e18e56bcc15.png)

---

<div class="post-metadata">

### Author: ![hugi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hugi/32/129879_2.png) [@hugi](https://meta.discourse.org/u/hugi)
#### Post date: [January 26, 2019, 12:27pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/15 "2019-01-26T12:27:59Z")

</div>

> [@codinghorror](#):
>
> Or you could simply enter a unique word in the post, like multisonant, and then search for it. 🤷‍♂️

Wouldn’t work for these applications. In both cases we are using tags as secondary metadata, added automatically or manually by administrators.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 26, 2019, 12:46pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/16 "2019-01-26T12:46:23Z")

</div>

Sure it would. Edit the posts, add the “magic words”, then search for them.

---

<div class="post-metadata">

### Author: ![hugi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hugi/32/129879_2.png) [@hugi](https://meta.discourse.org/u/hugi)
#### Post date: [January 26, 2019, 1:04pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/17 "2019-01-26T13:04:34Z")

</div>

> [@codinghorror](#):
>
> Edit the posts, add the “magic words”, then search for them.

That would however mean adding a mysterious tag like “SKK-17363” or “Ethno-Cat2-ResearchQuestion” to every post we want to tag, confusing both the authors of the post and the users reading it. And since we read post content from the Discourse API and display it in other contexts based on those tags, having obscure text tags show up is even less appealing.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 26, 2019, 2:56pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/18 "2019-01-26T14:56:47Z")

</div>

The idea of hashtags has been raised a few times before:

I think the earliest instance was:

[https://meta.discourse.org/t/proposal-for-a-hash-tagging-feature/6304](https://meta.discourse.org/t/proposal-for-a-hash-tagging-feature/6304)

There are a few others like:

[https://meta.discourse.org/t/trigger-search-onclick-hashtags/75666](https://meta.discourse.org/t/trigger-search-onclick-hashtags/75666)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [January 26, 2019, 4:43pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/19 "2019-01-26T16:43:48Z")

</div>

There has been recent discussion about having “the word” in a comment  
[https://meta.discourse.org/t/set-post-custom-field-when-composing/78642](https://meta.discourse.org/t/set-post-custom-field-when-composing/78642)

The `post_custom_fields` table is there. If a JSON string was needed I think a plugin could be worked up.  
[discourse/app/models/post\_custom\_field.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/models/post_custom_field.rb)

---

<div class="post-metadata">

### Author: ![maggiomj](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@maggiomj](https://meta.discourse.org/u/maggiomj)
#### Post date: [January 17, 2020, 4:10pm UTC](https://meta.discourse.org/t/how-do-i-tag-a-post/54193/20 "2020-01-17T16:10:09Z")

</div>

@hugi did you end up developing this plugin? I’m also looking to tag posts (for metadata purposes through the API)

[Next page](https://meta.discourse.org/t/how-do-i-tag-a-post/54193.md?page=2)
