Support » Plugin: Jetpack by WordPress.com » “Notify me of new follow-up comments via email” checkbox checked by default?

  • Resolved Annonnimmo

    (@annonnimmo)


    I would like this checkbox is checked by default.
    Is it possible?
    Thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Stef

    (@erania-pinnera)

    Hi @annonnimmo,

    I’m afraid there’s not an option at all, so you cannot set it as checked by default.

    Since the checkboxes live inside the WordPress.com iFrame, we can’t even force them to be checked by adding some JavaScript on the site.

    It also would not be legal in some countries if we did that; you have the right to choose what to subscribe to receive emails. Setting that as default would be read as tricking people into signing up.

    Sorry for bringing bad news!

    • This reply was modified 1 year, 9 months ago by  Stef.

    Sorry, I don’t understand:
    the checkbox I’m speaking is on my site posts webpages below the submit comment button , it is NOT in a WordPress.com iframe.

    You can check the code:

    <div id="respond" class="comment-respond">
    <h3 id="reply-title" class="comment-reply-title">Lascia un commento <small><a rel="nofollow" id="cancel-comment-reply-link" href="/post-slug/#respond" style="display:none;">Annulla risposta</a></small></h3>			<form action="http://www.mysite.com/wp-comments-post.php" method="post" id="commentform" class="comment-form">
    				<p class="comment-notes"><span id="email-notes">Il tuo indirizzo email non sarà pubblicato.</span> I campi obbligatori sono contrassegnati <span class="required">*</span></p><p class="comment-form-comment"><label for="comment">Commento</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea></p><p class="comment-form-author"><label for="author">Nome <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" maxlength="245" aria-required='true' required='required' /></p>
    <p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="text" value="" size="30" maxlength="100" aria-describedby="email-notes" aria-required='true' required='required' /></p>
    <p class="comment-form-url"><label for="url">Sito web</label> <input id="url" name="url" type="text" value="" size="30" maxlength="200" /></p>
    <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Commento all'articolo" /> <input type='hidden' name='comment_post_ID' value='8782' id='comment_post_ID' />
    <input type='hidden' name='comment_parent' id='comment_parent' value='0' />
    </p><p class="comment-subscription-form"><input type="checkbox" name="subscribe_comments" id="subscribe_comments" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;" /> <label class="subscribe-label" id="subscribe-label" for="subscribe_comments">Avvertimi via email in caso di risposte al mio commento.</label></p><p class="comment-subscription-form"><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto; -moz-appearance: checkbox; -webkit-appearance: checkbox;" /> <label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">Avvertimi via email alla pubblicazione di un nuovo articolo</label></p>			</form>
    			</div><!-- #respond -->
    

    There is not at all WordPress.com iframes in frontend pages of websites using Jetpack.

    Plugin Contributor Stef

    (@erania-pinnera)

    If you use the Jetpack comment form as per the code you reported above, the checkboxes live inside the iFrame – see screenshot linked below to see what I mean:
    https://i0.wp.com/i.jeremy.hu/screenshot-2017-12-07-at-12-50-10.png (84 kB)

    On the other hand, if you don’t use the Jetpack Comment module and use the default WordPress form instead, then yes – the checkboxes live on your site.

    You can use JavaScript to check the box on page load, if you fancy that, but this would go beyond the scope of our support, so you’d need to figure that our by yourself, or ask/hire someone else to do that for you.

    Hope that straightened things out! 🙂

    I’m in the second case, using default WP comment.
    Maybe i’ll try with JS. But it’s a pity that there is not this option.
    Than you anyway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Notify me of new follow-up comments via email” checkbox checked by default?’ is closed to new replies.