看你的主题目录下有没有类似于language或者lang或者i18n的文件夹,有的话,用开源软件poedit(多语言的当然有中文版),打开其中的po,在文件后缀.po前添加-zh_CN,然后就可以翻译其中的信息了,tag这个字符串很可能在其中;
如果主题目录下没有那样的文件夹和po文件,找到index.php category.php single.php search.php 在其中搜索你想你想替换的字符串tag,你看到的可能会是这样的:
get_the_tag_list( 'Tag:', __( ', ', '主题如果支持多语言的话,这里是主题的textdomain' ) );
或者
$tags = get_tags();
$html = 'Tags:';';
foreach ( $tags as $tag ) {
$tag_link = get_tag_link( $tag->term_id );
$html .= "name} Tag' class='{$tag->slug}'>";
$html .= "{$tag->name}";
}
$html .= '
echo $html;
上面示例中的类似于"Tag:"的字符串就是你要改的。
当然,这些代码也可能出现在functions.php或者其包含文件中,希望码了这么多字,能对你有所帮助!
祝愉快!