Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52684
    Keith
    Participant

    How do I remove the website field in the comments?

    #52687
    Keith
    Participant

    Never mind, I found a plugin that seemed to work.

    #52692
    Sakin
    Keymaster

    @Keith: There is no option to remove website field in the comments. It’s from the WordPress Comment. For this you need to build child theme, for child theme check out http://catchthemes.com/blog/create-child-theme-wordpress/ and add the following code in child theme functions.php file:

    /**
     * Altering Comment Form Fields
     * @uses comment_form_default_fields filter
     */
    function adventurous_comment_form_fields( $fields ) {
    
    	unset( $fields['url'] );
    	return $fields;
    }
    add_filter( 'comment_form_default_fields', 'adventurous_comment_form_fields' );
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to remove Website field in comments’ is closed to new replies.