# Embed Discourse forum in a Wordpress website

**URL:** https://meta.discourse.org/t/embed-discourse-forum-in-a-wordpress-website/71747
**Category:** WordPress
**Created:** [October 10, 2017, 9:29am UTC](https://meta.discourse.org/t/embed-discourse-forum-in-a-wordpress-website/71747 "2017-10-10T09:29:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vanina\_Yordanova](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@Vanina\_Yordanova](https://meta.discourse.org/u/Vanina_Yordanova)
#### Post date: [October 10, 2017, 9:29am UTC](https://meta.discourse.org/t/embed-discourse-forum-in-a-wordpress-website/71747/1 "2017-10-10T09:29:37Z")

</div>

Hello everybody!

I have a running Discourse forum on a web server and a Wordpress website on a localhost. What I want to do is the following: I want to embed the forum in a page of my website. Every user registered within my website should be registered to the forum as well. I read somewhere a comment that this is not a good practice(embed the forum).Is that tru and why?

I already isnalled WP Discource plugin on the website and connected the forum with the website. But I need to know extacly how to display the cpontent of the forum on a page of the website.  
I hope I explained at least a bit clear!!!

Any help will be mucha appreciated!  
I am looking forward to your asners!

---

<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: [October 10, 2017, 6:04pm UTC](https://meta.discourse.org/t/embed-discourse-forum-in-a-wordpress-website/71747/2 "2017-10-10T18:04:26Z")

</div>

> [@Vanina\_Yordanova](#):
>
> I need to know extacly how to display the cpontent of the forum on a page of the website.

Make calls to the Discourse API from WordPress to get the content you need. There are some examples you can look at in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin for how to do that. Look at the `lib/utilities.php` file.
