# トピックをタグにピン留め

**URL:** https://meta.discourse.org/t/pin-topic-to-a-tag/174651
**Category:** Feature
**Tags:** tags
**Created:** [2020 年 12 月 30 日午後 11:43 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651 "2020-12-30T23:43:30Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [2020 年 12 月 30 日午後 11:43 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/1 "2020-12-30T23:43:30Z")

</div>

[Discourse Tag Banners](https://meta.discourse.org/t/discourse-tag-banners/124240) の議論を続ける：

特に、タグ自体に説明を追加するための回避策として、トピックをタグまたはタググループにピン留めすることについて興味があります。

具体的な理由：カテゴリの代わりにタグを使用し、特定のタグが選択された後にタグの説明を共有するための回避策を追加すること。

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2020 年 12 月 31 日午後 3:31 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/2 "2020-12-31T15:31:11Z")

</div>

これら 2 つのテーマコンポーネントをご検討になりましたか？

> [@Homepage Feature](https://meta.discourse.org/t/homepage-feature-component/144264?u=heliosurge):
>
> discourse2Summary Homepage Feature features up to 5 topics with images on your community’s homepage.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/homepage-feature)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-homepage-feature-component](https://github.com/discourse/discourse-homepage-feature-component)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features By default the theme will feature the 3 most recent t…

そして

> [@Featured Tiles](https://meta.discourse.org/t/featured-tiles-theme-component/156677?u=heliosurge):
>
> discourse2Summary Featured Tiles adds a row of featured tiles above topic lists.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/featured-tiles)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-featured-tiles](https://github.com/discourse/discourse-featured-tiles)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Featured Tiles adds a row of featured tiles above topic lists. On hover, the topic titl…

これらが、お探しの機能の一部を提供してくれるかもしれません。

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [2022 年 1 月 11 日午後 6:21 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/3 "2022-01-11T18:21:35Z")

</div>

説明の代替としてではなく、タグごとに短期的な「現在人気」アイテムをピン留めできるようにしたいと考えています。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2022 年 10 月 25 日午前 8:20 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/4 "2022-10-25T08:20:38Z")

</div>

これはここに素晴らしいでしょう。そうすれば、プラグイントピックをタグごとに固定できるため、メインのトピックを簡単に見つけることができます。

---

<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: [2022 年 12 月 1 日午前 5:32 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/5 "2022-12-01T05:32:42Z")

</div>

このアイデアは非常に気に入っていますが、特に現在のUIと構造を考慮すると、詳細が少し不足しているように感じます。

トピックに3つのタグ（例：#aa、#bb、#cc）があり、それをタグにピン留めした場合、どうなりますか？

1. 3つすべてにピン留めされますか？
2. 管理者が3つのタグのうちどれにピン留めするかを選択しますか？（最大3つ）
3. 管理者が1つのタグを選択してピン留めしますか？

すでにカテゴリが優先されていることを考えると、(3) が正しい方法だと思います。しかし、それは新しい情報を特別な新しい場所に保存する必要があることを意味します。（現在、ピン留め情報はすべてトピックテーブルにあります）

また、動作については非常に明確にする必要があります…タグの交差を見ているときに、まだ一番上にピン留めされていますか？タグのグループの場合はどうなりますか？

ここで解決すべき小さな詳細がたくさんあります。

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [2022 年 12 月 1 日午後 8:00 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/6 "2022-12-01T20:00:58Z")

</div>

> [@sam](#):
>
> たくさんの小さな詳細を解決する必要があります。

同意します。あなたの具体的な質問について、私が考えていた動作はあなたの2番目のオプションのようなものでした。

「ピン留め…」UIには、「タグにピン留め」という入力フィールドがあり、通常のタグ付けフィールドと同様に、現在投稿にあるタグが事前に選択されています。\[1\]\_ 制限は、サイト全体のタグあたりの投稿数制限になります。

しかし、3番目の「1つ選ぶ！」でも構いません。最悪の場合、複数のタグにピン留めする必要がある場合は、サイト管理者が複数のトピックを作成できます（「メイン」トピックにリンクするだけでもよい）。

ピン留めすべては最悪の場合だと思います。なぜなら、サイトがタグをどのように使用するかによっては、すべてのタグにとって正しくない可能性が高いからです。

実装が容易かもしれない、気まずい4番目の可能性もあります。すべてのタグにピン留めしますが、タグが1つしかない場合にのみ許可します。私が「気まずい」と言うのは、説明するのが少し難しく、制限として提示するのが難しいからです。しかし、実際には私のユースケースに合致するでしょう。

あなたの他の質問については、次のように答えます。1.タグの交差については「はい」、2.投稿をタググループ別に表示する方法はありますか？どうやって？ 🙂

* * *

1. 質問：そのUIから投稿に新しいタグを追加できますか？

---

<div class="post-metadata">

### Author: ![Remote\_Selmore](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remote_selmore/32/484941_2.png) [@Remote\_Selmore](https://meta.discourse.org/u/Remote_Selmore)
#### Post date: [2025 年 10 月 14 日午前 2:18 UTC](https://meta.discourse.org/t/pin-topic-to-a-tag/174651/13 "2025-10-14T02:18:11Z")

</div>

サムさん、

これは古いリクエストだと承知していますが、私のユースケースでは「タグアーカイブUI内でトピックをピン留めする」という機能が役立ちます。

私の場合は、上記で提示されたオプションのうち、「2」が最も理にかなっています。

> **管理者が、ピン留めする3つのタグを選択する？** （最大3つ）

現在の私のケースでは、多くの関連タグのうち1つだけにピン留めできれば十分です。

しかし、柔軟性を考慮すると、トピックをピン留めするタグを管理者が選択できるオプションがあれば、さらに有利になるでしょう。

ふと思ったのですが、このアイデアはまだ気に入っていますか？

よろしくお願いします。
