# How to embed whole forum in another site

**URL:** https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205
**Category:** Support
**Tags:** embedding
**Created:** [2015年八月17日 14:14 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205 "2015-08-17T14:14:29Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![renai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renai/32/116576_2.png) [@renai](https://meta.discourse.org/u/renai)
#### Post date: [2015年八月17日 14:14 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/1 "2015-08-17T14:14:29Z")

</div>

hi all,

really new to Discourse, so please forgive my stupid newbie question 😉

I have a Discourse forum at [http://forum.delimiter.com.au](http://forum.delimiter.com.au).

This is a part of the Wordpress site [http://delimiter.com.au](http://delimiter.com.au).

All I want to do is grab the whole Discourse forum and embed it on a page under my normal Wordpress site header. I have the ability to embed whatever HTML, script etc I want under this on a dedicated page – I just need the code.

Is there a way to do this? This would go a long way towards making Discourse feel part of the rest of my site.

Cheers!

Renai

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [2015年八月17日 14:40 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/2 "2015-08-17T14:40:45Z")

</div>

Personally I think you’ll find this more trouble than it’s worth. IMHO it would be far better to put that effort into HTML & CSS-based styling & customizations to match fonts, layouts, colors, etc., as well as header & footer HTML that can really make the Discourse site a matched complement to your main site.

---

<div class="post-metadata">

### Author: ![renai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renai/32/116576_2.png) [@renai](https://meta.discourse.org/u/renai)
#### Post date: [2015年八月17日 15:02 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/3 "2015-08-17T15:02:28Z")

</div>

> [@downey](#):
>
> Personally I think you’ll find this more trouble than it’s worth. IMHO it would be far better to put that effort into HTML & CSS-based styling & customizations to match fonts, layouts, colors, etc., as well as header & footer HTML that can really make the Discourse site a matched complement to your main site.

That is a secondary viable option, of course, but I’d like to try the embed option first to use my existing site header 😉

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2015年八月17日 15:26 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/4 "2015-08-17T15:26:54Z")

</div>

Put your header on the Discourse site, trust me it will be _way_ better.

If you really want to go foward with this madness try an iframe and see for yourself 😛

---

<div class="post-metadata">

### Author: ![renai](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renai/32/116576_2.png) [@renai](https://meta.discourse.org/u/renai)
#### Post date: [2015年八月17日 15:32 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/5 "2015-08-17T15:32:24Z")

</div>

Looking around at the various Discourse sites in existence, I am starting to get the picture that I may be trying to go down the wrong path 😉

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2015年八月17日 21:32 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/6 "2015-08-17T21:32:57Z")

</div>

We have a fairly heavily integrated WordPress/Discourse instance [here](https://www.feverbee.com/) which might give you some inspiration. Happy to talk through the details if you like.

---

<div class="post-metadata">

### Author: ![crt343](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crt343/32/48435_2.png) [@crt343](https://meta.discourse.org/u/crt343)
#### Post date: [2015年十一月27日 18:27 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/7 "2015-11-27T18:27:07Z")

</div>

Can you describe your approach for integrating your Discourse forum with your WordPress site? It looks fantastic!

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2015年十一月29日 16:37 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/8 "2015-11-29T16:37:20Z")

</div>

Thanks. 😄

Commenting is using the wp-discourse plugin, and we have SSO through WP, so when new members sign up, they are pushed into the right priv groups on Discourse to match their membership level.

The Add Discussion button on the homepage pre-loads a new Discourse topic, and several functions pull new topics from certain categories and display them on the second row of the homepage.

We use CORS to display avatars and notifications on the home page, along with likes, views and comment counts.

Lastly, clicks across the homepage (WP articles or Discourse posts) and captured and logged in localStorage, so that we can utilise a click-count pop-up prompting people to join after reading x posts and I tweaked the CSS so that the base font and headers match, and that’s about it!

---

<div class="post-metadata">

### Author: ![Rod\_James](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rod_james/32/122076_2.png) [@Rod\_James](https://meta.discourse.org/u/Rod_James)
#### Post date: [2015年十一月29日 22:21 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/9 "2015-11-29T22:21:20Z")

</div>

> [@renai](#):
>
> This is a part of the Wordpress site [http://delimiter.com.au](http://delimiter.com.au).

sidebar, what wordpress theme are you using?

---

<div class="post-metadata">

### Author: ![bholst](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bholst/32/65051_2.png) [@bholst](https://meta.discourse.org/u/bholst)
#### Post date: [2016年十二月29日 00:38 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/10 "2016-12-29T00:38:27Z")

</div>

I’m quite interested in making this work. We have a wordpress site that has specific functionality that we need above and beyond what discourse has.  
It’d be nice if we could embed our discourse site on a “community” page of our wordpress site.  
What steps would I take?

---

<div class="post-metadata">

### Author: ![Emilio\_F\_Castillo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emilio_f_castillo/32/201087_2.png) [@Emilio\_F\_Castillo](https://meta.discourse.org/u/Emilio_F_Castillo)
#### Post date: [2018年十二月11日 22:21 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/11 "2018-12-11T22:21:06Z")

</div>

Hello @HAWK do you know if there is there a Squarespace integration? - I am not looking for the full forum to be embeded…but would like some sort of “feed” or “teaser” or “ticker” of the newest post to appear on the Squarespace site.

---

<div class="post-metadata">

### Author: ![GMAXSTUDIOS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gmaxstudios/32/131319_2.png) [@GMAXSTUDIOS](https://meta.discourse.org/u/GMAXSTUDIOS)
#### Post date: [2019年二月13日 19:04 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/12 "2019-02-13T19:04:36Z")

</div>

> [@HAWK](#):
>
> here

Would love to know about this as well!

---

<div class="post-metadata">

### Author: ![cdfrosty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cdfrosty/32/179292_2.png) [@cdfrosty](https://meta.discourse.org/u/cdfrosty)
#### Post date: [2020年五月5日 21:12 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/13 "2020-05-05T21:12:46Z")

</div>

我还需要嵌入论坛，我想用我的新 Discourse 论坛替换应用中的旧论坛。它已嵌入到我的 Web UI 的 UI 覆盖层中，需要嵌入整个内容。

---

<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: [2020年五月6日 17:55 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/14 "2020-05-06T17:55:11Z")

</div>

据我了解，无法将 Discourse 完全嵌入到 iframe 中。该问题在本论坛已被多次提问并解答。

您可以在自己的网站上嵌入 Discourse 评论。具体操作请遵循本指南：[通过 JavaScript 嵌入 Discourse 评论](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963)。嵌入评论后，用户仍需访问 Discourse 站点才能创建新评论。

此外，还有一项新功能允许您在自己的网站上嵌入 Discourse 评论列表。相关详情可在此查看：[https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911。](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911%E3%80%82)

将 Discourse 内容发布到外部站点的另一种方法是使用 Discourse API 从 Discourse 拉取数据。我们的 WordPress 插件即采用此方法。

---

<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: [2020年五月6日 17:55 UTC](https://meta.discourse.org/t/how-to-embed-whole-forum-in-another-site/32205/15 "2020-05-06T17:55:15Z")

</div>


