How to change text Leave a reply WordPress comments field

This article was written by in June 4, 2015, & may not be posted on other sites!
Original source url for this article: How to change text Leave a reply WordPress comments field

How to change text Leave a reply in WordPress?
There are different ways to change the text “Leave a reply” above the comment field in WordPress. This is the best way to change text “Leave a reply” in WordPress, no need to alter any core files like the comment-template.php…

How to change text Leave a reply WordPress comments field

 

How to change text Leave a reply WordPress

No need to alter any core files like wp-includes/comment-template.php and risk an overwrite when updating. Just follow these simple steps to change the text “Leave a reply” in WordPress:

  1. When altering any files in WordPress, a childtheme is always recommended to avoid unwanted overwrites during update. More on how to create a WordPress childtheme in this article
  2. Copy the file comments.php from the parent theme to your childtheme.
  3. Open the comments.php and look for <?php comment_form(); ?>. Replace the code with:
    <?php comment_form(array('title_reply' => "ANY TEXT YOU WANT"))?>

 

Spread the word

Facebooktwittergoogle_pluslinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *