Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How To Remove Website Field from Genesis WordPress Comments

Are you using Genesis Wordpress Theme for your website? If yes is your answer, then you might encounter a situation where you would like to Remove Website Field or URL field from WordPress comments because of comment spamming or for some other reasons. If you are in one such situation, well I have a solution for you. Learn how to remove website field from Genesis WordPress theme completely.

Tutorial To Remove Website Field Or URL Field From Genesis:

1) To get started, log into your WordPress dashboard. Once logged in, click “Appearance -> Editor“.

2) Now, you will see the Theme options of your Genesis WordPress theme. Click on “Theme Functions” or “functions.php“.

3) Next, in the functions.php theme option page, copy and paste the following code and click on “Update file“.

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;
}

4) That’s it. Now you have successfully removed the website field or URL field in your Genesis WordPress theme comments form.

If you encounter any issues while following this tutorial or if you face any challenges while following this procedure, drop a comment below. I will get back to you with a solution shortly. I will also be writing more Genesis tutorials under our WordPress category. So, if you would like me to write a particular tutorial, don’t hesitate to contact me.

The post How To Remove Website Field from Genesis WordPress Comments appeared first on Crack Aloud.



This post first appeared on Crack Aloud - Useful Tips, Tricks And Tutorials, please read the originial post: here

Share the post

How To Remove Website Field from Genesis WordPress Comments

×

Subscribe to Crack Aloud - Useful Tips, Tricks And Tutorials

Get updates delivered right to your inbox!

Thank you for your subscription

×