Is it possible to continue the discussion on Discourse AFTER a limit of Wordpress Comments are hit?

AI-generated summary

The discussion revolves around integrating WordPress comments with a Discourse forum. The goal is to set a limit on WordPress comments (e.g., 5 comments) and then display a “Continue the discussion on Discourse” message with a link to the forum topic.

spa explains that the current moderation process is split between the blog and the forum, and they want to move discussions to the forum when they gain traction.

Arkshine suggests setting the Max Visible Comment option, but spa notes that this affects Discourse comments, not WordPress comments.

maiki confirms that it’s possible to achieve this by writing a custom function to hook into the comments section. They recommend exploring the WP-Discourse plugin’s templates and filters for customization. However, maiki also advises against this approach, as it may create a false sense of social proof with conversations split between two platforms.

spa and simon discuss the potential implementation, with simon offering to add hooks to the plugin if needed.

Our use case is as follows;

We want to send folk from our Blog to our Forum as most of our moderation occurs there (the forum). We do not, however, want to force people to the forum just to leave a comment, so the idea is to have a limit on Wordpress comments (let’s say a max of 5 comments) before a “Continue the discussion on Discourse” message is shown. That way, if a topic is getting quite a lot of interaction, we would rather move that conversation over to the Forum otherwise we’re moderating both the Blog and the Forum.

Is it possible to show a link to the forum topic after a certain number of WP Comments have been created?

Did you try to set Max Visible Comment? (commenting tab)

I have, but it doesn’t seem to affect Wordpress comments, but Discourse comments.

Certainly! You can write a function to hook into the comments section, and once a comment count has been reached show the message to Discourse.

You can learn the templates and filters in the WP-Discourse plugin at Customize the structure of WP Discourse templates.

I don’t recommend it. Your conversations will be in two places, so all it demonstrates a false sense of social proof. Better to funnel folks into Discourse. :sunglasses:

I too prefer to just funnel everyone straight to discourse, but the team has spoken :upside_down_face:

Thanks for the input! I’ll look into it!

Let me know if you need any hooks added to the plugin to get this to work.