I am having issues displaying both the default comment system and a plugin comment system in Wordpress. Comments are enabled via Wordpress settings, comments are being made somehow via spam bots, but comments are not being displayed on posts or pages even though they are enabled per post and page as well.
I tried looking up the comment functions via the Wordpress developer documentation. I've added example comment functions that should display the comments of the post or page in the:
- Theme Header.php
- Theme Footer.php
- Theme Post Body
And nothing is showing even though the post or page lists 50+ comments. There is also not a comment response block at the bottom, so I have no idea how spam bots are even commenting on the post or pages to begin with.
What I'm Looking For
- In what PHP files are comments generally defined to display in content?
- Is there anything in the database I can search for to check if comments are not working correctly?
- Does anyone have any other ideas on why comments are now displaying?
Thanks!