Link between posts in WP and Discourse and shortcodes

AI-generated summary

Linking WP and Discourse Posts

Ben_James asked about linking WordPress (WP) and Discourse posts to share comments between the two platforms. erlend_sh replied that the wp-discourse plugin achieves this, citing examples on blog.discourse.org.

Regarding the issue of WP shortcodes being transferred as text to Discourse, erlend_sh suggested using only summaries in Discourse topics instead of mirroring the entire post.

Lastly, Ben_James inquired about authorship on Discourse when publishing a WP post without a corresponding Discourse account. erlend_sh believed the author would default to @system.

Is there any way to link two separate posts, one in WP and one in Discourse, so that the comments from the Discourse post are shown on the WP post?
Also, I use shortcodes for images and stuff on WP, which are transferred as text to Discourse. Any solution for that?
Last question, If I have a WP account, but I have not created a Discourse account for it, and am publishing a WP post with “Post to Discourse”, who is the author on Discourse? What is the best way for my WP authors to publish on Discourse through WP?

Yep, that’s what the wp-discourse plugin does :slight_smile: See posts on blog.discourse.org for an example.

Best workaround would be to use only summaries in the Discourse topics instead of mirroring the entire post.

I think it’ll then default to @system. Let me know if you put it to the test :wink: