Note: the wp-discourse plugin requires >= PHP-5.4.0.
The WP Discourse plugin acts as an interface between your WordPress site and your Discourse community.
The plugin is not a substitute for Disqus-like commenting systems.
- Automatically creates a forum topic for discussion when a new blog post is published.
- Associates WP author accounts with their respective Discourse accounts. Does not require SSO.
- Replies from the forum discussion can be embedded in the WP blog post. Select which replies to display based on post score and commenter "trust level" -- see docs.
The plugin also comes with optional SSO functionality which lets you use your WordPress site as the Single Sign On provider for your Discourse forum.
This will override Discourse's native (and powerful) login flow and is only recommended for use cases that strictly require such a setup, e.g. a site that is already using WordPress for large scale user management.
-
Bug reports and other developer inquiries should be directed at our GitHub Issues: https://github.com/discourse/wp-discourse/issues
-
Please post support requests to our dedicated support forum
- Visit 'Plugins > Add New'
- Search for 'WP Discourse'
- Activate WP Discourse from your Plugins page
- Download WP Discourse
- Upload the 'wp-discourse' directory to your '/wp-content/plugins/' directory
- Activate WP Discourse from your Plugins page
If you're using Composer to manage WordPress, add WP-Discourse to your project's dependencies. Run:
composer require discourse/wp-discourse ~1.3.2
Or manually add it to your composer.json
:
{
"require": {
"php": ">=5.4.0",
"discourse/wp-discourse": "~1.3.2"
}
}
For more detailed instructions please see the WP Discourse plugin installation and setup.
No this plugin acts as an interface between Discourse and WordPress. For it to work you will need to first set up Discourse forum. You can install Discourse for yourself following either of these guides:
- Install Discourse in Under 30 Minutes
- How to use the Discourse One-Click Application on DigitalOcean
No.
The plugin uses the Discourse API, so your forum and blog can be hosted separately and the integration will still work. In fact, we strongly recommend hosting the two applications separately, since their hosting requirements are very different.
Yes, the html templates used for publishing posts on Discourse and for displaying comments on WordPress can be customized in your theme. This is done by hooking into the filters that are applied to each template.
For more details on template customization, see: WP Discourse template customization
Before you start contributing or developing this plugin please read the documentation in docs/
explaining how the plugin handles code formatting, linting, tests and using composer packages. If you have any questions about those process, please raise an issue on the repository.
When you've read the docs, you're ready to start coding! Here's how to get started
- Fork this repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request