wordpress怎样独立调用评论框功能
wordpress怎样独立调用评论框功能 度娘出来的这个不能显示
<?php
global $withcomments;
$withcomments = true;
// 包含评论模板文件,
comments_template("/comments.php");
?>
共以下 2 个回答:

<?php comments_template(); ?>
...在需要显示的地方插入看看。

[at id=27843]的代码很简单,一般主题里面都是这么写的,然后默认文件就是comment.php