方法一:修改 comments.php 文件
1)找到 functions 文件,如主题名称为 ‘aimeesign’,一般情况下,路径如下
\wp-content\themes\aimeesign\comments.php
2)打开 comments.php,找到下面这句调用评论表单的代码
<?php comment_form(); ?>
3)复制如下代码,替换步骤 2) 的,保存完成。引号里 ‘Leave your comment’ 为修改后的标题
<?php comment_form(array(
'title_reply' => __( 'Leave your comment' ),
));?>
方法二:修改 functions.php 文件
1)找到 functions 文件,如主题名称为 ‘aimeesign’,一般情况下,路径如下
\wp-content\themes\aimeesign\functions.php
2)复制粘贴如下代码到 functions.php,保存完成。引号里 ‘Leave your comment’ 为修改后的标题
// Change comment title
function comment_reform ($arg) {
$arg['title_reply'] = __('Leave your comment');
return $arg;
}
add_filter('comment_form_defaults','comment_reform');
2020-12-14 at 2:01 下午
I’m really enjoying the design and layout of your site.
It’s a very easy on the eyes which makes it much more pleasant
for me to come here and visit more often. Did you hire out a designer
to create your theme? Great work!
2020-10-29 at 2:04 上午
Wow, incredible blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your web site is great, as well as the content!