How to let your visitors write comments without providing e-mail address or their URL

If you have just installed WordPress or have never changed discussion settings, your standard comment system will ask your visitors to enter few details before posting a comment. Those details include URL and e-mail address and more often than not people will be discouraged when they see that.

Although it is not recommended to leave out those options because you’re basically doing spam bots a favor by removing them, it is your choice to remove the fields.

So if you really want your visitors to be able to simply enter a comment without logging in or leaving URL and e-mail information, here’s what to do:

  1. Go to Settings -> Discussions
  2. Under “Other comment settings” uncheck “Comment author must fill out name and e-mail”

Now your comment section will have URL and e-mail fields but those aren’t going to be necessary for posting a comment. If you want to make things even easier for your potential commenters you can completely remove those fields:

  1. Go to your functions.php file
  2. Copy and paste this code:
  3. function wploop_remove_comment_fields($fields) {
        return $fields;
    add_filter('comment_form_default_fields', 'wploop_remove_comment_fields');
  4. Update the file
Start Blog Book


This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

Leave a Reply

Your email address will not be published. Required fields are marked *