# 如何为主题标题添加特色链接？

**URL:** <https://meta.discourse.org/t/how-do-i-add-a-featured-link-to-a-topic-title/251575>\
**Category:** Support\
**Tags:** featured-link\
**Created:** [2023年一月12日 15:51 UTC](https://meta.discourse.org/t/how-do-i-add-a-featured-link-to-a-topic-title/251575 "2023-01-12T15:51:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2023年一月12日 22:34 UTC](https://meta.discourse.org/t/how-do-i-add-a-featured-link-to-a-topic-title/251575/5 "2023-01-12T22:34:16Z")

</div>

而且，为了保持事物的条理性，搜索也不是最糟糕的选择 😉

如果使用 Rails 不是什么大问题：

> [@Set or update a featured topic link via the rails console](https://meta.discourse.org/t/set-or-update-a-featured-topic-link-via-the-rails-console/166923):
>
> You can set or update a featured link on a topic by using the rails console. From your server, enter the rails console from your Discourse folder: ./launcher enter app rails c You can then use the @nathank’s form to generate your command: Topic.where(id: =topic\_id=).update(featured\_link: "=featured\_link=") Copy-paste the generated command inside your rails console and press Enter. It will set or update the featured link accordingly. information_source Example of the raw syntax for …

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-add-a-featured-link-to-a-topic-title/251575)._
