How are you all? I hope you are fine. Today I sat to write with which subject that is “how to remove the URL field from the WordPress tuments form?”. At many times, it needs to remove web URL field from the tune’s tuments form for necessary. Using the following code you can do this work very easily.
Removing Website URL field from the WordPress default comment form.
Paste following code in function file (functions.php) of your theme. If you save that file, then you will see in your site’s tuments form URL field has been removed.
Previous Article: How to migrate a WordPress site from a host to another host with the plugin?
function remove_comment_fields($fields) { unset($fields['url']); return $fields;}add_filter('comment_form_default_fields','remove_comment_fields');
It is completed. After tuning this code in functions.php, you will see in tuments form on your site URL field is vanished.
Thank you for reading this article. I hope this tune will work for you. If there is any mistake, then forgive me. If you face any problem, then don’t forget to comment. If you think the article is beneficial then obviously share it.
Those who have missed my previous tunes for them, I gave that tune’s link.
- How To Reset Admin Password Of A WordPress Site, If You Forgot?,
- How to reset the password of a hacked WordPress Site from c-Panel or Database?,
- Which is a better Blog platform for you WordPress or BlogSpot?,
- How do you become a WordPress Developer/Expert?,
- How to protect a WordPress site from spammers?
- How to transfer BlogSpot site to WordPress Self Hosted without losing any content?
- How to add jQuery Plugin Light box in all the pictures situated in tune?