站长之家 - 经验 2012-08-08 16:32

WordPress小工具最近评论显示评论内容

《WordPress小工具最近评论显示评论内容》文章已经归档,站长之家不再展示相关内容,下文是站长之家的自动化写作机器人,通过算法提取的文章重点内容。这只AI还很年轻,欢迎联系我们帮它成长:

WordPress的小工具用起来非常方便,不过其内容无法修改。如WordPress小工具的最近评论,经常用于侧边栏默认显示 评论者与文章,不会显示评论者的评论内容。 修改步骤 备份\wp-includes\default-widgets.php,找到\wp-includes\default-widgets.php文件中,大约在679行sprintf(_x('%1$s on %2$s', 'widgets'), get_comment_author_link(), 'comment_ID) ) . '"' . get_the_title($comment-comment_post_ID) . '') . '';将其修改为//sprintf(_x('%1$s on %2$s', 'widgets'), get_comment_author_link(), 'comment_ID) ) . '"' . get_the_title($comment-comment_post_ID) . '') . '';sprintf(_x('%1$s 在“%2$s”留言:', 'widgets'), get_comment_author_link(), 'comment_ID) ) . '"' . get_the_title($comment-comment_post_ID) . '') . '' ....

......

本文由站长之家用户“DeXu.Xie's Blog”投稿,本平台仅提供信息索引服务。由于内容发布时间超过平台更新维护时间,为了保证文章信息的及时性,内容观点的准确性,平台将不提供完整的内容展现,本页面内容仅为平台搜索索引使用。需阅读完整内容的用户,请联系作者获取原文。

推荐关键词

24小时热搜

查看更多内容

大家正在看

创业做小工具的7个建议