Magento Blog supports different kinds of comments including Magefan, Facebook and Disqus comments. In this article, you will learn how to configure them.
In order to manage comments in Magento 2 Blog navigate to Stores > Configuration > Magefan Extensions > Blog > Post View and find the Comments Section.
Magefan Blog Comments
- Set the Number of Comments of blog post to be displayed by default. In order to see more comments, customers will have to click on the See More button.
- Specify the default Number of Replies to these comments to display.
- Choose whether to Allow Guest Comments. In case you disable this option guests won't be able to submit a new comment or reply. To do this they will have to log in.
- State the Comments Date Format. Note: that this option is available only for Blog Plus and Blog Extra users.
If you choose to Enable Email Notifications some additional options will appear. According to it, the customer will receive the email notifications about a reply to his/her comment or other comments on the post he/she commented on. Note: this option is available only for Blog Extra users.
Once you enable this option Select the Sender of the email and choose the Email Template for the new comments notification.
The other option that is available for you to choose when configuring Magefan Blog Comments is Admin Email Notification. It defines whether the admin receives a notification about the new blog comment to his email.
When you enable it, choose the Sender, enter the email address of the admin you want the notifications to be Sent To, and select the Email Template.
Note: this option is available only for Blog Extra users. In case you use Magento 2 Blog Base notifications about new comments appear in the Admin Panel.
That is how the Magefan Blog Comments look like on the storefront:
Facebook Blog Comments
- Set the Number of Comments to be displayed by default.
- Enter the Facebook Application ID.
Facebook comments can't be seen in the Magento 2 admin panel. They can be moderated only from Facebook Moderation Tool.
That is how the Facebook Blog Comments look like on the storefront:
Disqus Blog Comments
Choosing Disqus Comments all you have to do is state Your Disqus Forum Shortname.
Disqus comments can't be seen in the admin panel. Therefore, they can be moderated only from Disqus Account.
That is how the Disqus Blog Comments look like on the storefront:
Disabling Comments for a Single Blog Post
In case you are using Blog Plus of Blog Extra, there is an additional option available for you. In order to disable comments for a single blog post navigate to Admin Panel > Content > Posts. Choose the post you would like to disable comments for and in the Display Settings section of blog configurations find the Enable Comments field. Setting it to "No" you disable comments for this particular blog post.
In order to secure your blog from robots-generated comments, you have to configure blog comment reCaptcha. Check out this article on how to enable comments reCaptcha for Blog in Magento 2!