How to Remove Website URL field from WordPress comment form in Genesis theme:
Link building software tools may hit your blog with plenty of spam comments,which are really unnecessary.Link building is a popular SEO tactic,many commentators try to get a quality back link from high PR websites.On the other hand quality comments will boost your blog ranking. So you should remove website URLĀ field from WordPress comments from to get quality and genuine comments.
To remove the website URL field from Genesis theme,simply copy and paste the below listed code in your child theme's functions.php file.
Go to Appearances >Editor >Functions.php
Here's the code to remove website field from WordPress comments in Genesis theme.This code will work for all studio press Genesis child themes.
/**
* Remove website url field from comment form in Genesis theme
*
* @author Syed Bavajan
* @link http://www.mygenesisthemes.com
*/
add_filter( 'genesis_comment_form_args', 'myg_comment_form_args' );
function myg_comment_form_args( $args ) {
unset( $args['fields']['url'] );
return $args;
}
See the result after adding the above code in our genesis child theme :
Also see: How to remove website field from WordPress comments.
Need Help :
Hope that, this Genesis tutorial helped you learning how to remove website URL field from WordPress comment form in genesis child theme.If you are facing any problem,then share your query in below comment box we will reply as early as possible.