# 如何在每个帖子中显示用户的总发帖数？

**URL:** <https://meta.discourse.org/t/how-to-display-user-s-total-post-count-in-each-post/353453>\
**Category:** Support\
**Created:** [2025年二月20日 22:48 UTC](https://meta.discourse.org/t/how-to-display-user-s-total-post-count-in-each-post/353453 "2025-02-20T22:48:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Patchesx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patchesx/32/489915_2.png) [@Patchesx](https://meta.discourse.org/u/Patchesx)\
**Post date:** [2025年二月20日 22:48 UTC](https://meta.discourse.org/t/how-to-display-user-s-total-post-count-in-each-post/353453/1 "2025-02-20T22:48:35Z")

</div>

你好，Discourse 支持团队，

我目前正在运行一个 Discourse 论坛，我想在每个发帖中直接显示用户的总发帖数。理想情况下，这个信息应该显示在用户名旁边或头像下方的帖子视图中。

我在管理员 \> 设置 \> 用户和帖子菜单隐藏项目下检查过，但没有找到类似 `user_stats` 或 `post_count` 的选项。我也尝试过用 `poster-name:after` 小工具和 JavaScript API 自定义，但似乎没有 `post_count` 属性可用。

请问是否有内置的方法开启这个功能，还是需要插件或特定的 API 调用？任何指导都将不胜感激！

提前感谢，  
Philipp

---

_[View the full topic](https://meta.discourse.org/t/how-to-display-user-s-total-post-count-in-each-post/353453)._
