Different category and sub-category order behaviour

I’m currently trying to figure out if there is any way to have categories and sub-categories behave differently in terms of sort order.

We’re using /categories as our home page and due to the nature of our products, certain categories are likely to have hundreds of sub-categories.

I’ve managed to limit the number of sub-categories shown on the main category page using CSS but I’d like for these sub-categories in the “Rolling stock products” category (say Top 5 or 10) to be ordered by latest activity whilst keeping the higher level category order intact.

Is this possible?

Thanks in advance for any help.

We don’t recommend using that number of categories.

1 Like

It’s well within the limits that Sam mentioned in his post.

Is there an actual solution to the question at hand though?

You will need a custom theme-component to get that behavior.

Developer’s guide to Discourse Themes