# 分类顶部的标签链接

**URL:** <https://meta.discourse.org/t/links-to-tags-at-top-of-a-category/218280>\
**Category:** Feature\
**Created:** [2022年二月15日 18:19 UTC](https://meta.discourse.org/t/links-to-tags-at-top-of-a-category/218280 "2022-02-15T18:19:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hakanto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hakanto/32/246498_2.png) [@Hakanto](https://meta.discourse.org/u/Hakanto)\
**Post date:** [2022年二月15日 18:19 UTC](https://meta.discourse.org/t/links-to-tags-at-top-of-a-category/218280/1 "2022-02-15T18:19:56Z")

</div>

有没有办法在分类的顶部添加简单的链接到选择标签？这将是一种有用的方式来创建按钮，该类别中的用户可以使用这些按钮来过滤该类别的帖子。

例如，我们设置了一个类别，供人们提出建议。这些建议会被标记以进行标记和组织：#implemented #scoping #new #estimate-needed 等。

如果可以在分类顶部设置选择标签，以便人们可以单击它们并以更有条理的方式浏览该分类的内容，那将非常有帮助。

要实现乌托邦式的功能，如果分类顶部的每个标签旁边都显示一个数字，表示该类别中具有该标签的帖子的数量，那将是不可思议的：#implemented (5) #new (13)。我使用某些类别进行基本任务管理；如果我能一目了然地看到这些数字，那将是一种有效的方式来查看待处理或已完成任务的数量——而无需完全采用看板模式。

有这方面经验的人，请告诉我。我对如何充分利用 Discourse 上的标签是新手。感谢您提供任何有关充分利用它们的良好资源、组件、插件的链接。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2022年二月15日 18:51 UTC](https://meta.discourse.org/t/links-to-tags-at-top-of-a-category/218280/2 "2022-02-15T18:51:42Z")

</div>

如果您启用了标签下拉菜单，那么当您选择特定类别时，它将过滤出该类别中出现的标签。

这并非您想要的视觉效果，但却非常有用。

不幸的是，目前序列化的数据不包含频率。这可能会被添加，但您可能需要一个插件来处理发送下来的内容……

此空间中的主题组件包括：

> [@Discourse Popular Tag Sidebar](https://meta.discourse.org/t/discourse-popular-tag-sidebar/107853):
>
> This theme component displays a category’s most popular tags in a sticky sidebar on screens wider than 767px (most tablets and desktop devices). warning You must enable the show filter by tag setting on your site for this theme component to work. What can I do with this theme component? Display 3-30 Popular tags in a sidebar for each category Set the sidebar side to left or right Prevent the sidebar from appearing in certain categories Change the “Popular tags” header…

---

<div class="post-metadata">

**Author:** ![Hakanto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hakanto/32/246498_2.png) [@Hakanto](https://meta.discourse.org/u/Hakanto)\
**Post date:** [2022年二月15日 19:25 UTC](https://meta.discourse.org/t/links-to-tags-at-top-of-a-category/218280/3 "2022-02-15T19:25:38Z")

</div>

谢谢你，罗伯特！我安装了标签侧边栏，这朝着我期望的方向迈出了重要一步。🙏
