Support » Theme: The J A Mortram » Remove Website Field from Comments Form

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author bigflannel

    (@bigflannel)

    Hi kmarionuofm

    The J A Mortram theme uses WordPress’ default comment form. This includes the URL.

    I don’t have any plans currently to remove it. If others request it here, I will consider it.

    You can amend the comment for, and remove the URL field, by installing a plugin:

    https://wordpress.org/plugins/disable-hide-comment-url/

    [I have not tested this plugin], or by adding your own plugin:

    http://wordpress.stackexchange.com/questions/3200/removing-the-website-field-from-comments-and-replies

    or by adding some code to your functions.php file in the theme template:

    How To Remove Website URL Field From WordPress Comments Form?

    If you use this last method (amending your functions.php file, remember when you update the template, this will be lost unless you create a child theme).

    Regards
    Mike

    Theme Author bigflannel

    (@bigflannel)

    I am going to mark this as resolved now. Do post if you have further questions.

    Regards
    Mike

    I know this is marked as resolved, but I’m having trouble with this.
    I am trying to just use wordpress’s default comments_template() instead of the comment_form() and none of the suggestions for removing the URL Field are working.

    For some reason the form fields in comments_template() are not tagged, so I can’t simply hide the url field in css like I would be able to with comment_form()

    Any suggestions to hide the URL Field for people using comments_template() instead of comment_form()?

    Theme Author bigflannel

    (@bigflannel)

    Hi

    For me to help you, I need to know more about what you are trying to do. I understand you are trying to remove the website field. Are you amending the The J A Mortram template code itself?

    The J A Mortram uses comments_template(), the website field is labeled with this CSS class by default: ‘comment-form-url’ and could be removed using CSS targeting .comment-form-url.

    Regards
    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Website Field from Comments Form’ is closed to new replies.