• Hi,

    The option to be “checked by default” the checkboxes under comments is not working on the frontend. I am using Bootscore theme.

    Any idea how to fix it?

    For now, I am forcing like this:

    function force_checkbox_checked()

    {

    ?>

    <script type="text/javascript">

    document.addEventListener('DOMContentLoaded', function () {

    var checkbox = document.getElementById('comment_subscribe');

    if (checkbox) {

    checkbox.checked = true;

    }

    });

    </script>

    <?php

    }

    add_action('wp_footer', 'force_checkbox_checked');

Viewing 1 replies (of 1 total)
  • Plugin Author xlthlx

    (@xlthlx)

    Hi @rbaccaro,
    Sorry for the late reply.
    Thanks for highlighting the issue, and sorry for the inconvenience.
    I had a first look, and It’s not clear why it’s not working, I checked also with the other themes, and it has the same problem.
    I’ll continue to work on it and let you know.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.