1
Original article: https://tlanyan.pp.ua/wordpress-use-comment-reply-email-notification-plugin/

Some netizens have left comments under the articles on this site, and I usually reply after receiving the email notification. Yesterday, some netizens reported that they were unable to receive email notifications after their comments were replied. After testing, this is indeed a WordPress problem. Today, this site uses the WordPress comment reply email notification plugin Comment Reply Email Notification. Visitors will receive an email notification when the comment is replied.

Please attach the original link for : 160efa4c2c56c4 https://tlanyan.pp.ua/wordpress-use-comment-reply-email-notification-plugin/

Disadvantages of the WordPress comment system

WordPress is a well-functioning and powerful blog system. Site visitors only need to fill in their nickname and email address to leave a message at the bottom of the article, and bloggers can reply to comments in the background. The WordPress comment system provides a channel for interactive communication between visitors and bloggers, which is a great feature.

But the WordPress comment system also has a big disadvantage: when there is a new reply to the comment of the visitor. The WordPress background is configured with the mail sending function, bloggers can receive email notification when there are new messages on the website; but when the blogger replies to the visitor, WordPress will not send an email to the visitor ; unless the visitor opens the article page again, it may be forever I don’t know the blogger has replied to the message.

Informing visitors that there are new replies to comments can not only greatly enhance the experience of visitors, but also enhance the interaction between bloggers and visitors, which is very beneficial to both parties.

This article shares the use of the Comment Reply Email Notification plugin to make up for this shortcoming of WordPress.

WordPress comment reply email notification plugin Comment Reply Email Notification

First, you need to configure the mail sending function in the WordPress backend. At present, most VPS merchants do not allow the host to send emails directly. I recommend using the WP Mail SMTP plug-in to send emails. WP Mail SMTP is easy to configure and supports multiple mail services such as QQ, 163, Gmail, MailGun, etc.

Comment Reply Email Notification plug-in on the plugin page of the WordPress backend and enable it. At the same time, it is recommended to check "Subscribe Reply" by default on the plugin settings page:

Comment Reply Email Notification设置

Next, open an article at will, and you can see that there is an additional option box in the comment form:

Comment Reply Email Notification效果

The flaw in the Comment Reply Email Notification plugin is that the sentence "Notify me via e-mail if anyone answers my comment." is not translated into Chinese.

The method of adding Chinese translation is also very simple, there are two main ones:

  1. The first method is to download the translated file on this site: https://tlanyan.pp.ua/wp-content/uploads/2021/03/comment-reply-email-notification-zh_CN.mo , then upload Go to the wp-content/plugins/comment-reply-email-notification/languages directory of your website;
  2. : open the Chinese translation po file of the plug-in (file path is 160efa4c2c5b0b website directory/wp-content/plugins/comment-reply-email-notification/languages/comment-reply-email- notification-zh_CN.po ), add the following three lines at the end of the file:

    : comment-reply-email-notification.php:363

    msgid "Notify me via e-mail if anyone answers my comment."
    msgid "Notify me by email when there is a reply"

    The "notify me by email when there is a reply" can be replaced with your own translation.

    Then convert to a mo file: msgfmt -o comment-reply-email-notification-zh_CN.mo comment-reply-email-notification-zh_CN.po

Choose a method to configure, refresh the article page, you can see the effect similar to the comment column of this site:

Comment Reply Email Notification中文翻译

At this time, when the guest's message is commented or replied, a notification email will be received:

WordPress评论回复通知邮件

to sum up

Receiving an email notification in time when a message is answered can greatly enhance the visitor's experience and enhance the interaction between bloggers and visitors. Therefore, it is highly recommended that WordPress bloggers install and use the Comment Reply Email Notification plugin.

reference

1. WordPress Comment Reply Email Notification

2. PHP send mail

3. three ways to translate po files and convert them to mo files


tlanyan
1.1k 声望99 粉丝