您可以通过css like隐藏一些评论文本。
.comments-area .comments-title{
display: none;
}
或者,您可以从comment.php
文件中删除代码。
<h2 class="comments-title">
<?php
printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentyfifteen' ),
number_format_i18n( get_comments_number() ), get_the_title() );
?>
</h2>
查找该行的内容取决于您的主题开发人员所使用的标签。试图找出h1
,h2
,h3
,h4
,h5
,h6
并将其删除。
如果找不到带有此标签的任何行。请输入您的comment.php
文件代码,以便我提供确切的解决方案。
谢谢
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句