The highlighted lines are responsible for letting comment spam though, even if you turn off comments in the discussion settings in the Wordpress dashboard. |
Wordpress has an annoying habit of letting spam comments through on a site with only pages and no blog posts.
To completely remove comments from being posted in the 2012 theme, open the content.php file in your twentytwelve theme folder and remove or comment out the lines highlighted in the screenshot above. It's best to make this change in a Child Theme so you can easily undo this later if you decide to have a blog on your Wordpress website.
No comments:
Post a Comment
Only comments in English will be considered. Thank you!