[ad_1]
I have made it optional using settings in WordPress but they still appear there. I want to remove the email text box in comments. TIA
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
couple different ways-
1 – identify css rules to target the field and label, and hide with css
2 – use a filter hook to customize the fields output via the comment_form() template function (note the first comment here, it’s pretty much what you want)-
[https://developer.wordpress.org/reference/hooks/comment_form_default_fields/])
3 – call the comments template, but pass arguments for fields and don’t include email-
[https://developer.wordpress.org/reference/functions/comment_form/])