# Using Wordpress/Discourse

**URL:** https://meta.discourse.org/t/using-wordpress-discourse/137775
**Category:** WordPress
**Created:** [January 4, 2020, 8:32pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775 "2020-01-04T20:32:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 4, 2020, 8:32pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/1 "2020-01-04T20:32:06Z")

</div>

We will be using “Discourse hosted” on one of our new Wordpress ventures as it truly is awesome, just getting to grips with it and we will be installing the Plugin shortly. We have a few questions though :-

1. If a guest signs up using Facebook Login on either platform will this cause issues?
2. Is there a way to have just one login/register section for both sites?
3. Has anyone got the Wordpress header into Discourse?
4. Has anyone got the Discourse notifications working in the Wordpress Menu?
5. Has anyone got notifications working with OneSignal.

Thanks in advance if anyone can answer these questions.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 5, 2020, 3:58am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/2 "2020-01-05T03:58:14Z")

</div>

> [@Damian\_Boon](#):
>
> a guest signs up using Facebook Login on either platform will this cause issues?

I don’t think that will cause any issues.

> [@Damian\_Boon](#):
>
> there a way to have just one login/register section for both sites?

Yes, there is a great way called SSO

> [@Damian\_Boon](#):
>
> anyone got the Wordpress header into Discourse?

Links can be added to discourse using theme components but carrying 100% of wordpress header is neither ideal nor recommend

> [@Damian\_Boon](#):
>
> anyone got the Discourse notifications working in the Wordpress Menu?

This has never been tried as far as I’m aware.

> [@Damian\_Boon](#):
>
> anyone got notifications working with OneSignal.

Which notifications?

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 5, 2020, 4:08am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/3 "2020-01-05T04:08:39Z")

</div>

> [@itsbhanusharma](#):
>
> Which notifications?

Basically I want to get my site [https://carptalk.uk/](https://carptalk.uk/)

Integrated with

[https://forum.carptalk.uk/](https://forum.carptalk.uk/)

I have created an Android WebView App and got it working and sending out notifications of posts (using OneSignal).

I now want to get a hosted Discourse solution to integrate with Wordpress (but use the wordpress menu) and have the members Discourse notifications in the main menu using OneSignal (if i am making sense)

As long as the SSO uses the same Device ID and can be pulled from a DB surely this will be possible or am i dreaming 😉

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 5, 2020, 4:14am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/4 "2020-01-05T04:14:05Z")

</div>

There was a plugin to send push notifications using onesignal but I’m not sure how much helpful it’ll be in this case since I believe it was a 3rd party plugin which is not an option on hosted discourse.

You’ll need someone to do the design work to make discourse menu look like WordPress but even then, there will be some visual cues that will remain as discourse menu contains some options that are crucial to the operation.

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 5, 2020, 4:17am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/5 "2020-01-05T04:17:24Z")

</div>

How does this site work, as soon as you just messaged, I got the notification in my browser. I would just need to find that hook then setup a few lines of code 😉

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 5, 2020, 4:26am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/6 "2020-01-05T04:26:11Z")

</div>

I had replied to Your post, not messaged 😄  
About the notifications, I’m not very technically sound to answer that but I assume it is the magic dust and message bus in the play.

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 5, 2020, 4:28am UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/7 "2020-01-05T04:28:07Z")

</div>

Sorry its 5am nearly here haha, i meant “replied”.

---

<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: [January 6, 2020, 7:04pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/8 "2020-01-06T19:04:12Z")

</div>

> [@Damian\_Boon](#):
>
> Is there a way to have just one login/register section for both sites?

With the [WP Discourse](https://github.com/discourse/wp-discourse) plugin you can configure WordPress to be the SSO provider for Discourse. This means that all authentication for your Discourse site will happen on WordPress. An example of how it works is that if a user clicks the Login button on your Discourse site, they will be automatically redirected to WordPress, taken through the login process there, and then be redirected to Discourse.

> [@Damian\_Boon](#):
>
> If a guest signs up using Facebook Login on either platform will this cause issues?

If you enable SSO, social logins will only be in place on your WordPress site. If you add Facebook login to your WordPress site, users will be able to login to WordPress through Facebook, and then login to Discourse via WordPress.

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 6, 2020, 7:23pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/9 "2020-01-06T19:23:04Z")

</div>

Thats awesome and thanks for the reply, thats the next thing on the todo list.

After using Discourse it is not what i thought it was (have used bbpress, wpforo, buddypress and loads more that are well below par) It is amazing and well thought out. We won’t be tinkering about with this too much, I was expecting to have to do some work but it just works out of the box.

My concerns now are the push notifications on a webview style app and also the fact i have done nearly 1k page views on my own out of the 100k. I am thinking we will be hitting half a million page views a month and with no income and being a startup this may be a stumbling block. How flexible is Discourse ?

---

<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: [January 6, 2020, 7:43pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/10 "2020-01-06T19:43:29Z")

</div>

The pageview limit on our hosting is a soft limit. If you exceed it for a few months we’ll get in touch with you. You are unlikely to exceed it in your first month.

> [@Damian\_Boon](#):
>
> Has anyone got the Wordpress header into Discourse?

Here’s a good example: [https://forums.wyzecam.com/](https://forums.wyzecam.com/). The WordPress header has been recreated with HTML and added to the Header section of a theme component.

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 6, 2020, 7:49pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/11 "2020-01-06T19:49:16Z")

</div>

> [@simon](#):
>
> You are unlikely to exceed it in your first month.

I agree as the sites not being officially launched till April, but we will be expecting 50-100k+ visitors a month. We sent out a few links about our wordpress site about the new launch and had 12k in a month so we have to prepare for the costs involved.

 ![Screenshot 2020-01-06 at 19.47.34](https://global.discourse-cdn.com/meta/original/3X/e/a/eacd58a88d353a494c62877b1b8ccc2599b0648b.jpeg)

---

<div class="post-metadata">

### Author: ![Damian\_Boon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/damian_boon/32/574032_2.png) [@Damian\_Boon](https://meta.discourse.org/u/Damian_Boon)
#### Post date: [January 6, 2020, 7:52pm UTC](https://meta.discourse.org/t/using-wordpress-discourse/137775/12 "2020-01-06T19:52:36Z")

</div>

An example is this, we have somehow hit 1.5k pageviews just me and another mod in 2 days on our Discourse site

 ![Screenshot 2020-01-06 at 19.51.22](https://global.discourse-cdn.com/meta/original/3X/8/2/82bb52b9ced6d4e1c315c36d670dfa4ed3ef506f.jpeg)
