Skip to content
Sign in
WP Discourse icon

WP Discourse

This plugin allows you to use Discourse as a community engine for your WordPress website.

Not scanned yet WordPress plugin 1k installs

Install in

No install steps yet

Follow the steps on the source page.

The WP Discourse plugin acts as an interface between your WordPress site and your
Discourse community.

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.

Authentication from Discourse to WordPress

The plugin allows you to use Discourse as an authentication provider for your WordPress site.

Note

The WP Discourse plugin requires PHP version 5.4.0 and greater. If >=PHP-5.4.0 is not available, the plugin installation
will fail.

Contact

Written by Joobi from the project's own listing. See the source page

commentsdiscourseforumsso
26 Nov 2026
Version 2.6.5 released. Not scanned yet.

2.6.5 11/25/2026

  • Support WordPress 7.2.
  • Fix topic re-listing and the logging link translation.
  • Update test dependencies and CI.

2.6.4 13/08/2026

  • Support for WordPress 7.1.0
  • Fix error when a log file can’t be opened during size validation
  • Bump dev dependencies

2.6.3 12/06/2026

  • Remove unused field from multisite network settings

2.6.2 22/05/2026

  • Support for WordPress 7.0.0
  • Bump dev dependencies

2.6.1 29/01/2026

  • Support for WordPress 6.9.0
  • Respect wp_send_new_user_notification_to_user filter

2.6.0 20/10/2025

  • Remove legacy ‘Match Posts by Title’ setting.
  • Only load Ajax posts if we have a post id.

2.5.9 10/06/2025

  • Updated publish post meta fields storage approach.
  • WordPress 6.8.1 support.

2.5.8 23/05/2025

  • Sidebar and comment block JS upgrades.
  • Add wpdc_publish_featured_link filter.

2.5.7 28/03/2025

  • Sidebar and comment block JS upgrades.
  • Handle various deprecations.
  • Don’t auto-publish when existing non-published posts are edited.

2.5.6 11/12/2024

  • Security updates.
  • Fix incorrect auto-publish of quick edits.

2.5.5 10/10/2024

  • Security updates.
  • Add wpdc_join_discussion_link_html filter.

2.5.4 28/06/2024

  • Various improvements to webhooks, including email matching for Update Userdata webhook.
  • PHP 8.1 deprecations.
  • Don’t require existing wp comments to show wp comments with setting.

2.5.3 01/05/2024

  • Improve HTML entites decoding in titles.

2.5.2 08/04/2024

  • Add a ‘Disable user creation’ setting for the DiscourseConnect Client.
  • Various package updates, deprecations and minor fixes.
  • Convert HTML entites in titles before sending to Discourse.

2.5.1 25/01/2024

  • Fix DiscourseConnect user registration email verification link
  • Fix publish max tags setting
  • Add publish_to_discourse utility function

2.5.0 12/11/2023

  • Post publishing code improvements
  • PHPUnit updated to PHPUnit 9

2.4.9 02/16/2023

  • Fix optional parameter handling in get_discourse_comments.
  • Fix compatibility with S3 uploads plugin.
  • Fix usage of get_the_excerpt filter.
  • Fixed HTML of avatars in quotes in comments.
  • Verified backwards compatibility for WP > 5.1

2.4.8 12/27/2022

  • Improve logs metafile handling.
  • Add logs enabled setting.

2.4.7 12/05/2022

  • Adds Discourse Comments block for the Block Editor.

2.4.6 09/20/2022

  • Improvements to the functionality and interface of the get_discourse_comments utility function.
  • Adds wpdc_after_webhook_post_update action for use with caching solutions.

2.4.5 07/06/2022

  • Fix logout when WP is the DiscourseConnect client and sync logout is enabled.
  • Improve the wpdc_publish_body filter.

2.4.4 06/30/2022

  • Add after_publication actions and logging

2.4.3 05/23/2022

  • WordPress 6.0 support
  • Granular API Key support (backwards compatible)
  • DiscourseConnect copy fix
  • Add wpdc_publish_body filter

2.4.2 05/11/2022

  • Temporarily remove comment formatter log call causing issues on some sites.
  • If comments are disabled return comment template without running comment formatter.
  • Update Github Actions to support Action changes

2.4.1 02/28/2022

  • Bugfix “Update Discourse Topic” functionality.
  • Update API Key copy.

2.4.0 02/24/2022

  • Revert to existing Discourse Username approach.
  • Move new Discourse Username support to publication setting.
  • Apply phpcs to unit tests.

2.3.9 02/21/2022

  • Add proper Discourse Username support
  • Ensure discourse_request method is uppercase.
  • Update tests config.

2.3.8 02/04/2022

  • Add WordPress 5.9 support.
  • Complete wp_remote_request standardisation.
  • Add method checks to all request tests.

2.3.7 12/07/2021

  • Update CI and developer documentation

2.3.6 12/06/2021

  • Fix wrong verb being used in sync_sso request

2.3.5 11/17/2021

  • Structural code improvements
  • Add logging to connection, comments, webhooks and DiscourseConnect
  • Add unit tests to connection, comments, webhooks, DiscourseConnect and multisite

2.3.4 10/30/2021

  • Improve comment HTML tag sanitization

2.3.3 10/29/2021

  • Update Discourse API key help text

2.3.2 10/07/2021

  • Add translation pipeline for configurable text
  • Support WPML in translation pipeline for configurable text

2.3.1 08/31/2021

  • Adopt Discourse approach to tag cleaning, including diacritic support

2.3.0 07/26/2021

  • Discourse SSO is now DiscourseConnect

2.2.9 01/05/2021

  • Add performance improvement for exclude-by-tag publishing feature

2.2.8 01/05/2021

  • Add exclude-by-tag publishing feature (>= WP 5.6)

2.2.7 01/05/2021

  • Add PHP 8.0.0 support

2.2.6 05/28/2021

  • Error handling, logging and unit tests for comment type detection in comment publishing.

2.2.4 05/11/2021

  • Add a logging system. This update adds a Logs tab to the plugin’s options menu.

2.2.3 04/05/2021

  • Add wpdc_comments_count filter to allow comments count for posts that have not been published to Discourse to be filtered

2.2.2 03/19/2021

  • Update wp-scripts dev-dependency
  • Move Discourse Sidebar styles.css to the root of the /discourse-sidebar directory

2.2.1 12/23/2020

  • Bugfix for exception in sidebar when “Post Types to Publish” is set to “Page”.

2.2.0 12/10/2020

  • Add Direct Database Publication option to deal with concurrency issues that may arrise when the plugin is used in conjunction with object caching plugins
  • Fix state being initialized for unallowed post types

2.1.9 11/24/2020

  • Improve state handling in the Discourse Sidebar

2.1.8 11/10/2020

  • Prevent Discourse post metadata from being updated via post API endpoints

2.1.7 10/16/2020

  • Fix paginated results not being handled by get_discourse_groups utility function

2.1.6 10/09/2020

  • Fix Publish to Discourse checkbox being unchecked for scheduled posts
  • Fix blank template not being loaded for sites that have enabled the ‘hide WordPress comments’ option

2.1.5 09/22/2020

  • Fix comment template sometimes being modified for wrong post type
  • Update copy for SSO Client settings to suggest using the WordPress domain instead of a wildcard character in the Discourse
    sso client secrets setting

2.1.4 09/11/2020

  • Add explicit permission callback to update-user REST Route for WordPress 5.5

2.1.3 09/10/2020

  • Remove Force Publish option for when the Classic Editor is used to publish posts

2.1.2 08/19/2020

  • Fix issue that was causing the comment-link, instead of Discourse comments to be displayed in some cases

2.1.1 08/14/2020

  • Fix Remove WordPress Comments Template option not being respected

2.1.0 08/10/2020

  • Fix issue with caused by updated Discourse tagging restrictions

2.0.9 08/10/2020

  • Fix issue that was causing Unlink Topic UI to not get updated when the Unlink Topic button was clicked on WordPress 5.5

2.0.8 08/09/2020

  • Fix issue that was preventing the WordPress comment template from being loaded for posts not published to Discourse

2.0.7 08/07/2020

  • Add option to only display comments for posts published to public Discourse categories

2.0.6 07/11/2020

  • Pass WordPress post to wp_discourse_publish_categories filter; apply the wp_discourse_publish_categories filter when Block Editor is used
  • Add wpdc_after_sso_client_user_update action hook to allow WordPress user to be updated from returned Discourse user-data
  • Strip HTML comment blocks from WordPress post before publishing post to Discourse

2.0.5 06/03/2020

  • If the Add Featured Links option is enabled, update the Discourse topic’s featured link when post updates are pushed from
    WordPress to Discourse

2.0.4 05/29/2020

  • Fix issue with the Auto Publish setting for posts that were unlinked from Discourse prior to WP Discourse version 2.0.3
  • Add static get_discourse_comments function to allow comments to be displayed without loading the comments template

2.0.3 05/27/2020

  • Update wpdc_auto_publish_overridden post metadata when a post is unlinked from Discourse to prevent the plugin from attempting
    to publish updates to the post to Discourse

2.0.2 05/15/2020

  • Extract images and embedded video URLs from blocks before publishing full post content to Discourse

2.0.0 03/30/2020

  • Prevent Auto Publish setting from auto publishing post updates to Discourse. The Auto Publish setting is only applied when a post
    is initially published on WordPress. If the post is later updated on WordPress, to update the content on Discourse, click the Update Topic
    button from the WP Discourse sidebar.
  • When Discourse is the SSO provider for WordPress, pass WordPress redirect_to URL parameter to the SSO process.

1.9.9 01/25/2020

  • Fix connection status notice displaying a success message when no API credentials have been entered

1.9.8 01/13/2020

  • Fix Open Links in New Tab setting not being applied to Join Discussion link
  • Use WPDISCOURSE_PATH constant when loading plugin files

1.9.7 10/21/2019

  • Use unique transient key for DiscourseUtilities::get_discourse_categories. This function returns more data than is stored in
    the transient that is set for internal use by the plugin.

1.9.6 10/16/2019

  • Fix incorrectly formatted header keys

1.9.5 10/04/2019

  • Fix WordPress as SSO client checking for matched email addresses after SSO external_id has been set
  • Fix incorrect markup on user profile page
  • Fix tag errors not being correctly handled
  • Fix disallowed tags not being able to be deleted through the Classic Editor meta box
  • Enable the auto-publish option for both the Block and the Classic editors
  • Remove mbstring dependency

1.9.4 09/05/2019

  • Move Discourse Username field to its own section of the user profile page
  • Allow admins to mark an email address as valid from the user profile page
  • Fix bug that was removing + character from email addresses when Discourse is the SSO Provider for WordPress

1.9.3 08/06/2019

  • Add ‘Force Publish Max Age’ option

1.9.2 08/01/2019

  • Various minor bug fixes

1.9.1 06/07/2019

  • Add ‘wpdc_load_comments_template_for_user’ filter to allow the comments template to be loaded conditionally

1.9.0 04/25/2019

  • Fix don’t enqueue Discourse sidebar script if no post types have been selected

1.8.9 04/02/2019

  • Fix don’t cache database call to GET_LOCK when retrieving comments from Discourse

1.8.8 03/19/2019

  • Fix don’t cache database call to GET_LOCK when publishing posts from WordPress to Discourse

1.8.7 02/12/2019

  • Don’t return Discourse comments from Rest Route for password protected posts

1.8.6 02/11/2019

  • Improve copy for plugin settings
  • Don’t allow comments to be viewed for drafts

1.8.4 01/24/2019

  • Fix unhandled publishing error types when the Classic Editor is being used
  • Pass the post_id to the wpdc_publish_format_title filter

1.8.3 01/18/2019

  • Fix encoding of SSO client redirect URL
  • Update wp_new_user_notification function to mirror latest WordPress version
  • Fix calling the ‘wp_login’ action with the wrong parameters
  • Fix listing unlisted topics for posts published with the Block Editor
  • Add ‘wpdc_discourse_username’ filter to allow publishing username to be overwritten before post is published
  • Add ‘wpdc_publish_unlisted’ filter to allow filtering which topics should be published as unlisted
  • Fix copy for Do Not Display Discourse Name Field option

1.8.2 01/10/2019

  • Add post_id parameter to publish_format_html template for use in custom templates

1.8.1 01/07/2019

  • Fix route name for custom post types

1.8.0 01/02/2019

  • Add wpdc_sso_client_query filter
  • Update SSO Client configuration instructions

1.7.9 12/09/2018

  • Add Pin Topic component to Block Editor sidebar
  • Respect allow-tags and max-tags options in Block Editor sidebar
  • Check if the Block Editor is being used to allow for switching between Block and Classic editors

1.7.8 12/08/2018

  • Add support for the Gutenberg editor
  • Update HTML templates to for WordPress twentyninteen theme
  • Apply ‘the_content’ filter to full post content that will be published to Discourse

1.7.7 10/12/2018

  • Add option to not load the WordPress comment template for posts that have not been published to Discourse
  • Improve the UI for choosing comment display options
  • Fix topics added to the Discourse approval queue not being handled correctly on WordPress
  • Fix tags that have been added to draft posts not being saved

1.7.6 09/13/2018

  • Don’t call sync_sso when the login request originates on Discourse

1.7.5 09/07/2018

  • Add wpdc_after_sync_sso action hook
  • Add wpdc_publish_private_post filter hook

1.7.4 08/21/2018

  • Fix max-tags option being accessed when it has not been set

1.7.3 08/17/2018

  • Fix make sure category name is returned before including it in force-publish message

1.7.2 08/17/2018

  • Fix target attribute not being set when Open Links in New Tab option selected
  • Fix Start Discussion text not being set when no comments are displayed on WordPress
  • Add discourse_post_avatar_template_size filter
  • Add discourse_participant_avatar_template_size filter

1.7.1 08/13/2018

  • Fix typo in wpdc-link-to-topic CSS selector name

1.7.0 08/09/2018

  • Add option to tag topics when they are published to Discourse

1.6.9 07/27/2018

  • Add option to clear cached comment HTML
  • Add wpdc_bypass_sync_sso filter

1.6.8 07/09/2018

  • Fix make sure Discourse name field is present

1.6.7 06/30/2018

  • Only cache comment HTML when the option is enabled
  • Clear comment HTML cache when SSO settings are updated

1.6.6 06/27/2018

  • Replace polls in comments with a link to the poll
  • Add a ‘redirect’ parameter to the SSO client shortcode
  • Cache comment HTML that is generated by the plugin
  • Add SSO Client Login Form Redirect setting

1.6.5 05/25/2018

  • Remove query params from URL when linking to existing topic

1.6.4 05/25/2018

  • Allow comment_url tag to be used in the comment_html template
  • Require confirmation before updating or unlinking post

1.6.3 05/08/2018

  • Fix timezone offset that is used for displaying Discourse comments published-at date

1.6.2 04/20/2018

  • Add an option to have a link to the Discourse topic instead of displaying comments beneath the post
  • Add a Join Discussion text option for when comments exist on the Discourse topic, but aren’t being pulled to WordPress
  • Fix error in Redirect Without Login option
  • Add wpdc_before_webhook_post_update filter hook that can be used to process Discourse webhooks after they have been validated by the plugin
  • Add excerpt_length and use_full_post options to wp_discourse_excerpt filter

1.6.1 04/04/2018

  • If a custom excerpt has been set, check if it’s empty before using it as the Discourse post content

1.6.0 02/04/2018

  • Fix bug in SSO client shortcode that was causing it to display the ‘Link your account’ text for accounts that were already linked

1.5.9 02/04/2018

  • Don’t use iconv_strlen for validating settings
  • Provide proper webhook URL for all permalink styles
  • Make options that need to be copied to Discourse easier to select

1.5.8 01/03/2018

  • Add option for publishing posts as unlisted Discourse topics
  • Add option for publishing posts as pinned topics
  • Update API static methods
  • Fix SSO Client nicename error when a full name is in the Discourse name field
  • Add an optional stylesheet for fixing oneboxes and quotes in comments

1.5.7 15/02/2018

  • Modify add_user_to_discourse_group and remove_user_from_discourse_group functions to avoid To Many Request issues
  • Allow add_user_to_discourse_group and remove_user_from_discourse_group functions to take multiple comma separated groups (no spaces allowed between groups!)
  • Sync SSO records on every login if Create or Sync Discourse Users on Login option is enabled
  • Add Sync Logout with Discourse option to SSO Client settings

1.5.6 02/02/2018

  • Add option to link posts to existing WordPress topics
  • Fix comment count when the update-topic webhook is enabled and posts are deleted on Discourse
  • Change the force-publish option so that it always publishes to the default category
  • Add ‘wpdc_comment_body’ filter that gives access to the Discourse comment content before it’s added to the comment template

1.5.5 27/12/2017

  • Fix comment character encoding for libxml versions < 2.8.0

1.5.4 10/12/2017

  • Add an option to load Discourse comments with an ajax call
  • Add action hooks to SSO Provider functions
  • Add unlink_from_discourse che
5 Jul 2016Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)