emmm…怎么说呢,也不知道这个功能是用来干啥的,总感觉很鸡肋的样子,亲测可以使用,不过本站不会搞这东西,没啥用就是了,需要的直接拿走~
教程
子比主题目录下打开template/comments.php
搜索
<?php echo _pz('comment_submit_text') ?: '提交<a target="_blank" href="https://www.muooy.cn/tag/%e8%af%84%e8%ae%ba" title="View all posts in 评论">评论</a>'; ?>
在他的前面一行添加:
然后前往inc/functions/zib-comments-list.php
搜索
function zib_get_comments_list($comment, $depth = 0, $echo = true)
在合适的位置添加:
再找到
$html .= '<div class="mb10 comment-content" id="comment-content-' . $comment_id . '">' . $con . '</div>';
修改为
$html .= '<div class="mb10 comment-content" id="comment-content-' . $comment_id . '" style="color:' . $color . '">' . $con . '</div>';
最后再添加function代码,添加在func.php文件内