Hello. I installed wpDiscuz on my website, and successfully tested it with Twenty Twenty-Two.
However, when I switch to my custom WordPress theme, the following Javascript is missing (cut for privacy and readability reasons):
<script src='.../wp-includes/js/comment-reply.min.js?ver=6.1.1' id='comment-reply-js' type="text/javascript"></script>
<script id='wpdiscuz-combo-js-js-extra' type="text/javascript">
var wpdiscuzAjaxObj = {"..."};
var wpdiscuzUCObj = {"..."};
</script>
<script id='wpdiscuz-combo-js-js-before' type="text/javascript">
...
</script>
<script src='https://wpdiscuz.com/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz-combo.min.js?ver=7.5.2' id='wpdiscuz-combo-js-js' type="text/javascript"></script>
As a result, the comments are visible but none of the buttons work.
How can I append the necessary Javascript to the footer of a custom theme? Can't find any documentation that covers this.
Thanks.


