preloader

Why WP Comment Fields Removes Name and Email Fields from Comment Form

WP Comment Fields hides name and email fields, allowing anonymous comments. Learn why fields disappear and how to restore required fields.

You use WP Comment Fields to simplify comment form. Name and email fields are gone. Anyone can comment anonymously. That is frustrating because you get spam.

A common issue is that the plugin disables name/email fields by default. The plugin is not broken. You need to re-enable required fields.

Why WP Comment Fields Removes Name and Email

WP Comment Fields is designed to simplify comment forms. It can remove name, email, and website fields. Some users want only comment box. By default, plugin may remove all optional fields. Name and email become optional or hidden.

This is not WP Comment Fields being bad. Settings control which fields appear.

The Most Common Field Removal Issues

  • Name field disabled (anonymous comments)
  • Email field disabled (no way to contact commenter)
  • Website field removed (good, spam source)
  • Cookies consent field removed (GDPR issue)
  • All fields removed (comment box only)

Check settings to restore fields.

How to Restore Name and Email Fields

  1. Go to WP Comment Fields → Settings
  2. Enable “Show name field”
  3. Enable “Show email field”
  4. Set both to “Required” (not optional)
  5. Disable “Remove website field” (optional)
  6. Save settings and test comment form

Required fields prevent anonymous spam.

How to Add Custom Validation for Name and Email

Add this code to functions.php:

add_filter('pre_comment_author_name', function($name) {
if (empty($name)) {
wp_die('Name is required.');
}
return $name;
});

This ensures name is always provided.

Alternative: Use Default WordPress Comment Form

If WP Comment Fields causes issues, disable plugin. Default WordPress comment form includes name, email, website. Customize with CSS instead of plugin.

Default form is more reliable.

People Also Ask About Comment Fields Problems

Why are name and email fields missing from my comment form?

Plugin disabled them. Enable in settings.

Should I stop using WP Comment Fields?

Re-enable required fields. Comments will require name and email.

Is WP Comment Fields worse than Comment Form Fields plugin?

Both have field controls. Configure correctly.

Final Thoughts

If WP Comment Fields removed name and email, enable them in settings. Set as required. Commenters must identify themselves. Spam will decrease.

Keep Reading

Previous Post Why WP Mobile Menu Shows Desktop Menu on Mobile Devices Next Post Why WP Video Gallery Shows Black Screen Instead of Videos

Need Help With Your WordPress Site?

If you need help with WordPress fixes, plugin issues, theme customization, or development work, feel free to get in touch.

Get a Free Estimate