I'm creating a custom theme for my blog and I've been working on the comments for a while now. I've tried a few different strategies and read a lot of the codex and questions on here but I can't seem to get the comments to work.
I've created a custom comments.php file and placed it in the theme directory but I know it's not even getting included in the blog because I put in some console logs and they are not showing up.
It seems the problem is even more complicated than just that though, because I can get the comment form to show up, but I've tried to enter some test comments and when I click submit on the form, no comments get submitted to the database and it just redirects me to the single.php for the blog entry that I'm trying to comment on.
I've tried copying the comments.php from the 2016 theme but that made no difference either.
I've been following a few different tutorials on how to set this up and I've tried to find my answer in the wordpress codex pages that discuss comments.php but I haven't had any luck. If anyone could take a look at my blog, and let me know where I might be going wrong, I'd really appreciate the help.
I'm calling the comments section with this line of code:
<?php comments_template(); ?>
Here is the code for my custom comments.php:
If any more code is needed please let me know and I will post it as soon as I can. I'd really like to get to the bottom of this. Thanks in advance!