How to make it show "count of posts created" in a category (in homepage)


#1

Hi,

The homepage of my discourse site currently shows
"the count of topics created" in a category.
How to make it:
“the count of posts created” in a category


(Mittineague) #2

It could be possible to do, but it would be very expensive on performance. Which AFAIK is the reason it is not a thing.
Lists of categories have topic counts.
Lists of topics have post counts.

You could write code to tie together the data, output the values to JSON, and use the JSON to display the values in pages.
But I fear doing so would bring page load to a crawl.