Subcategories and Categories with no subcategories don't show views/reply counts

We’re using the Ghost theme, loving it, looks great, except we noticed only certain categories in our forum were showing view counts and reply counts in the topic list, and after much hair-pulling, we realized what the categories that were showing it had in common - those categories all had subcategories.

So any category with at least one visible subcategory shows topic views and reply counts, but any subcategories, and any category without a subcategory does not.

Curiously though, the view and reply counts show up if you click the tags dropdown menu, then select “no tags”.

Using inspect, we see the views and reply counts are contained within the link-bottom-line container in the Ghost Theme, which is unique to the theme compared to the default theme. The category badge, view counts, and reply counts all share that same container, which doesn’t appear when there are no subcategories.

We would love to find a way to have view and reply counts show up for all categories, regardless of their child-free status.

Are you sure this is due to the theme? When I check the ghost theme preview, I see for example the category movies here showing views and replies, and afaik there aren’t any subcategories:

Pretty sure it is due to the theme. If you open the “Movies” category from your example, all the replies/activity/views no longer appear:

Per @shapelychops’s description of the issue, Movies has no subcategories, and when viewing the Movies category no replies/activity/views appear because Movies has no subcategory.

לייק 1

Ah ok it wasn’t clear from the original description that it was happening inside the category topic list itself. I had understood it happened on topics in categories on the main topic-list. Screenshots are always useful :slight_smile:

So, the issue happens because the outlet in which the specific ghost replies/view elements are rendered is the topic-list-after-category, which doesn’t appear when there is no category – hence none of the elements appear in that situation.

I’ll have a look to see if we can easily switch that over, but I’m a bit doubtful.

3 לייקים

Ah, got it! That makes sense. Appreciate you checking if it can be switched.

@shapelychops Update: I’ve changed the structure so the custom elements should now always appear – let me know if there is still a problem

2 לייקים