Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to remove the Website Field from Comment form

Today we will see How to remove the Website Field from Comment form. if we think properly their is no need for Website field in the comments form it is mostly used by Spammers to spam, and all of us hates our site to be spammed.

to this problem their is just a small solution just add the below line of code to functions.php :

/* Remove Websites Field from Comment form - WPden.net */

function remove_website_field_wpden($fields)
{
  if(isset($fields['url']))
   unset($fields['url']);
  return $fields;
}

add_filter('comment_form_default_fields', 'remove_website_field_wpden');

Now you will not be able to see the Website field in the comment form. Thanks to Zee for the code.

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Google
  • Pocket
  • Print
  • Email

Related

April 14, 2012 Ritesh Sanap WordPress Comment Form, Hacks, How To, Remove, Website Field, wordpress hacks

Post navigation

Previous Previous post: How to watch Netflix outside USA - UnoTelly
Next Next post: How to specify the Auto save Interval

Currently Trending

  • How to download Specific parts of YouTube videos
  • Windows Vista CD key
  • h4x0r ( Hacker ) - Blogger Template
  • HORIZONTAL AND VERTICAL SPACING
  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • Advanced What should we Write about next? - WordPress Plugin
  • How to Disable Emojis in WordPress
  • USE GOOGLE AS A Hack
  • How to download torrents without utorrent
  • How to Delete Feedbacks from JetPack Contact Form

Random Posts

HORIZONTAL AND VERTICAL SPACING

May 4, 2009 By Ritesh Sanap 1 Comment

How to Automatically Optimize Images in WordPress

August 26, 2011 By Ritesh Sanap 3 Comments

Remove the Recycle Bin from the Desktop

February 29, 2008 By Ritesh Sanap Leave a Comment

How to automatically email contributors when theirs post is published

January 23, 2012 By Ritesh Sanap Leave a Comment

Top 125 Free Blogger Templates By Blogger Buster

August 13, 2008 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure - WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? - WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap - WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva - Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2019 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.