# How to show a download count on files uploaded to a post (Pro hosting, theme component only)?

**URL:** <https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810>\
**Category:** Extras\
**Created:** [19 בנובמבר,‏ 2026,‏ 6:51am UTC](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810 "2026-11-19T06:51:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Rajat\_99](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Rajat\_99](https://meta.discourse.org/u/Rajat_99)\
**Post date:** [19 בנובמבר,‏ 2026,‏ 8:43am UTC](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810/4 "2026-11-19T08:43:09Z")

</div>

> [@RGJ](#):
>
> and in Javascript you get a `post.link_counts` array.

@RGJ Thanks for pointing this out. You’re right, I appreciate the clarification. I’ll look into the `post.link_counts` data in the post stream JSON and how it can be used to display attachment download counts through a Discourse theme component.

---

_[View the full topic](https://meta.discourse.org/t/how-to-show-a-download-count-on-files-uploaded-to-a-post-pro-hosting-theme-component-only/417810)._
