# Per-category category\_featured\_topics override

**URL:** https://meta.discourse.org/t/per-category-category-featured-topics-override/18888
**Category:** Feature
**Tags:** completed
**Created:** [15 augustus 2014 om 09:45 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888 "2014-08-15T09:45:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [15 augustus 2014 om 09:45 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888/1 "2014-08-15T09:45:53Z")

</div>

Some categories are more important than others considering their content.

Trying to keep the /categories page as concise as possible, I’d like to configure the `category_featured_topics` setting per-category (i.e. ability to override the global setting per category).

For example, for some categories I’d show only 3 latest topics, whereas for others 6 or even 7.

* * *

## Example

Setting value, from the top to the bottom: 2, 6, 2

[http://imagizer.imageshack.com/img746/419/tuwjvu.png](http://imagizer.imageshack.com/img746/419/tuwjvu.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [15 augustus 2014 om 10:06 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888/2 "2014-08-15T10:06:57Z")

</div>

I actually like this. We have several topics in a given month that we like to feature (at the same time); so a banner topic doesn’t make sense.

Sure we could “pin” them (or sticky them ;)), but I’m not a big fan of pinned topics. Plus having it live on the categories page only for a short while (and not affect the latest list) seems like a good idea to me too.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [19 maart 2017 om 07:29 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888/3 "2017-03-19T07:29:54Z")

</div>

Does this request of mine still make any sense?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [15 juni 2023 om 07:30 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888/4 "2023-06-15T07:30:21Z")

</div>

What is the base criteria for “Featured Topics” within “Categories with Featured Topics”.

I’ve got a curious case of only two Topics appearing despite there being many more Topics in that Category - what is filtering them out?

**Edit** : Oh, oops, it’s now a Category setting … so this Feature Topic could be Closed?

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/6/2/b62c3699fc6187d80cc4b4b40a7c8a8db0a33b49.png)

The hint here was from the spec, always useful!:

> <https://github.com/discourse/discourse/blob/f3afc8bf85001da849239bc588bb394752c672b5/spec/models/category_featured_topic_spec.rb#LL66C39-L66C58>

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [16 juni 2023 om 07:00 UTC](https://meta.discourse.org/t/per-category-category-featured-topics-override/18888/5 "2023-06-16T07:00:33Z")

</div>

This topic was automatically closed after 23 hours. New replies are no longer allowed.
