• Hello, everyone.

    I’m trying to figure our what file I need to edit in order to comment out the Author URL Field for the comments form. I don’t want a plugin, just need to know what template this is. Any help is greatly appreciate.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That’s usually theme dependent. Which theme are you using? Hopefully it’s one of these.

    Thread Starter kmcminn

    (@kmcminn)

    Thanks for such a quick reply, Jan!

    I’m using this one:
    https://mythemeshop.com/themes/greenchili/

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Sadly that’s not a theme we support in these forums. The only ones that are supported are the ones from the theme repository here.

    https://www.ads-software.com/themes/

    I’m trying to figure our what file I need to edit in order to comment out the Author URL Field for the comments form.

    If you can identify the CSS then you can try using display: none; on it via a child theme or a custom CSS plugin.

    Give this a read, it may help you figure out what CSS can/should be changed.

    https://www.studiopress.com/tips/using-firebug.htm

    It’s a pretty good tutorial on identifying CSS with Firebug.

    Thread Starter kmcminn

    (@kmcminn)

    Thanks, Jan.

    I’m familiar with Firebug and it’s a really great tool to use. I, personally don’t find that hiding the “website” field by adding a new class is any better than commenting it out in the actual template.

    And, I can’t see how this is a template issue. Isn’t the comments form template part of the core files? I would agree with you if we were talking about a CSS file, but we’re not.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I would agree with you if we were talking about a CSS file, but we’re not.

    Uh huh. You didn’t look did you?

    It’s your WordPress theme that displays/ask for the author URL in the comment section.

    If your theme uses the same form (it probably does unless the theme developer has lost their mind) the the class is the same as in Twenty Thirteen.

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

    I just looked at a test Twenty Thirteen installation and the first one is for the form, the second one is for displaying the URL from posted comments.

    It may be different on your theme. This Codex article may help.

    https://codex.www.ads-software.com/Function_Reference/comment_form

    And, I can’t see how this is a template issue.

    Depends on the template. I didn’t bother to become a member for that theme club so I can’t/won’t look. If you can’t figure it out then try asking at the theme providers support page.

    https://mythemeshop.com/support/

    Even though it may not have cost you anything, that’s still a commercial product and we don’t support those here.

    Thread Starter kmcminn

    (@kmcminn)

    I’ve added this to my theme CSS and it worked. I appreciate you pointing out something so obvious that I overlooked.

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

    This, on the other hand, removes the author completely (at least for my theme), so I didn’t bother adding that.

    .fn {
       display: none;
    }

    Thanks again for the assistance, Jan.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Author URL Field From Comments Template’ is closed to new replies.