WordPress – remove “website” field from comments section in wordpress theme

WordPress – remove “website” field from comments section in wordpress theme

Problem – default wordpress comment section comes with Website section where visitors can submit their website link.

If you dont want someone to add comment with their website link then there are multiple ways to handle it.  one of the easy option is with additional CSS.

Solution – 

1>  log in to wp-admin -> got to “Appearance” -> “Customize” -> “Additional CSS” from left side menu

2> just add  below line if you want to hide “website” field .

.comment-form-url {display:none;}

3> for additional field’s  like email, name you can add css as below :

.comment-form-email{display:none;}

4> Save and publish WordPress Theme

 

search queries / Tags – wordpress customize comment form,
remove email and website from wordpress comment,
wordpress comments website,
remove website from comments,
wordpress comments without website,
wordpress comment fields,
hide comment form url,
how to add custom comment form in wordpress,

(Visited 314 times, 1 visits today)

Add a Comment

Facebook