• Resolved millerguide

    (@millerguide)


    Hello,

    How do I remove these two simple things from my comments field?

    1. the text: Your email address will not be published. Required fields are marked *

    2. The word Comment.

    Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    Howdy millerguide,

    How comfortable are you with editing PHP files – for instance would you be comfortable adding a code snippet to your functions.php file?

    An undocumented filter called comment_form_defaults exists That you should be able to use to do what you want. If you have a firm grasp on WordPress filter hooks, you can find it in wp-includes/comment-template.php. If you’re not comfortable with filter hooks, but you are comfortable with copy/pasting code snippets into your theme’s functions.php file (or somewhere else), I would be happy to provide a code snippet.

    edit: I pointed to the wrong filter – edited to reflect correct filter

    Thread Starter millerguide

    (@millerguide)

    Hello Will,

    I managed it. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove two simple, specific things from comments field.’ is closed to new replies.