The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
"Email when reply i...
 
Share:
Notifications
Clear all

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

2 Posts
2 Users
0 Reactions
1,243 Views
Posts: 29
Topic starter
(@stanbrid)
Eminent Member
Joined: 4 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: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 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: