Embedding private discussions on a wordpress site

Hi everyone,

I’m looking for some guidance on a client project. We wish to embed discussion titles from a private Discourse site on to a public site - whereby if anyone clicks on the links to participate, they’re taken to a registration page.

I have two questions.

  1. Is it possible to do this?
  2. If not, could we simply tag certain discussions to appear in public?

The goal is to have content articles appearing alongside discussions.

Very open to other ways of achieving this goal too.

1 Like

That’s how it already works. if you try to link to a thread on a site set to private, it will direct you to the login. Here’s what it looks like on mine (we use SSO so it’s not Discourse default.)


It won’t pull the OpenGraph stuff because it’s private and it can’t see it. You’ll have to hand-code that if you want it to appear.

There is no way I know of to flag individual discussions to ignore the site’s settings for privacy. Even with page publishing, it respects the privacy of the source.

Thanks Heather, but would this show the title of the discussion on a public site if the community is private?

  • Rich

Not automatically, no, because the privacy settings prevent it from pulling the title. You can, however, embed it manually with basic HTML, like so:

Got Buddies, Now What?