# 为 discourse 主题编写自定义 featured\_link？

**URL:** <https://meta.discourse.org/t/write-custom-featured-link-to-discourse-topic/362613>\
**Category:** WordPress\
**Tags:** wordpress, featured-link\
**Created:** [2025年四月19日 12:42 UTC](https://meta.discourse.org/t/write-custom-featured-link-to-discourse-topic/362613 "2025-04-19T12:42:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)\
**Post date:** [2025年四月19日 12:42 UTC](https://meta.discourse.org/t/write-custom-featured-link-to-discourse-topic/362613/1 "2025-04-19T12:42:40Z")

</div>

大家好

使用 [WP Discourse](https://github.com/discourse/wp-discourse) 是否有办法为主题的 featured\_link 编写自定义 URL？

我的用例：WP CPT 产品，它们有联盟链接。我想将产品联盟链接（通过自定义字段设置）写入 discourse 主题的 featured\_link，而不是帖子的 URL。

此致  
Jr

---

_[View the full topic](https://meta.discourse.org/t/write-custom-featured-link-to-discourse-topic/362613)._
