How to change “reply” text in comments

If you have decided to stay with WordPress’ original commenting system instead of using a third party plugin which would improve its job, sooner or later you will want to modify the way comment form is being displayed on your site. While there’s nothing wrong with the comment form, there aren’t options which would allow you to easily control the behavior and the looks of it from the settings page.

Sometimes even a small change can help you make a better site which will be more professional or attract more visitors into commenting. For example, you can highlight comments by a specific user, let your visitors write comments without providing an e-mail address or their URL, or if you know what you’re doing, you can even allow anyone to use shortcodes directly in comments. But that would require you to do some custom coding and that’s where many will decide not proceed with the customization.

In this article, we’re about to show you how easy is to change that simple “Reply” text which shows up as a link underneath every comment. Since modifying comment form isn’t that easy for a WP beginner, you will need a simple function to change this link text.

But don’t worry; all you will have to do is copy and paste the function found bellow and change the text to your likings:

  1. Open functions.php
  2. Copy and paste the code:
  3. function comment_reply_text( $link ) {
    $link = str_replace( 'Reply', 'Change this text', $link );
    return $link;
    add_filter( 'comment_reply_link', 'comment_reply_text' );
  4. Change the text on the second line of code
  5. Save changes

It was as simple as that. Once you change the text and hit the save changes button, your comment form will look just a little bit different.

If you want to learn more about displaying and changing the comment form, you should start with WordPress Codex where everything is explained in details. For more tutorials on how to customize the commenting system and the entire WordPress platform, stay on the site and browse for more articles of your interest – we have plenty to show.

Start Blog Book


This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

Leave a Reply

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