Change “Leave a Reply” Text in WordPress

Magazine Premium Theme by Bavotasan

In an effort to further customize on of the WordPress websites I developed, 5 Star Campgrounds, I wanted to change the standard “Leave a Reply” in the comments section to “Leave a Review of this Campground”.  The site is currently using the Magazine Premier theme by Bavotasan.  To make the change I made the following addtion to the comments.php file:

Toward the end of the file you will find:

$args = array(
 ‘comment_notes_after’ => ”,
 ‘comment_field’ => ‘


’,
 );
comment_form($args); ?>

Add:

‘title_reply’ => ‘Leave a Review of this Campground’

Completed Adjustments:

$args = array(
 ‘comment_notes_after’ => ”,
 ‘comment_field’ => ‘


’,
 ‘title_reply’ => ‘Leave a Review of this Campground’
);
comment_form($args); ?>

To make the changes to Comments.php file:

  • In WP Admin goto Appearance in the left sidebar and click Editor.
  • In the right sidebar you will see Comments (comments.php) Click it to open.
  • Scroll to the bottom of the file, make the necessary changes and click Update file.
  • NOTE: Before making changes to any file I highly reccomend saving a backup copy of the file.  One easy way to make a backup copy is to Select all of the content you have open in the Editor (CTRL A), Copy the data (CTRL C), open Notepad or a basic editor and paste the content into a new file (CTRL V).

It is also possible to make additional modifications to your Comment section.  You can find additional infomation at WordPress.org

5 comments for “Change “Leave a Reply” Text in WordPress

  1. June 9, 2011 at 12:48 am

    Thanks for this tip. I’ve always wanted change the default wording of “Leave a reply” too and now I know how! 🙂
    Warm regards,
    Bob

  2. August 31, 2011 at 5:06 am

    Sorry – what’s wrong with ‘leave a reply’?

  3. November 9, 2011 at 10:41 am

    Very Good.. Thanks..

  4. January 31, 2013 at 6:05 pm

    Cannot get it done since I post it on my site and it won’t run?

  5. September 30, 2015 at 9:11 am

    Very Good.. Thanks..

Leave a Reply to jak usunac Cancel reply

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

*

Subscribe without commenting