Users MichelleBarnett and littleviolette report that pinned topics are not appearing as featured topics in subcategory boxes, despite expectations. simon initially confirmed that pinned topics should appear at the top of the featured list for users who haven’t unpinned them — including anonymous users — but later noted inconsistent behavior during testing. He observed that pinning a topic doesn’t automatically update the featured topic list; manually running CategoryFeaturedTopic.feature_topics_for on the subcategory does surface the pinned topic at the top. simon also confirmed that pinned topics appear correctly on meta.discourse.org’s /howto/10 category for anonymous users, suggesting the feature may work as intended in some contexts. The issue may stem from caching or delayed updates rather than a complete failure of the feature. Neither user’s workaround — incognito mode or disabling auto-unpin — resolved the problem, indicating a potential bug or configuration gap. Further investigation or a manual refresh mechanism may be needed to ensure pinned topics reliably appear in featured topic boxes.
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?
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:
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?
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.