A link to your site or what theme you are using?
i’m trying to change the “leave a reply” title as well and can’t for the life of me find the php file it is located in… not in the theme, not in the core wp files that i can find…
help?
🙂
The title_reply is located in wp-includes/comment-template.php or if you use a language file in wp-content/languages/your-language-file.po
But it is better to change this by adding the following to your theme’s functions.php instead of changing comment-template.php directly.
add_filter('comment_form_defaults', 'name_of_your_function');
function name_of_your_function($defaults) {
$defaults['title_reply'] = 'Your text';
$defaults['title_reply_to'] = 'Your text %s';
return $defaults;
}
(@glenncvance)
13 years, 11 months ago
Hi.
The theme I’m using, when it comes to comments, uses the
<?php comments_template(); ?>
line of code to control comments on my site. The problem I’m having is that nowhere in comments.php is the actual phrase “Leave a Reply”. I would like to change that phrase to something else but can’t figure out how. Does anyone know where this phrase, if not found in comments.php, can be found? Thanks.