Skip to content
Available for new work
Pages in Blog

ConfigurePremium

Comment settings in CoullWorks Blog for Magento 2

Comment provider, moderation, spam limits, email templates and the reCAPTCHA switch, with a step-by-step moderation setup.

Updated 17 November 2026Back to the package pageBuy

Readers can comment on a post in three ways: the built-in comments you moderate in the admin, Disqus, or Facebook comments. The built-in comments have most of the settings.

Comments group#

The Comments group with the provider, moderation, spam limit and email fields

The Comments group on a fresh install, with Built-in comments chosen. The Disqus and Facebook fields are not on the page because they appear only when that provider is chosen.

Provider and moderation#

Comments Provided By#

The Comments Provided By field in Comments

The Comments Provided By field as it opens on a fresh install: Built-in comments, with the help line about moderation and Load comments.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/provider.
  • Scope: Default, website and store view.
  • Type: Drop-down.
  • Default: Built-in comments.
  • Allowed values and checks: Built-in comments, Disqus or Facebook comments.
  • What it changes: Chooses the comment system on every post page. Built-in comments are saved in your database and moderated under Content, CoullWorks Blog, Comments. Disqus and Facebook load only after the reader presses Load comments, because loading them shares data with the provider. The built-in form refuses posts while another provider is chosen, and the fields below that belong to a provider are shown only for that provider.

Allow Guests to Comment#

The Allow Guests to Comment field in Comments

The Allow Guests to Comment field as it opens on a fresh install: Yes.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/allow_guests.
  • Scope: Default, website and store view.
  • Type: Drop-down (Yes or No).
  • Default: Yes.
  • Allowed values and checks: Yes or No. Shown only when Comments Provided By is Built-in comments.
  • What it changes: With Yes, a visitor who is not logged in can use the form. With No, the form is replaced by a Log in to comment message and link, and a guest request is refused.

Approve Logged-in Customers Automatically#

The Approve Logged-in Customers Automatically field in Comments

The Approve Logged-in Customers Automatically field as it opens on a fresh install: No.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/auto_approve_customers.
  • Scope: Default, website and store view.
  • Type: Drop-down (Yes or No).
  • Default: No.
  • Allowed values and checks: Yes or No. Shown only when Comments Provided By is Built-in comments.
  • What it changes: Every new comment is saved as Pending and is hidden from the storefront until a moderator approves it. With Yes, a comment from a logged-in customer is saved as Approved at once. A guest comment is always Pending. There is no setting that approves guest comments automatically.

Email the Moderator About New Comments#

The Email the Moderator About New Comments field in Comments

The Email the Moderator About New Comments field as it opens on a fresh install: Yes.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/notify_admin.
  • Scope: Default, website and store view.
  • Type: Drop-down (Yes or No).
  • Default: Yes.
  • Allowed values and checks: Yes or No. Shown only when Comments Provided By is Built-in comments.
  • What it changes: With Yes, an email using the New Comment Email Template is sent for each new comment, with the post, the author, the text and the comment's status.

Moderator Email#

The Moderator Email field in Comments

The Moderator Email field as it opens on a fresh install: empty, with the help line about the general contact address.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/admin_email.
  • Scope: Default, website and store view.
  • Type: Text.
  • Default: empty (uses the store's general contact address).
  • Allowed values and checks: An email address. Shown only when the notice email is on. Empty uses the address in Stores, Configuration, Store Email Addresses, General Contact. If both are empty, no email is sent.
  • What it changes: The address that receives the new-comment email.

Close Comments After (days)#

The Close Comments After (days) field in Comments

The Close Comments After (days) field as it opens on a fresh install: 0, with the help line about the post's own Close Comments setting.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/close_after_days.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 0 (never close).
  • Allowed values and checks: Digits only, zero or greater. Shown only when Comments Provided By is Built-in comments.
  • What it changes: Comments stop being accepted this many days after the post was published (or created, for a post with no publish date). 0 keeps comments open. A post's own Close Comments setting, Yes or No, overrides this for that post. When a post is closed the page shows "Comments are closed" in place of the form, and existing comments stay visible.

Spam limits#

These limits apply to the built-in form. A comment that fails one is refused with a message and is not saved, so it never reaches the moderation list. The visitor is identified by IP address, and the counts are kept in Magento's cache, so flushing the cache resets them.

Minimum Time to Fill the Form (seconds)#

The Minimum Time to Fill the Form (seconds) field in Comments

The Minimum Time to Fill the Form (seconds) field as it opens on a fresh install: 3, with the help line "A form sent faster than this is refused as spam and the comment is not saved. Default 3.".

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/min_fill_seconds.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 3.
  • Allowed values and checks: Digits only and greater than zero. Shown only when Comments Provided By is Built-in comments.
  • What it changes: The form carries a hidden time stamp. A comment sent sooner than this after the form loaded is refused as likely spam.

Seconds Between Comments From One Visitor#

The Seconds Between Comments From One Visitor field in Comments

The Seconds Between Comments From One Visitor field as it opens on a fresh install: 30, with the help line "Per post. A comment sent sooner is refused and not saved. Default 30.".

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/rate_interval_seconds.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 30.
  • Allowed values and checks: Digits only and greater than zero. Shown only when Comments Provided By is Built-in comments.
  • What it changes: The shortest gap between two comments from the same visitor on the same post. A faster one is refused with a rate limit answer (HTTP 429).

Comments Per Hour From One Visitor#

The Comments Per Hour From One Visitor field in Comments

The Comments Per Hour From One Visitor field as it opens on a fresh install: 10, with the help line "Per post. Comments over this are refused and not saved. Default 10.".

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/rate_per_hour.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 10.
  • Allowed values and checks: Digits only and greater than zero. Shown only when Comments Provided By is Built-in comments.
  • What it changes: The most comments one visitor can send on one post in an hour. More are refused with the same rate limit answer.

The Most Links in One Comment field in Comments

The Most Links in One Comment field as it opens on a fresh install: 2, with the help line "A comment with more links than this is refused as spam and is not saved. 0 allows none. Default 2.".

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/max_links.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 2.
  • Allowed values and checks: Digits only, zero or greater. 0 allows no links. Shown only when Comments Provided By is Built-in comments.
  • What it changes: A comment with more links than this is refused as likely spam.

Longest Comment (characters)#

The Longest Comment (characters) field in Comments

The Longest Comment (characters) field as it opens on a fresh install: 2000, with the help line giving the default.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/max_length.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 2000.
  • Allowed values and checks: Digits only and greater than zero. Shown only when Comments Provided By is Built-in comments.
  • What it changes: A longer comment is refused with the message "Your comment is too long" and the limit.

Comments per Page#

The Comments per Page field in Comments

The Comments per Page field as it opens on a fresh install: 20, with the help line about top-level comments.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/threads_per_page.
  • Scope: Default, website and store view.
  • Type: Text field that takes a whole number.
  • Default: 20.
  • Allowed values and checks: Digits only and greater than zero. Shown only when Comments Provided By is Built-in comments.
  • What it changes: How many top-level comments one page shows, each with all its replies. The rest are on numbered pages.

Emails#

Email Sender#

The Email Sender field in Comments

The Email Sender field as it opens on a fresh install: General Contact.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/sender.
  • Scope: Default, website and store view.
  • Type: Drop-down.
  • Default: General Contact.
  • Allowed values and checks: One of the store email identities Magento lists (General Contact, Sales Representative, Customer Support, Custom Email 1 and 2). Shown only when Comments Provided By is Built-in comments.
  • What it changes: The From address of the blog's comment emails.

New Comment Email Template#

The New Comment Email Template field in Comments

The New Comment Email Template field as it opens on a fresh install: Blog: New Comment (Default).

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/admin_template.
  • Scope: Default, website and store view.
  • Type: Drop-down.
  • Default: Blog: New Comment (Default).
  • Allowed values and checks: Any email template Magento lists for this field. Shown only when Comments Provided By is Built-in comments.
  • What it changes: The template of the moderator email. Make your own under Marketing, Email Templates, starting from "Blog: New Comment", then choose it here.

Reply Notification Email Template#

The Reply Notification Email Template field in Comments

The Reply Notification Email Template field as it opens on a fresh install: Blog: Reply to Your Comment (Default).

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/reply_template.
  • Scope: Default, website and store view.
  • Type: Drop-down.
  • Default: Blog: Reply to Your Comment (Default).
  • Allowed values and checks: Any email template Magento lists for this field. Shown only when Comments Provided By is Built-in comments.
  • What it changes: The template of the email sent to a commenter when someone replies and the reply is approved. It is sent only if the commenter gave an address and asked to be told about replies, and not when the reply was written with the same address as the comment it answers.

Other providers#

Disqus Shortname#

The Disqus Shortname field in Comments

The Disqus Shortname field as it opens on a fresh install: empty, with the help line "Needed when comments are provided by Disqus".

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/disqus_shortname.
  • Scope: Default, website and store view.
  • Type: Text.
  • Default: empty.
  • Allowed values and checks: Shown only when the provider is Disqus. Use the shortname from your Disqus site settings.
  • What it changes: Tells Disqus which site the thread belongs to. With no shortname the post shows no comments section at all. The Disqus thread loads only after the reader presses Load comments.

The field is shown only when Disqus is the chosen provider, so the screenshot was taken with that provider selected.

Facebook App ID#

The Facebook App ID field in Comments

The Facebook App ID field as it opens on a fresh install: empty, with the help line saying it is optional.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/facebook_app_id.
  • Scope: Default, website and store view.
  • Type: Text.
  • Default: empty.
  • Allowed values and checks: Shown only when the provider is Facebook. Optional.
  • What it changes: Passed to the Facebook script that draws the comments. Facebook comments load only after the reader presses Load comments.

Facebook SDK Version#

The Facebook SDK Version field in Comments

The Facebook SDK Version field as it opens on a fresh install: v26.0, with the help line about Meta retiring old versions.

  • Where it is: Stores, Configuration, CoullWorks, Blog, Comments. Setting path coullworks_blog/comments/facebook_sdk_version.
  • Scope: Default, website and store view.
  • Type: Text.
  • Default: v26.0.
  • Allowed values and checks: Shown only when the provider is Facebook. A Graph API version such as v26.0.
  • What it changes: The Facebook SDK version the plugin loads. Meta retires old versions, so check their changelog now and then and update this value.

reCAPTCHA for the comment form#

The Enable for Blog Comments field under Google reCAPTCHA Storefront, set to No and inheriting the system value

The Enable for Blog Comments field in Stores, Configuration, Security, Google reCAPTCHA Storefront. It shows No, greyed out, because Use system value is ticked.

This one field is not in the CoullWorks section. It is added to Magento's own reCAPTCHA page.

  • Where it is: Stores, Configuration, Security, Google reCAPTCHA Storefront, in the group of per-form settings, Enable for Blog Comments. Setting path recaptcha_frontend/type_for/coullworks_blog_comment.
  • Scope: Default and website (not store view).
  • Type: Drop-down. It lists the same types as Magento's other reCAPTCHA forms.
  • Default: none, so no reCAPTCHA (the field shows No with Use system value ticked).
  • What it changes: When a type is chosen and Magento's reCAPTCHA keys are set up, the built-in comment form needs a reCAPTCHA answer, and a missing or failed answer refuses the comment. The module has no keys of its own: set the keys on the same Google reCAPTCHA Storefront page first, because a form that cannot be checked refuses the comment.

How to enable comments with moderation#

  1. Open Stores, Configuration, CoullWorks, Blog, group Comments.
  2. Leave Comments Provided By on Built-in comments.
  3. Set Allow Guests to Comment as you want. Leave Approve Logged-in Customers Automatically on No so every comment waits for you.
  4. Leave Email the Moderator About New Comments on Yes and type your address in Moderator Email, or leave it empty to use the general contact address.
  5. Press Save Config and flush the cache.
  6. Open a published post on the storefront and send a test comment. It does not appear on the page. A moderator email arrives.
  7. Open Content, CoullWorks Blog, Comments. The comment is there with the status Pending. Approve it, or mark it Rejected or Spam. Only approved comments show on the post.

How to stop comments on old posts#

Set Close Comments After (days) to, for example, 90 and save. Every post older than that stops taking comments, and keeps showing the comments it has. To keep one old post open, set its Close Comments field to No in the post form.

How to switch to Disqus#

  1. Set Comments Provided By to Disqus. The Disqus field appears.
  2. Type your Disqus Shortname and save.
  3. Open a post. It shows a note and a Load comments button. Disqus loads only when the reader presses it.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.