Delete the URL text box and wordpress form in the wordpress Comment Form
The original effect is as follows:
To remove this link form, you can find the corresponding form code in the comments. php file and delete it. But now you only need a very simple piece of code to remove it:
The Code is as follows:
Add_filter ('comment _ form_default_fields ', 'unset _ url_field ');
Funct (www.111cn.net) ion unset_url_field ($ fields ){
If (isset ($ fields ['url'])
Unset ($ fields ['url']);
Return $ fields;
}
You only need to add the above Code to the functions. php file in the topic to delete the website link form.
From: http://www.111cn.net/wy/wordpress/68255.htm
How to delete the wordpress Comment box
In single. php, find <? Php comments_template ();?>, Delete this file.
A wordpress plug-in that allows you to customize comment forms, add a mobile phone number, and remove email and website
Is this a plug-in ?! My wordpress is basically useless with plug-ins. It takes an hour to write such a simple function ......
The more plug-ins, the slower