Wordpress plugin that notifies a comment author when his comment receives a reply
GPL-2.0 License
=== Comment Reply Email Notification === Contributors: awelzel, guhemama Tags: comment, email, reply, notification Requires at least: 4.4.0 Tested up to: 6.6 Stable tag: 1.33.0 Donate link: https://paypal.me/ArnoWelzel License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
This plugin allows visitors to subscribe to get answers to their comments via e-mail.
== Installation ==
How to install the plugin:
/wp-content/plugins/comment-reply-email-notification
directory== Warning ==
This plugin uses the "wp_insert_comment" hook, therefore, everytime a comment is created, a notification is likely to be sent. If you are importing comments into your blog, it's a good idea to disable this plugin.
== Sending e-mails does not work? ==
The plugin uses the standard WordPress e-mail function. If you have problems getting e-mails sent, you might try using plugins like https://wordpress.org/plugins/wp-mail-smtp/ to improve sending e-mails from your site.
== Customizing the layout of the checkboxes ==
The label next to the checkboxes don't contain a whitespace. Depending on your theme you might want to add a custom style like this to get a space between the checkbox and the label:
input#cren_subscribe_to_comment, input#cren_gdpr { margin-right: 0.5em; }
The plugin does not add this style be default as it depends on your theme if this is neccessary.
== Customizing the email template ==
To customize the email template, copy the "templates" folder to your theme folder (a child theme should be used to avoid losing the custom templates when the theme is updated). The plugin will look for templates on the "/wp-content/themes/[THEME]/templates/cren/" folder; if a custom template is not found, then it will fallback to the default template.
Templates folder on GitHub: https://github.com/arnowelzel/worpdress-comment-reply-email-notification/tree/master/templates
== Changing the subscription checkbox label ==
The checkbox label can be changed with the cren_comment_checkbox_label
filter. This way you can update the text to your taste and keep the plugin updated.
== Changing the GDPR checkbox label ==
The GDPR checkbox label can be changed with the cren_gdpr_checkbox_label
filter. This way you can update the text to your taste and keep the plugin updated.
== Modifiying HTML output ==
Using the filters cren_gdpr_checkbox_html
and cren_comment_subscribe_html
you can modify the HTML output of the checkboxes if needed.
Example:
`add_filter('cren_gdpr_checkbox_html', function(string $html_output, string $label_text, string $privacy_policy_url): string { $html_output = '' . $label_text . '* (Privacy Policy)';
return $html_output;
}, 10, 3);
add_filter('cren_comment_subscribe_html', function(string $html_output, string $label_text, bool $checked_default): string { $checked = $checked_default ? 'checked' : ''; $html_output = '<input id="cren_subscribe_to_comment" class="form-check-input" name="cren_subscribe_to_comment" type="checkbox" value="on" ' . $checked . '>' . $label_text . '';
return $html_output;
}, 10, 3);`
== Changelog ==
= 1.33.0 =
= 1.32.0 =
= 1.31.0 =
= 1.30.0 =
= 1.29.0 =
= 1.28.0 =
= 1.27.0 =
= 1.26.0 =
= 1.24.0 =
= 1.23.0 =
add_submenu_page()
.= 1.22.0 =
= 1.21.0 =
= 1.20.0 =
= 1.13.0 =
= 1.12.0 =
= 1.11.0 =
= 1.10.1 =
= 1.10.0 =
= 1.9.0 =
= 1.8.0 =
= 1.7.1 =
= 1.7.0 =
= 1.6.1 =
= 1.6.0 =
= 1.5.0 =
= 1.4.4 =
= 1.4.3 =
= 1.4.2 =
= 1.4.1 =
= 1.4.0 =
= 1.3.3 =
= 1.3.2 =
= 1.3.1 =
= 1.3.0 =
= 1.2.0 =
= 1.1.1 =
= 1.1.0 =
= 1.0.0 =