WP Manifestindependent plugin directory
manifest / integrations / wp-discourse-topic-integration

Discourse Topic Integration

Building a plugin allowing the integration of Discourse topic on wordpress posts and pages.

★ 6stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/matthieu-lapeyre/wp-discourse-topic-integration/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Embed any discourse topic in your wordpress pages.

Description

This plugin allows you embedding the first post of any Discourse forum topic.

Once activated, it provides a simple wordpress shortcode:

[discourse topic_id="xxx" type="subject/full/reverse-full/author-info"]

which generates simple HTML code:

<h1> {Title} </h1>
<h2> {Author} <h2>

{content}

<button> {Link to the topic} </button>

Installation

Installing "Discourse Topic Integration" can be done either by using the following steps:

  1. Download this plugin
  2. Upload the ZIP file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Go to your admin panel Settings > Discourse Topic Integration
  5. Specify your Discourse url in the Discourse base url field
  6. Get the ID in topic url you want to embed
  7. Create a new page and put this shortcode [discourse topic_id='ID']

Changelog

0.5

  • Add support for Github Updater WP plugin

0.4

  • add author-info template

0.3

  • Center images by default
  • Add templates
  • add new option to embed full topic in order or reverse order

0.2

  • Add support for custom CSS

0.1

  • 2015-06-19
  • Initial release