# Quick Question about Programmatic Link to Existing Topic

**URL:** https://meta.discourse.org/t/quick-question-about-programmatic-link-to-existing-topic/186341
**Category:** WordPress
**Created:** [April 10, 2021, 7:05pm UTC](https://meta.discourse.org/t/quick-question-about-programmatic-link-to-existing-topic/186341 "2021-04-10T19:05:39Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [April 13, 2021, 3:29am UTC](https://meta.discourse.org/t/quick-question-about-programmatic-link-to-existing-topic/186341/4 "2021-04-13T03:29:52Z")

</div>

> [@RichardC](#):
>
> My WP posts are CPTs.

Have you added your custom post type in the “Post Types to Publish” pubishing setting? See further

> [@Install and configure the WP Discourse Wordpress plugin for Discourse](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752#heading--publishing-settings):
>
> To get started with the WP Discourse Plugin, go through each of these topics in order and watch the videos at the top of the topic. [Install the plugin](https://meta.discourse.org/t/install-the-wp-discourse-plugin/223489/1)[Connect to Discourse](https://meta.discourse.org/t/connect-wp-discourse-to-discourse/223490/1)[Set up Publishing](https://meta.discourse.org/t/wp-discourse-and-publishing-posts-to-discourse/223492/1)[Set up Commenting](https://meta.discourse.org/t/wp-discourse-and-commenting/223493/1)[Set up DiscourseConnect](https://meta.discourse.org/t/wp-discourse-and-discourseconnect/223494/1) The two main plugin features, Publishing and [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) don’t have to be used together. You can just set up Publishing (and Commenting), and not use [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), or just set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), or set up both. There’s a short description of each featu…

---

_[View the full topic](https://meta.discourse.org/t/quick-question-about-programmatic-link-to-existing-topic/186341)._
