Hoping you can help me out with a little spam prevention. I’ve tried adding the following code to my GeneratePress child theme functions.php to disable the comments URL/website field and to disallow html in the comments section to try and cut down on spam comments but it doesn’t seem to be working. I see in /structure/comments.php there is some customization going on with the comments section, maybe that’s conflicting?
Disable URL field:
Try AntiSpam Bee plugin instead. With Akismet, I usually see spam comments with URLs go through even with comment URL field disabled. But the plugin does not work with contact forms, so you might have to use google recaptcha with those. But it is vry effective and I have never received spam comments since I began using it.