• Skip to primary navigation
  • Skip to main content
  • Skip to footer

eric c wagner

ramblings, musings, and WordPress

  • About

Removing the Website field from the Genesis Framework’s Comment Form

March 21, 2014 by Eric Wagner Leave a Comment

Here’s a snippet of code to add to your Genesis Framework child theme in order to remove the Website field on your comment form. Add this to the functions.php file in your child theme’s folder.

//* Remove the website field from the comment form
add_filter( 'genesis_comment_form_args', 'url_filtered' ); 
add_filter( 'comment_form_default_fields', 'url_filtered' ); 
function url_filtered( $fields ) { 
    if ( isset( $fields['url'] ) ) unset( $fields['url'] ); 
    if ( isset( $fields['fields']['url'] ) ) unset( $fields['fields']['url'] ); 
    return $fields; 
} 

Filed Under: WordPress Tagged With: Genesis Framework

About Eric Wagner

Eric Wagner is the owner of Fifth Cup, a small, highly caffeinated web design and development agency in Portland Maine, and an enterprise technology executive whose passion is helping companies take advantage of technology.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Footer

Connect Online

  • LinkedIn
  • RSS
  • Twitter

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other subscribers

Categories

  • Development
  • General
  • Joomla
  • Linux
  • Mental Note
  • Sales
  • Science
  • Tech Toys
  • Uncategorized
  • Web Hosting
  • WordPress

Tags

Amazon.com Apple Watch cache DigitalOcean Genesis Framework Infographic MAMP WordCamp Yoast

Website Design and Development

Copyright © 2023 ยท Eric Wagner