# Total Posts count instead of Post per month

**URL:** <https://meta.discourse.org/t/total-posts-count-instead-of-post-per-month/283992>\
**Category:** Development\
**Created:** [October 31, 2023, 9:59am UTC](https://meta.discourse.org/t/total-posts-count-instead-of-post-per-month/283992 "2023-10-31T09:59:31Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

In the Development category, [Ashwani_Kumar](/t/-/283992/1) requests a feature to display the total post count instead of posts per month or week, asking if this can be configured from the backend. [pfaffman](/t/-/283992/2) responds that the necessary data, specifically `post_count`, is available in the Discourse API (e.g., via `categories.json`). They suggest using the [plugin-outlet-locations-theme-component](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673) to insert this information, potentially placing it in the `below-category-title-link` outlet or using JavaScript to rewrite the existing numbers, though they note replacing the topic count directly may be difficult. [Ashwani_Kumar](/t/-/283992/3) follows up by asking if a similar option exists within the [FKB Pro - Social theme](https://meta.discourse.org/t/fkb-pro-social-theme/234323), as they cannot locate the setting in the theme's UI.

<div class="post-metadata">

**Author:** ![Ashwani\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashwani_kumar/32/328227_2.png) [@Ashwani\_Kumar](https://meta.discourse.org/u/Ashwani_Kumar)\
**Post date:** [October 31, 2023, 9:59am UTC](https://meta.discourse.org/t/total-posts-count-instead-of-post-per-month/283992/1 "2023-10-31T09:59:31Z")

</div>

Need to show total post count instead of posts per month/ per week  
do we have any option to set this from backend

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/a/5/6a5ecde93cf12d174293affe4aa1eb26f4c807cd.png)  
.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 31, 2023, 1:14pm UTC](https://meta.discourse.org/t/total-posts-count-instead-of-post-per-month/283992/2 "2023-10-31T13:14:33Z")

</div>

If you look at [https://meta.discourse.org/categories.json](https://meta.discourse.org/categories.json) you can see something like this:

```plaintext
category_list: {
can_create_category: false,
can_create_topic: true,
categories: [
{
id: 67,
name: "announcements",
color: "ED207B",
text_color: "FFFFFF",
slug: "announcements",
topic_count: 289,
post_count: 3693,
position: 0,

```

So the data you need is there.

If you install [(deprecated) Plugin outlet locations theme component](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673) you can see where you can easily insert new information:

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/b/9/ab9e0fbe95783b5313ec94a48809433edf39c6ea.png)

It’s not going to be easy (for me, at least) to replace the topics. If you’re OK with having it in the `below-category-title-link`, you could do that in a theme component. I suspose it’s possible to re-write the number with some javascript magic.

---

<div class="post-metadata">

**Author:** ![Ashwani\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashwani_kumar/32/328227_2.png) [@Ashwani\_Kumar](https://meta.discourse.org/u/Ashwani_Kumar)\
**Post date:** [November 1, 2023, 11:12am UTC](https://meta.discourse.org/t/total-posts-count-instead-of-post-per-month/283992/3 "2023-11-01T11:12:21Z")

</div>

> [@pfaffman](#):
>
> `topic_count`

Do we have same option in FKB Pro Theme as I can’t find option in UI

[FKB Pro - Social theme](https://meta.discourse.org/t/fkb-pro-social-theme/234323)
