# Featured Topics in Subcategory Box

**URL:** https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806
**Category:** Feature
**Created:** [August 13, 2020, 11:56pm UTC](https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806 "2020-08-13T23:56:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MichelleBarnett](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MichelleBarnett](https://meta.discourse.org/u/MichelleBarnett)
#### Post date: [August 13, 2020, 11:56pm UTC](https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806/1 "2020-08-13T23:56:10Z")

</div>

Hello there,

I’m having an issue with getting a pinned topic to show up as a featured topic in a subcategory box. Here are some images to show what I mean:

 ![Screen Shot 2020-08-13 at 4.53.04 PM](https://global.discourse-cdn.com/meta/original/3X/8/5/85e148a719263dcc900ef6ccdaca8f23bacf526f.png)  
 ![Screen Shot 2020-08-13 at 4.53.13 PM](https://global.discourse-cdn.com/meta/original/3X/5/9/59eb009a92e545b30d2dcec5781a4667a7f02252.png)  
The topic I have pinned (Using Perimeter Detect: Zymkey 4), I would like listed as the top Featured Topic on the subcategory box, above Perimeter Detect Actions. Any ideas?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [August 14, 2020, 12:24am UTC](https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806/2 "2020-08-14T00:24:04Z")

</div>

Based on testing on my own site, pinned topics will be displayed at the top of the featured topics list for as long as they are pinned for a user. Anonymous users will also see the pinned topic at the top of the featured topics list. If a topic is unpinned, either manually by the user or because they have read the full topic and have the default user preference to “Automatically unpin topics when I reach the bottom”, the pinned topic will no longer be automatically displayed at the top of the featured list.

When the topic is pinned for a user, it should look something like this in the list:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/1/91767b089e03ef08677b1e2b390f26779f6bd101.png)

After unpinning that topic for my user, the pinned topic is no longer in the featured topics list for that user:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/1/918ef40aaa8293f3112dc5b7c21b8ec4515e1141.png)

---

<div class="post-metadata">

### Author: ![littleviolette](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@littleviolette](https://meta.discourse.org/u/littleviolette)
#### Post date: [November 26, 2020, 4:57am UTC](https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806/3 "2020-11-26T04:57:12Z")

</div>

I am having the same issue. I am displaying subcategories list with featured topics in boxes. The featured topics are not showing pinned topics, even when I tried incognito mode or deselected “automatically unpin topics when user reaches the bottom.” Am I applying the feature incorrectly?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [November 26, 2020, 11:56pm UTC](https://meta.discourse.org/t/featured-topics-in-subcategory-box/160806/4 "2020-11-26T23:56:34Z")

</div>

I’m getting inconsistent results when I test this. In my previous reply I made the assumption that pinned topics are intended to be added to the top of the featured topics list for users who have not yet unpinned the topic. I _think_ this is true, but I’m not certain of that.

What seems to be happening when I test this on my local site is that pinning a topic does not automatically update the category’s featured topic list. If after pinning a topic in a subcategory I run `CategoryFeaturedTopic.feature_topics_for` for the subcategory, the newly pinned topic is displayed at the top of the featured topics box. I realize this doesn’t solve the issue for you, but it might help explain what’s going on.

When I go to [https://meta.discourse.org/c/howto/10](https://meta.discourse.org/c/howto/10) as an anonymous user, I’m seeing the expected pinned topics in the developers subcategory:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/9/99831f237735a9385258863d5d0a2271c4333168.png)
