How to Take Action with Social Insights — Free Webcast ›
Popular Today in Social: All Popular Articles

Add a Comment Policy Message to Your WordPress Website Comment Form

If you are sick of spam comments on your WordPress website one thing you can do is to add a comment policy message to warn off potential spam. Comment spam comes in many forms and is not always automated and obvious. Nowadays there are humans commenting on sites with the intention of link building and it is not so easy to block them as it is an automated commenting software program .

I will try anything to get rid of spam comments on my website and having a comment policy message on your website is a good idea.

Just a simple message just above the comment form does wonders.

Quick Tips for Adding a Comment Policy:

  1. When editing the code of your website, make a copy of the code and paste it onto a notepad. That way if you make a mistake you can use the original code to fix your problem.
  2. One tiny error in your code, as tiny as a missing semi colon, it can render your code useless.
  3. Do not make your commenting policy too harsh because you might stop valuable discussion from forming.

Add a Comment Policy Message to Your Comment Form in WordPress

1. Login to your WordPress dashboard.

2. Click on the Appearance menu, then click on Editor. See the screenshot below.

3. When the editor opens you will see code on the page, do not touch it.

5. Go to the Template menu on the right hand side. Find comments.php and click on the link. See the screenshot below.

Add a Comment Policy Message to Your WordPress Website Comment Form image Wordpress comment message

6. Look for the end of your comment section. Mine has

</div><!–comments–>

at the end.

7. Paste your comment policy message above that.

8. Press on update file to save the changes.

Here are the results below. My comment policy stands out.

Add a Comment Policy Message to Your WordPress Website Comment Form image commenting policy

Example Commenting Policy Messages

COMMENTING POLICY: We love comments here but we have rules. Please do not use keywords in “Name” field; you MUST leave a real name in order to get your comment approved. Spamming for a link will not be tolerated on this site so do not waste your time.

WEBSITE COMMENT POLICY:
**Please be aware that all comments made are moderated and SPAM will not be published.
**Comments must relate to the post topic. This website is here to help people, not for your advertising purposes.

Watch this video tutorial to see how I embedded this message into the php code of my WordPress website. Please note: This video shows how to insert this comment policy message into an older WordPress website.

CODE I USED

Comment Policy in force from 01 Nov 2010

**Please be aware that all comments made are moderated and SPAM will not be published.
**Comments must relate to the post topic. This website is here to help people, not for your advertising purposes.

Does This Comment Policy Message Work?

In a nutshell, yes. I have Commentluv Premium to take care of most spam but small amounts were getting through (unfortunately human spammers). This way it makes them think twice before even bothering to put a comment that will only get deleted in the long run.

RSS Comments Feed

Comments on this Article: 2

Add a Comment
  1. I think you must have a higher quality spammer than I. I can’t imagine the garbage posters being much moved by policy statements.

  2. Adam @ 7L.com says:

    We post our actual information in case anyone holds issue. The object is not to spam, but in a lot of cases it is the case.

    For our own blogs in which we have been writing since 2003, have been bombarded. It is amazing that people still feel gibberish will get them somewhere in the long run.

Add a Comment:

Thank you for adding to the conversation!

Our comments are moderated. Your comment may not appear immediately.