How to Add Comment Custom Fields in WordPress

Are you looking for a way to add comment custom fields in WordPress? The comments section invites visitors to converse with each other and leave valuable feedback you can use to improve your website. WordPress comes with a built-in comments section that is ready to go. It has four default fields including Comment, Name, Email, and Website.

While these are usually more than enough, some web developers may want to add their own custom fields to the comments section. As always in WordPress, there is a plugin that can do just that. Today, I will demonstrate how to add comment custom fields in WordPress using the WordPress Comments Fields plugin.

Why Add Custom Fields to Comments in WordPress

It is a common complaint from visitors that they do not like to enter too much information to just leave a comment. However, required fields help prevent spam bots from leaving comments in WordPress. Of course, there are other ways to prevent spam comments like using CAPTCHA in WordPress.

The difficulty comes with finding the perfect balance between too much and just enough. Creating your own custom fields required for the comments section can help you find that perfect balance. It can also help you collect more information about your visitors while preventing spam comments.

What other kinds of information can I ask for? You can can anything you want, but you need to keep it simple. For example, asking for Facebook page links give you the advantage of being able to find your visitors on Facebook, but it’s actually a lot of work for someone who just wants to leave a comment.

As a rule of thumb, make sure it takes no more than 30 seconds to fill out the comment fields. If it takes too long, you will not have a comments section anymore.

How to Add Comment Custom Fields in WordPress

Today, I will demonstrate how to add comment custom fields in WordPress using the WordPress Comments Fields plugin. This plugin allows you to customize your comments section fields. Not only can you add traditional text boxes, but you can also add select and radio options. Having uncommon requirements to leave a comment is a great way to keep spam bots from leaving comments.

Installing WordPress Comment Fields

Let’s start by clicking on Plugins and selecting the Add New option on the left-hand admin panel.

Search for WordPress Comment Fields in the available search box. This will pull up additional plugins that you may find helpful.

Scroll down until you find the WordPress Comment Fields plugin and click on the “Install Now” button and activate the plugin for use.

On the left-hand admin panel click on Comments Fields. This will pull up the main settings page.

Adding Custom Comment Fields in WordPress

This plugin is very simple to use. Click on the Comment Fields tab.

The plugin offers four options to add to your comment fields. These include select box, radio input, checkbox, and the traditional text input. Click and drag the option you want into the box on the right.

You can drag multiple fields into the box. You will need to fill out the information for each field. The information needed is dependent on which option you choose to use. The Title entry is what visitors will see when they look at the field. Make sure to make it clear.

Once you have filled all of the information in, click on the “Save all changes” button.

Log out of your account and visit your comments section to see the custom field you added.

Congratulations, you have successfully added custom fields to your WordPress comments section. You can add all kinds of custom fields to your comments section now. You can add more or remove them at any time.

Make Comments Easy

While you can add as many custom fields as you want to the comments section, it doesn’t mean you should. When starting out, you will definitely notice that most of the comments you get are going to be spam. As your website grows, more real comments will appear, but if you make it difficult to leave comments, don’t expect much.

Let’s face it, most people do not like to spend an extra minute to fill out a form or survey. They are not going to spend a minute filling in information to leave a simple comment. Make the process simple to go through to get the best results possible.

What custom fields have you added to your comment section? Why have you added custom fields to your comments section?

6 thoughts on “How to Add Comment Custom Fields in WordPress”

  1. Hello Robert,

    Great post on how to add comment custom fields in WordPress. However, it is not needed for all. Sometimes, people need to collect more data than the default comment box, at that time this can be really helpful. Thanks for the article.

  2. Hi… Great plugin!

    Just two questions:
    1. How to edit the custom fields in edit-comments.php (Admin Backend)? Extra column maybe?
    2. Is enough secure to add new custom fields to the comment form?

    Thansk in advance for your help.

  3. You can customize the way WordPress handles content as well as comments. For example, you could require readers to leave their phone . WordPress provides a unique class for the form and comment fields. Using these classes, users can apply their own styling.

  4. I was just about to start blogging as a profession. and I found this website to be useful as compared to others. hope to see more this types of blogs.

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.