Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WordPress has two different comment strings people call “reply text”: the heading above the comment form (usually “Leave a Reply”) and the Reply link beside an existing comment. They use different hooks. Change title_reply for the form heading, or reply_text for the link; if you use a block theme, first check which comment blocks your template uses.

Choose which comment text to change

Text you see How to change it
The heading above the comment form, such as “Leave a Reply” Set title_reply. To change the heading shown when replying to a specific comment, also set title_reply_to. For site-wide defaults, use the comment_form_defaults filter. WordPress documents the comment_form() arguments.
The “Reply” link beside an existing comment Set reply_text in the comment_reply_link_args filter. Consider its related accessible label, reply_to_text. WordPress documents the comment reply link arguments.
A comment block in a block theme Inspect the relevant template and its blocks. The documented controls cover styling; the cited guides do not describe a text-label control for either block.

Change the comment form heading

WordPress’s comment_form() function accepts arguments for its heading. The default title is “Leave a Reply”; the default heading while replying to a comment is “Leave a Reply to %s,” with the placeholder representing the comment author. You can pass different values directly to a comment_form() call, or modify the defaults with comment_form_defaults.

Set site-wide defaults with a filter

Add this illustrative PHP snippet to a child theme or a small site-specific plugin:

add_filter( 'comment_form_defaults', function ( $defaults ) {
    $defaults['title_reply'] = __( 'Join the discussion' );
    $defaults['title_reply_to'] = __( 'Reply to %s' );
    return $defaults;
} );

title_reply changes the usual form heading. title_reply_to changes the heading when a visitor replies to an individual comment. Keep the %s placeholder if you want WordPress to include the comment author’s name.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set arguments on a direct form call

If your theme or custom code calls comment_form() directly and you only want to change that form, pass the title arguments there instead. WordPress notes that most strings and form fields can be controlled through the function’s $args array. Editing the direct call can be a more targeted choice than changing defaults across the site.

Change the Reply link beside comments

The link beside each comment is separate from the form heading. To change its visible wording, set reply_text through comment_reply_link_args:

add_filter( 'comment_reply_link_args', function ( $args ) {
    $args['reply_text'] = __( 'Respond' );
    return $args;
} );

The visible link in this example reads “Respond.” The related reply_to_text argument supplies an accessible, author-aware name for the link. If you change the visible wording, consider adjusting that label too, and preserve the author placeholder so assistive-technology users can tell which comment the link refers to.

What to check in a block theme

In a block theme, comment output may be assembled in the Site Editor rather than through the theme’s traditional PHP template. The Comment Reply Link block sits inside a Comment Template block, which in turn belongs inside a Comment Query Loop. The WordPress Comment Reply Link block guide describes appearance controls such as alignment, color, and typography, but does not document a control for changing the link’s text.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Post Comments Form block guide describes appearance controls for text, background, links, typography, and dimensions; it does not document a setting for changing the reply heading. Inspect the relevant template and blocks before adding PHP: the template’s rendering structure affects whether the traditional comment functions and filters apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Apply the change safely

  1. Identify the string. Decide whether you mean the form heading or the per-comment link; they use different arguments and filters.
  2. Inspect the theme. In a block theme, check the relevant comment template and blocks in the Site Editor. In a PHP-based theme, check whether it calls comment_form() or uses the comment reply link rendering function.
  3. Add the change in the right place. Use arguments on a direct form call for a targeted heading change, comment_form_defaults for form defaults, or comment_reply_link_args for the per-comment link.
  4. Keep accessibility and translation in mind. Preserve the author placeholder in an author-aware label and follow the translation conventions already used by the site.
  5. Check the front end. View a post with comments, verify both the ordinary form heading and the reply-to heading, and test the visible reply link. Confirm the result with the site’s active theme and WordPress version.

The snippets above illustrate documented hook names and arguments; they have not been tested against a particular site, theme, or WordPress release. Theme implementations can differ, so verify that the relevant rendering function is used before relying on a filter. Avoid editing WordPress core files; use a child theme or a small site-specific plugin so the change is easier to maintain.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.