• I want, when someone wants to comment(i don’t use memebers,anyone can comment)to give only a name and not an email or any other information….

    How can i setup this;;;

Viewing 1 replies (of 1 total)
  • Hi, find the following in your wp-comments-post.php file (which can be found in your wp root directory) and delete it

    find and delete

    if ( get_option('require_name_email') && !$user->ID ) {
    	if ( 6 > strlen($comment_author_email) || '' == $comment_author )
    		wp_die( __('Error: please fill the required fields (name, email).') );
    	elseif ( !is_email($comment_author_email))
    		wp_die( __('Error: please enter a valid email address.') );
    }

    also edit your comments.php file accordingly and take out the email field of the form.

Viewing 1 replies (of 1 total)
  • The topic ‘Comments’ is closed to new replies.