Delete URL Website Field from WordPress Comments Form
Its very simple to delete the Website URL Field from your WordPress Comments Form.
This will help not encourage spammers wanting to submit posts to get a URL backlink on your site. You should also tick the options to hold posts on more than 1 URL link within the post as well.
To remove the Website field do as follows:-
1 - Log into your /wp-admin
2 - Click Appearance
3 - Click Editer
4 - Click the file named - comments.php
5 - Delete the whole line below. (because the website field is not a required field it will not cause any issues to your existing posts (unlike the name and email fields.)
<p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website','cover-wp') ?></small></label></p>
Example With URLExample Without URL
Delete URL Website Field from WordPress Comments Form
Computers Corporate
Share this post
You may also like
Comments
Latest Products
Featured
Recent posts
How do I build my own gaming pc
What’s the best pc graphics card for Fortnite
How to select the right gaming pc computer for Christmas gift
Hey ChatGPT – Why do people use graphics cards for bitcoin mining