WP Manifestindependent plugin directory
manifest / social / wordpress-discussion-bridge

DiscussionBridge for WordPress

DiscussionBridge for WordPress — native publishing, retrieval, retry, and comments plugin

by DiscussionBridge · github.com/discussionbridge/wordpress-discussion-bridge · website

0stars
3release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/discussionbridge/wordpress-discussion-bridge/releases/download/v0.2.0-alpha.19/wordpress-discussion-bridge-0.2.0-alpha.19.zip

Readme

DiscussionBridge for WordPress

git clone https://github.com/DiscussionBridge/wordpress-discussion-bridge.git

This native WordPress plugin connects one WordPress installation to one independently scoped Content Connection in the generic DiscussionBridge Discourse plugin.

Current Alpha slice:

  • queues delivery only for explicitly opted-in configured post types on their first authoritative transition to published;
  • skips drafts, autosaves, revisions, and public page loads;
  • uses a generated stable site UUID plus WordPress post ID as external identity;
  • performs bounded authenticated create-or-resolve delivery with no redirect or direct-Core fallback;
  • sends the bounded published WordPress body so the Discourse topic contains meaningful source content plus canonical attribution;
  • reports the stable WordPress author identity, display name and local author archive to the receiving connection. The forum operator chooses fixed or mapped Discourse authorship in that connection's Authors tab;
  • stores resource/topic/outcome/retry state in protected post metadata;
  • exposes authorized operator status and retry controls;
  • synchronizes authorized Publishing records into genuine native WordPress posts, retaining exact Discourse source revision, author, topic, resource and destination-URL provenance and updating only when that revision advances. Older presentation-only records are never treated as publication authority;
  • provides the native dynamic DiscussionBridge / From Discourse block and a compatibility [discussionbridge_record resource_id="…" comments="fullInteractive"] shortcode, both rendered server-side with a bounded cache. The block exposes the same discussion-mode choice in the editor;
  • offers none, native plugin-free simple, standard plugin-free full, and DiscussionBridge fullInteractive presentation per published post, with a site default;
  • renders Simple as sanitized native reply cards, five initially with a Show more comments disclosure, fetching at most 50 replies in bounded server-side batches before continuing on The Bridge;
  • appends the exact mapped To Discourse discussion to the original published post. fullInteractive uses the shared 800px bounded viewport with internal scrolling; Discourse retains ownership of sessions, replies, composer, moderation, and interaction; and
  • renders a From Discourse first post once in WordPress and, when fullInteractive is selected, presents that same topic's replies below it without duplicating the first post in the frame; and
  • builds a credential-free On this page navigation from two or more h2 or h3 headings in either WordPress-authored or From Discourse content.

Configure the Discourse HTTPS origin, dbc_… connection ID, lane, and published post types under Settings → DiscussionBridge. Prefer these protected server constants for credentials:

define('DISCUSSIONBRIDGE_SERVER_URL', 'https://forum.example');
define('DISCUSSIONBRIDGE_CONNECTION_ID', 'dbc_000000000000000000000000');
define('DISCUSSIONBRIDGE_CONNECTION_SECRET_FILE', '/run/secrets/discussionbridge-wordpress');
define('DISCUSSIONBRIDGE_SERVICE_AUTHOR', 'discussionbridge');

The secret file must be outside the webroot and readable only by the PHP-FPM application identity. The secret is never stored in WordPress options and must never be exposed to browsers, themes, public REST responses, URLs, content, or logs.

The service author must be an existing WordPress user allowed to publish posts. It owns locally materialized posts; the transported Discourse author, topic and revision remain separately visible as source provenance. This does not imply user or login synchronization.

WP Discourse is a separate plugin. For the Alpha demonstration its automatic publication and comments paths must remain disabled so one WordPress lifecycle cannot create competing topics.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.2.0-alpha.19 Sep 5, 2026 wordpress-discussion-bridge-0.2.0-alpha.19.zip 3