# Featured Topics

**URL:** https://meta.discourse.org/t/featured-topics/217580
**Category:** Theme component
**Created:** [February 8, 2022, 9:38pm UTC](https://meta.discourse.org/t/featured-topics/217580 "2022-02-08T21:38:36Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 8, 2022, 9:38pm UTC](https://meta.discourse.org/t/featured-topics/217580/1 "2022-02-08T21:38:36Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | Highlights topics by tag in a card or list layout |
| 🛠 | **Repository Link** | [Manuel Kostka / Discourse / Components / Featured Topics · GitLab](https://gitlab.com/manuelkostka/discourse/components/featured-topics) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

## Card View

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/8/f/18fa166868c7308b999db4969ec2471cac1a8373.jpeg)

## List view

* * *

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/4/2/0428a5fbd6d0a2e0c8d89655fcdca8bf0c72b363.jpeg)

## Settings

* * *

Among other options, you can select multiple tags to feature topics and choose between the two layout options: _Cards_ or _List_ (or _None_ if you want to add custom styles).

 ![Screenshot From 2025-02-19 13-08-09](https://global.discourse-cdn.com/meta/original/4X/7/5/8/75815305e078ff73118cb0c94c389e2722cf2bb0.png)

See the [README](https://gitlab.com/manuelkostka/discourse/components/featured-topics/-/blob/main/README.md?ref_type=heads) for more info and the component template.

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [February 8, 2022, 9:43pm UTC](https://meta.discourse.org/t/featured-topics/217580/2 "2022-02-08T21:43:33Z")

</div>

I really like it! Maybe a dumb question, but where do the images have to be stored for it to pull them?

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 8, 2022, 9:45pm UTC](https://meta.discourse.org/t/featured-topics/217580/3 "2022-02-08T21:45:15Z")

</div>

Thanks! The image is pulled from the first post of the topic.

---

<div class="post-metadata">

### Author: ![Decorbuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decorbuz/32/235124_2.png) [@Decorbuz](https://meta.discourse.org/u/Decorbuz)
#### Post date: [February 8, 2022, 9:57pm UTC](https://meta.discourse.org/t/featured-topics/217580/4 "2022-02-08T21:57:29Z")

</div>

Honestly, I would love a #Customization > Theme component like this, but for _trending_ topics (that kind of functionality would probably require a #Customization > Plugin though).

Maybe it could be implemented much more easily once Discourse works on the “hot” category topic sorting option in version 2.9? 🤔

> [@Discourse Version 3.0](https://meta.discourse.org/t/discourse-version-2-9/203005):
>
> Focuswhite_check_mark Customizable sidebar for wider screens white_check_mark Real time chat support white_check_mark New redesigned user menu white_check_mark Refined setup wizard white_check_mark Official support for user status white_check_mark Hotlinked images no longer show up as edits; support for “high security mode” where you never download images white_check_mark Improved instant search UI white_check_mark Reduced instances of “blank page syndrome…

As for the option to show a tag in a featured card, how does it handle a topic with _multiple_ tags? Do tags even show up on featured cards in the mobile view?

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 8, 2022, 10:13pm UTC](https://meta.discourse.org/t/featured-topics/217580/5 "2022-02-08T22:13:40Z")

</div>

Card content is the same on mobile and desktop, just on mobile the cards wrap the content and don’t have a set height. If you have multiple featured tags on the same topic, cards will show the tag that is shown first on the default tag list. I believe this is by alphabetical order.

Regards trending topics, you can pick the list algorithm just as on the Featured Tiles component. Right now these algorithms include latest and various top selections:

 ![Screenshot from 2022-02-08 22-02-03](https://global.discourse-cdn.com/meta/original/3X/3/6/360834af4fd093d28c6bd07d6deebcb4e1c8e656.png)

How would trending be different from top-daily or top-weekly? In any case, when there’s a new sorting and filter algorithm in Discourse core, as the “hot” one mentioned, it should work on the component as well.

---

<div class="post-metadata">

### Author: ![Decorbuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decorbuz/32/235124_2.png) [@Decorbuz](https://meta.discourse.org/u/Decorbuz)
#### Post date: [February 8, 2022, 10:19pm UTC](https://meta.discourse.org/t/featured-topics/217580/6 "2022-02-08T22:19:50Z")

</div>

> [@manuel](#):
>
> How would trending be different from top-daily or top-weekly?

Well, it wouldn’t have to be limited to a certain time period. Trending topics could be from an hour ago, a day ago, a week ago, etc…

I wish I could articulate myself… 😅

Also, is it possible to have multiple rows of featured cards?

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 8, 2022, 10:40pm UTC](https://meta.discourse.org/t/featured-topics/217580/7 "2022-02-08T22:40:59Z")

</div>

> [@Decorbuz](#):
>
> is it possible to have multiple rows of featured cards?

This component is just showing one row of cards on desktop. And as many cards as you like in one column on mobile (there’s a maximum topic count setting).

Showing more rows on desktop is easily possible if you write custom CSS for the component. But that’s not a use case I will support with the component as such, as I believe it will need a custom layout anyways.

---

<div class="post-metadata">

### Author: ![Decorbuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decorbuz/32/235124_2.png) [@Decorbuz](https://meta.discourse.org/u/Decorbuz)
#### Post date: [February 8, 2022, 11:36pm UTC](https://meta.discourse.org/t/featured-topics/217580/8 "2022-02-08T23:36:52Z")

</div>

> [@manuel](#):
>
> But that’s not a use case I will support with the component as such, as I believe it will need a custom layout anyways.

Okay, that’s fair enough. 👍

I was looking to tie this #Customization > Theme component in with a concept that’s being worked on.

> [@Using Discourse as a social media platform](https://meta.discourse.org/t/using-discourse-as-a-social-media-platform/202133):
>
> I’ve been pondering about this for a while now, but I’ve finally decided to get it off of my chest. Is Discourse customizable enough to be used as a proper (full-blown) social media platform? I’ve been dipping my toes into the world of start-ups lately. I have my own idea for a social network that combines the best of what brings people together online (more specifically, tech enthusiasts and people in the tech industry as a whole). While observing other social media platforms like Twitter and…

Also, the “hot” category topic sorting option I mentioned earlier already (sort of) exists in the form of a #plugin:broken-plugin.

> [@Discourse Hot Topics](https://meta.discourse.org/t/discourse-hot-topics/48215):
>
> information_source Discourse now features a /hot topic list in core that can be added to your top menu Repository: [GitHub - danskdynamit/discourse-hot-topics · GitHub](https://github.com/danskdynamit/discourse-hot-topics) This plugin creates a “Hot” sorting criteria and builds a custom topic list based on the result of the following formula: likes / ((hours since creation + 2) ^ gravity) Things to note: The default gravity multiplier is 1.5 but you can adjust this in the settings for the plugin. You can add “hot” to the list of menu items …

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 9, 2022, 12:25am UTC](https://meta.discourse.org/t/featured-topics/217580/9 "2022-02-09T00:25:55Z")

</div>

Okay I see.. you just made me change my wording 😉 I’ve written _feed_ twice, but I changed it to _column_. The goal of this component is to feature specific selected topics. I don’t doubt you could also make it work more like a dynamic feed. But if that’s your goal, I’d rather just style the existing list views to get there. You know, just use a component like [Topic List Previews](https://meta.discourse.org/t/topic-list-previews-theme-component/209973) or [Topic List Thumbnails](https://meta.discourse.org/t/topic-list-thumbnails-theme-component/150602) and style the list items more like cards. Working directly on the lists is all integrated with navigational elements and filters on Discourse. You won’t get that with this component.

---

<div class="post-metadata">

### Author: ![Decorbuz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/decorbuz/32/235124_2.png) [@Decorbuz](https://meta.discourse.org/u/Decorbuz)
#### Post date: [February 9, 2022, 12:27am UTC](https://meta.discourse.org/t/featured-topics/217580/10 "2022-02-09T00:27:35Z")

</div>

> [@manuel](#):
>
> You won’t get that with this component.

Yeah, true. I’m just trying to look at all the options I have at my disposal. This topic was posted just as I was browsing Discourse Meta, so it ended up catching my attention.

---

<div class="post-metadata">

### Author: ![Johnny\_McIvor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnny_mcivor/32/218747_2.png) [@Johnny\_McIvor](https://meta.discourse.org/u/Johnny_McIvor)
#### Post date: [February 9, 2022, 1:19am UTC](https://meta.discourse.org/t/featured-topics/217580/11 "2022-02-09T01:19:39Z")

</div>

![Screenshot Capture - 2022-02-08 - 20-19-10](https://global.discourse-cdn.com/meta/original/3X/9/6/968c254e5b39c957810139995523deb35292f4c6.png)

Hmmm, not really showing a thumbnail ☹

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [February 9, 2022, 3:17pm UTC](https://meta.discourse.org/t/featured-topics/217580/12 "2022-02-09T15:17:26Z")

</div>

Hmm, I only get his look when I de-select all contents 🙃

Did you try different browsers? If it’s not a browser issue (and if it is, please let me know your setup) I could inspect the CSS on your site. But you’d need to share your url, here on on a pm.

---

<div class="post-metadata">

### Author: ![undasein](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/undasein/32/222392_2.png) [@undasein](https://meta.discourse.org/u/undasein)
#### Post date: [May 18, 2022, 6:51am UTC](https://meta.discourse.org/t/featured-topics/217580/13 "2022-05-18T06:51:32Z")

</div>

Is this component still working?

---

<div class="post-metadata">

### Author: ![daemon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daemon/32/256632_2.png) [@daemon](https://meta.discourse.org/u/daemon)
#### Post date: [May 18, 2022, 6:58am UTC](https://meta.discourse.org/t/featured-topics/217580/14 "2022-05-18T06:58:29Z")

</div>

Why shouldn’t it working anymore? It’s not marked as broken or something and it’s only 3 months old.

---

<div class="post-metadata">

### Author: ![diabolicvincent](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@diabolicvincent](https://meta.discourse.org/u/diabolicvincent)
#### Post date: [June 26, 2022, 11:56am UTC](https://meta.discourse.org/t/featured-topics/217580/15 "2022-06-26T11:56:31Z")

</div>

Loving this component, thank you so much! 🎉

What’d be great is, if you could have a “pinned” featured topic (i.e. the “Welcome to this Forum” topic), that is always shown, even if topics are randomly chosen from #featured. I think that would be really awesome, not just for my use case but also many others. Could that be implemented?

---

<div class="post-metadata">

### Author: ![Tara\_Walton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tara_walton/32/244402_2.png) [@Tara\_Walton](https://meta.discourse.org/u/Tara_Walton)
#### Post date: [June 27, 2022, 8:43pm UTC](https://meta.discourse.org/t/featured-topics/217580/16 "2022-06-27T20:43:07Z")

</div>

Help @manuel ?  
I love this component! But I have a small problem. 👇

On my admin account, I can see the cards great.

 ![Untitled design (3)](https://global.discourse-cdn.com/meta/original/4X/c/1/3/c13c5b349906fa1266313ccddb2bc5cbae47e273.png)

On my “regular” user account, I have dead space and the cards don’t show.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/e/c/8ec9bff44376492a882d8506ee36456817d72508.png)

Any assistance or suggestions would be helpful before I have to figure something else out 😃

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [June 27, 2022, 9:39pm UTC](https://meta.discourse.org/t/featured-topics/217580/17 "2022-06-27T21:39:16Z")

</div>

Looks like you use a tag that’s not visible to regular users?

You can hide tags from showing on the cards through the component settings. But the tag itself has to be visible to the group that should see the tagged topic as a featured card.

---

<div class="post-metadata">

### Author: ![Tara\_Walton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tara_walton/32/244402_2.png) [@Tara\_Walton](https://meta.discourse.org/u/Tara_Walton)
#### Post date: [June 27, 2022, 9:45pm UTC](https://meta.discourse.org/t/featured-topics/217580/18 "2022-06-27T21:45:01Z")

</div>

🤦‍♀️  
That fixed it.  
I just edited my tag groups and thought I would hide that one so no one knew it was there but admin. Thank you!!

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [June 27, 2022, 9:54pm UTC](https://meta.discourse.org/t/featured-topics/217580/19 "2022-06-27T21:54:13Z")

</div>

> [@diabolicvincent](#):
>
> What’d be great is, if you could have a “pinned” featured topic (i.e. the “Welcome to this Forum” topic), that is always shown

Thanks for the suggestion @diabolicvincent! Though I guess I won’t implement this as a feature. One reason is that (as mentioned on the credits), I didn’t program the logic of this component. It’s quite complex already for my taste and I don’t want to mess with it myself.

More generally, philosophically, conceptually.. 🤓 I actually believe it’s better ui design when official content is easily distinguishable from user-generated one. In that regard I’m already not a fan of pinning topics within an otherwise dynamic list of user topics.

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [July 17, 2022, 8:41am UTC](https://meta.discourse.org/t/featured-topics/217580/20 "2022-07-17T08:41:55Z")

</div>

Is there any way to auto show latest posts without using a tag? I don’t want to use a tag to manually push the posts to the featured section.

[Next page](https://meta.discourse.org/t/featured-topics/217580.md?page=2)
