Genesis Themes

  • Home
  • Genesis Tutorials
  • WP Tutorial
  • Twenty Fifteen Theme
  • Social Media
  • WP Plugins

How to Remove Website Field from WordPress Comments

How to Remove Website (URL) Field from WordPress Comment form :

As earlier we discussed,remove website field from WordPress comments to avoid spam comments.Some WordPress plugins there to do same work.But try to avoid using plugins unless you don't find any WordPress code snippets.

Pate the below listed code in your WordPress theme's functions.php file to remove url field from WordPress comment form.

Go to Appearances >Editor >Functions.php file.

Here's the code to remove website field from WordPress comments.

function remove_comment_fields($fields) {
    unset($fields['url']);
    return $fields;
}
add_filter('comment_form_default_fields','remove_comment_fields');

See the result of WordPress comment form after adding this code.

comment form

Also see :

1.WordPress tutorial and code snippet for Beginners.

2.Genesis code snippets and useful tutorials to customize your child theme

Need Help :

Hope that, WordPress tutorial helped you learning how to remove website  field from WordPress comment form .If you are facing any problem,then share your query in below comment box we will reply as early as possible.

Related Posts

  • How to No follow External Links in WordPress
  • Speed Up Your WordPress Cache Without Plugins
  • Show one category Posts on Home Page in WordPress 2015 theme
  • How to Add Related Posts with Thumbnails in WordPress
  • How to Reduce Server Response Time in WordPress
  • How to Remove Elegant Themes Footer Links
  • How to Add WordPress Related Posts Without Plugin
  • Error Establishing a Database Connection in WordPress
  • Top 10 Most Popular Google Adsense Alternatives 2016
  • How to Display Google Adsense After First Post in WordPress

Bluehost and Siteground Coupons for January 2016.

Best Premium WordPress Themes from TemplateMonster
download wordpress themes from MonsterOne

Categories

  • Blog
  • Blogger
  • Genesis Tutorials
  • Social Media
  • Top Websites
  • Twenty Fifteen WordPress Theme
  • WordPress Plugins
  • WordPress Tutorial