# Link existing forum topic to new WordPress post

**URL:** <https://meta.discourse.org/t/link-existing-forum-topic-to-new-wordpress-post/24268>\
**Category:** Feature\
**Tags:** wordpress\
**Created:** [21 Gennaio 2015, 12:37pm UTC](https://meta.discourse.org/t/link-existing-forum-topic-to-new-wordpress-post/24268 "2015-01-21T12:37:25Z")\
**Posts on this page:** 1\
**Showing post:** 24

<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:** [21 Gennaio 2018, 1:59am UTC](https://meta.discourse.org/t/link-existing-forum-topic-to-new-wordpress-post/24268/24 "2018-01-21T01:59:02Z")

</div>

> [@pakl](#):
>
> Does this make sense?

Yes it does. I’ve moved this discussion to an existing topic. There seem to be two separate feature requests in this topic: linking posts in a way that will pull the Discourse comments to WordPress, and just adding a Discourse topic link to a WordPress post.

It is possible to link an existing post to an existing topic so that the Discourse comments are displayed on WordPress. This is based on what @joebuhlig does in the PR in this topic, but with some changes to the Discourse meta box. When the WordPress post editor for a post that is not linked to Discourse is opened, it will first look like this:

![12%20PM](https://global.discourse-cdn.com/meta/original/3X/8/9/894e836f02c00975527c8c69b2f67f2eb19486de.png)

Selecting Create new Topic displays this:

 ![28%20PM](https://global.discourse-cdn.com/meta/original/3X/a/d/ad16cbac6ae3988cf2e8c38e79170e871b76bedf.png)

Selecting Link to Existing Topic displays this:

 ![41%20PM](https://global.discourse-cdn.com/meta/original/3X/e/4/e4c9e4c2bca34c3718e08241b83a6257b4ae9d37.png)

After either creating a topic, or linking to an existing topic, the metabox displays this:

 ![28%20PM](https://global.discourse-cdn.com/meta/original/3X/d/1/d124677353676087c2bb2cd3e89c7aa8bc620425.png)

Selecting the Unlink Post checkbox removes the Discourse metadata from the post so that it no longer displays Discourse comments.

The biggest issue with doing this is that it’s not possible to set the Discourse topic embed\_url for topics that already exist on Discourse. That could be made to work, but would require some changes to the Discourse code.

---

_[View the full topic](https://meta.discourse.org/t/link-existing-forum-topic-to-new-wordpress-post/24268)._
