# 如何在登录时在类别过滤器中显示帖子

**URL:** <https://meta.discourse.org/t/how-to-show-a-post-in-category-filter-when-logged-in/265039>\
**Category:** Product Support\
**Created:** [2023 年5 月 15 日 10:35 UTC](https://meta.discourse.org/t/how-to-show-a-post-in-category-filter-when-logged-in/265039 "2023-05-15T10:35:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
发布日期： [2023 年5 月 15 日 10:53 UTC](https://meta.discourse.org/t/how-to-show-a-post-in-category-filter-when-logged-in/265039/2 "2023-05-15T10:53:28Z")

</div>

> [@How can I add the category descriptions to show in the category dropdowns?](https://meta.discourse.org/t/how-can-i-add-the-category-descriptions-to-show-in-the-category-dropdowns/209152/6?u=moin):
>
> As Daniela mentioned, we only show the category description in the dropdown for new users (trust level 0) and it’s hidden for everyone else. The thought is that regular visitors will benefit from seeing more categories at once and the descriptions are less useful. You can override this behavior by adding this to the head section of your site’s theme (admin \> customize \> themes \> edit html/css): \<script type="text/discourse-plugin" version="0.8"\> api.modifyClass("component:category-drop", { …

---

_[View the full topic](https://meta.discourse.org/t/how-to-show-a-post-in-category-filter-when-logged-in/265039)._
