badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Comment Reply Form

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11851
    Dinara
    Participant

    I am trying to edit the comment reply form so I can remove the website URL and a couple other things. I cannot find which file it is in, since comments.php comment reply form doesn’t seem to work for me. I have editted that form and removed it completely and it still shows up. And I tried to override it with hte jetpack comments form and that didn’t work either. So I just want to know where it is so I can fix it.

    Thanks in advance for your help 🙂

    #11860

    Hi Dinara,

    Try to add this code inside functions.php

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

    This may solve your problem.
    We recommended not to change the code because if you change the code then while updating to our new version
    all your customization code will be lost. So better make child theme and first unhook the functions and the
    edit the code.
    http://codex.wordpress.org/Child_Themes

    Thank you!

    #11881
    Dinara
    Participant

    Thank you so much! It worked perfectly 🙂

    #11883

    Ok that’s great
    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.