If your site allows comments, you may not want the comment form to ask for a website url from the commenter. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your comment form no longer asks for the commenter’s website url.
/** * Remove website url from comment form * * @author WPSnacks.com * @link https://www.wpsnacks.com */ add_filter( 'genesis_comment_form_args', 'wps_comment_form_args' ); function wps_comment_form_args( $args ) { unset( $args['fields']['url'] ); return $args; }
That’s it, now your comment form should no longer ask commenters for their website url. Hope this helps, enjoy!
andropark0071 says
Thanks for the code snippet.