
If you want to remove Email and Website from your comment form. There are several methods. But the simplest method is to add some lines in your css:

#respond .comment-form-email, #respond .comment-form-url {
display: none;
}

To remove the email and website fields from the WordPress comment form, you can do this by editing your theme’s functions.php
file or using a plugin. Here’s how to do it both ways:
✅ Method 1: Using functions.php
(Code Method)
🔧 Steps:
-
Log into your WordPress Admin Dashboard.
-
Go to:
Appearance → Theme File Editor → functions.php -
Add the following code at the end of the file:
function remove_comment_fields($fields) {
unset($fields['email']); // Remove email field
unset($fields['url']); // Remove website field
return $fields;
}
add_filter('comment_form_default_fields', 'remove_comment_fields');
-
Click Update File to save changes.
📝 Result:
-
Only the Name and Comment fields will show.
-
Email and Website fields will be hidden from users.
✅ Method 2: Using a Plugin (No-Code Option)
If you don’t want to edit code, use a plugin like:
🔌 “Comment Form Customizer” or “WPForms”
-
Install & activate the plugin from the Plugins menu.
-
Go to the plugin settings.
-
Use the drag-and-drop or toggle options to remove Email and Website fields.
-
Save changes.
⚠️ Additional Tips
-
Removing only from display doesn’t prevent bots from submitting those fields. Always use an anti-spam plugin like Akismet or Antispam Bee.
-
Back up your site before editing theme files.
-
If you’re using a child theme, edit the
functions.php
in the child theme to preserve changes during updates.
If you want to remove Email and Website from your comment form. There are several methods. But the simplest method is to add some lines in your css: #
[See the full post at: Remove email and website from WordPress comment]
Remove email and website from WordPress comment
Related posts:
Related posts: