How to edit the comment box text?

Hello,
Is there a way to edit this text?
Arc_3Q23Xu6AP6

This section is an iframe produced by the comments-ui app (a separate react app).

If you are able to edit your theme, you could add a check for whether the user is a member ({{@unless @member}}, and if they aren’t, you could show your own call-to-action instead of the {{comments}} helper.

If you want additional changes to the comments app, you’d probably need to build your own version. The code lives in the Ghost monorepo, in /apps/comments-ui. You’d edit it, build a new version, put it somewhere (i.e. in your theme), and then if you’re self hosting, you’d edit config.production.json to load it, or if you’re in managed hosting, you’d replace {{comments}} with the code that that helper loads. Some details about replacing {{comments}} are in the post below, but they’re for a couple versions back, so you will probably want to look at the output of {{comments}} now (by inspecting the page source) and update accordingly.

1 Like