wpDiscuz - WordPress Comment Plugin
"Email when reply i...
 
Share:
Notifications
Clear all

[Solved] "Email when reply is posted" on by default


stanbrid
Posts: 29
Topic starter
(@stanbrid)
Eminent Member
Joined: 2 years ago

For inline comments, I'd like "Send me an email when a new reply is posted" to be check by default. 

How do you make this box turned on/checked by default for inline comments? I see there is an option to do  this in regular forms but not the inline comment form. - Thank you

Screen Shot 2022 03 18 at 2.26.58 PM

 

1 Reply
Asti
Posts: 4864
 Asti
Support
(@asti)
Support member
Joined: 5 years ago

Hi @stanbrid,

You can use the JS code below: 

jQuery(document).ready(function(){
      jQuery("input.wpd-inline-notify-me").prop('checked', true);
});

This article should be helpful for you: https://www.collectiveray.com/add-javascript-to-wordpress

 

Share: