Viewing 5 replies - 1 through 5 (of 5 total)
  • There are different ways depending on the theme.
    Search remove+the+email+and+website+fields+from+the+leave+a+comment
    and try suggestions there.

    Thread Starter dleonte

    (@dleonte)

    I found recommendations for the adding the following code to the function.php. But it did not work for me.

    function remove_comment_fields($fields) {
    unset($fields[’email’]);
    unset($fields[‘url’]);
    return $fields;
    }
    add_filter(‘comment_form_default_fields’, ‘remove_comment_fields’);

    You shouldn’t change any of the core files. If you want to add something you should use a child theme.
    http://codex.wordpress.org/Child_Themes

    And above I meant to say search the plugins section.

    Thread Starter dleonte

    (@dleonte)

    I can only find a plugin that eliminates comments, not a plugin that will customize to remove email and URL.

    There are plugins that will eliminate the website block. For name, it is not required and if not filled out it will be anonymous. Email is also not required. That is not explained in the comment fields.

    Name. Otherwise anonymous.

    Email. Not required.

    Website. Not required.

    You can edit these fields to say what you want, although changing core files is never recommended. Using a child theme is but I am not sure of the exact code to put into custom functions. I am playing with it now and hope to find something for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘anonymous commenting’ is closed to new replies.