# Plugin for embedding Discourse topics in wordpress pages or posts

**URL:** <https://meta.discourse.org/t/plugin-for-embedding-discourse-topics-in-wordpress-pages-or-posts/30228>\
**Category:** Plugin\
**Created:** [19 ביוני,‏ 2015,‏ 9:52pm UTC](https://meta.discourse.org/t/plugin-for-embedding-discourse-topics-in-wordpress-pages-or-posts/30228 "2015-06-19T21:52:24Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [23 ביוני,‏ 2015,‏ 6:38am UTC](https://meta.discourse.org/t/plugin-for-embedding-discourse-topics-in-wordpress-pages-or-posts/30228/12 "2015-06-23T06:38:11Z")

</div>

Another way to do this is to create a wordpress custom-post-type for Discourse topics that takes the Discourse forum base\_url and topic\_id and uses them to fetch the content for the post. The benefit of this is that it allows the Discourse content to be edited in WordPress, and it allows the content to be cached. The downside is that you have to enable CORS on the forum. Also, the content on wordpress is no longer synced live with the content on the forum. That could be a good or a bad thing, depending on what you are trying to accomplish.

[GitHub - scossar/wordpress-discourse-topic: Saves a Discourse topic as a WordPress post · GitHub](https://github.com/scossar/wordpress-discourse-topic) (this works but isn’t ready for a production site)

---

_[View the full topic](https://meta.discourse.org/t/plugin-for-embedding-discourse-topics-in-wordpress-pages-or-posts/30228)._
