discourse / wp-discourse
WordPress plugin that allows you to use Discourse as a community engine for your WordPress blog.
Installs: 9 387
Dependents: 0
Suggesters: 0
Security: 0
Stars: 516
Watchers: 52
Forks: 112
Open Issues: 14
Type:wordpress-plugin
Requires
- php: >=5.4
- composer/installers: ^1.0
Requires (Dev)
- 10up/wp_mock: 0.4.2
- dealerdirect/phpcodesniffer-composer-installer: ^1.0.0
- dms/phpunit-arraysubset-asserts: ^0.5.0
- monolog/monolog: ^1.25
- phpcompatibility/php-compatibility: *
- phpunit/php-code-coverage: ^9.2.13
- phpunit/phpunit: 9.6
- squizlabs/php_codesniffer: 3.*
- wp-coding-standards/wpcs: ^3.0
- yoast/phpunit-polyfills: ^1.0.1
- dev-main
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.0
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.0
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.9
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.9
- 1.7.8
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.9
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.9
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.15
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.85
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.9.5
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.9
- 0.9.8
- 0.9.6
- 0.9.5
- 0.7.0
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- dev-dependabot/npm_and_yarn/blocks/comments/multi-0a9c0c2a04
- dev-bump-version-to-2.2.2
- dev-beta
- dev-wpdc-topic-map
- dev-sudaraka94-master
- dev-svn
This package is auto-updated.
Last update: 2024-12-11 23:12:06 UTC
README
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.
Use Discourse for Comments:
- 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 DiscourseConnect.
- 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.
See it Live
DiscourseConnect
The plugin also comes with optional DiscourseConnect functionality which lets you use your WordPress site as the DiscourseConnect 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.
Contact
Please post bug reports, support requests and all other inquiries in our dedicated support forum
Installation
From your WordPress dashboard
- Visit 'Plugins > Add New'
- Search for 'WP Discourse'
- Activate WP Discourse from your Plugins page
From wordpress.org
- Download WP Discourse
- Upload the 'wp-discourse' directory to your '/wp-content/plugins/' directory
- Activate WP Discourse from your Plugins page
With Composer
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.
Frequently Asked Questions
Does this plugin install Discourse for me?
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
Can I import old WordPress comments as Discourse comments (i.e. "replies")?
No.
Do WordPress and Discourse have to be installed on the same server?
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.
Is it possible to customize the comment templates?
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
Contributing
Before you start contributing or developing this plugin please read the documentation in docs/
, starting with contributing.md. If you have any questions about those process, please post in #dev for assistance.