Find out how to remove the HTML tag from comments in Genesis Framework using a simple code snippet.
Some spammers use the HTML tags to detect web pages with open comments in order to leave their links.
So, an additional anti-spam measure you can take is to remove this tag.
And with Genesis, you can do this very easily:
Code snippet to remove HTML tags from comments
Add this snippet at the end of the functions.php file:
To see this and another 997 code snippets of this website, login or subscribe here.
Just like that.
Conclusions
Now you know how to reduce spam on your website or your client’s website: by removing the HTML tags from comments in the Genesis Framework.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉