我是这样调用评论的
我用的是www.hellowiki.com的主题,现在看这个皮肤也习惯了,不想再改了。
我是这样调用评论的
修改sidebar,增加了下面一段话:
<div class=”aside”><h2>Recent Comments</h2>
<ul class=”fix”>
<?php get_recent_comments_only ($no_comments = 5,$before =’<pinlun>’,$after = ‘</pinlun><br />’, $show_pass_post = false); ?>
</ul>
</div>
在CSS里加上了这样一句话:
.aside ul pinlun{float:left;padding:0 20px 0 0;line-height:22px;}
修改了中文工具箱插件代码:红色的应该是我改的,我也记不清楚了
$output .= $before . ‘<a href=”‘ . $permalink . ‘” title=”View the entire comment by ‘ . $comment_author . ‘”>’ . $comment_author . ‘ 说</a> ‘ . $comment_excerpt . ‘…‘ . $after;
Filed in 随笔 2 Comments so far
2 Responses to “我是这样调用评论的”
Leave a Reply
Your email is never published nor shared. Required fields are marked *
汗…..
把 “say”改为 “说” 有意义吗 …..
是没什么意义