添加方法:
修改主题文件夹下comments.php 第41行
原:
<div class="comt-meta"><span class="comt-author"><?php echo $comments->author; ?></span> (<?php $comments->date('Y-m-d'); ?>) <?php $comments->reply('回复'); ?></div></div>
修改为:
<div class="comt-meta"><span class="comt-author"><?php echo $comments->author(true); ?></span> (<?php $comments->date('Y-m-d'); ?>) <?php $comments->reply('回复'); ?></div></div>
也就是修改comments->author
为comments->author(true)
。
注:
本方法同样适用于其他typecho的主题。
PS: