The Cove Blog

New setting to enable commenting to just paying members

New • 1 min read

You can now limit leaving comments to only your paying members. Free members or non-members will still be able to view comments.

Just add two new lines (the last two, below) to your Cove configuration code in your theme:

<script>
  const Cove = {
    publication: "your_site_id",
    contentId: "{{id}}",
    memberId: "{{@member.uuid}}",
    memberEmail: "{{@member.email}}",
    requirePaid: true,
    isPaid: {{@member.paid}}
  }
</script>

Any non-paying member will see the following message instead of the commenting form.

The Cove Newsletter

Subscribe to helpful tips about using Ghost and its membership features.

You've successfully subscribed to Cove!