how to remove email and url on comment form

  • trotty

    #3767

    i would like to remove the email and url camp in comment form. What should i do?

    Prasanna SP

    #25884

    Hmm.. You want your readers to leave comment without entering their email ID? Email is mandatory in WP-commments.

    trotty

    #25885

    yes, is it possible?

    why is it mandatory? what problems could cause removing email id form comments?

    trotty

    #25886

    what about removing url field in graphene ?

    Prasanna SP

    #25887

    Untested, worth giving it a try.

    .comment-form-url {
    display: none;
    }

    Prasanna SP

    #25888

    why is it mandatory?

    WordPress comment mechanism is designed in that way!

    trotty

    #25889

    thanks Prasanna, what file should i edit in my child theme?

    should i create a file with this code?

    .comment-form-url {

    display: none;

    }

    Mod

    Kenneth John Odle

    #25891

    However, as Prasanna pointed out, entering an email and url is part of the WP commenting mechanism. Without displaying those, one of two things is going to happen:

    1) WP just won’t allow readers to post comments, because it will require them to enter an email address and they can’t

    OR

    2) You are going to get tons of spam comments.

    Prasanna SP

    #25892

    Comment URL in wordpress is actually nofollow links.

Viewing 10 posts - 1 through 10 (of 12 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!