【问题标题】:comments_template() not showing posts. 320presscomments_template() 不显示帖子。 320按
【发布时间】:2014-06-20 21:58:50
【问题描述】:

我正在使用320press template.

我注意到他们使用

<?php comments_template(); ?>

它提供了一个漂亮的小评论框,



虽然我的问题是 cmets 不会显示在框上方,

我确实设法通过使用

让他们出现
<?php comments_template('/reviewcomments.php'); ?>

虽然这似乎真的把它的 css 弄乱了,如下所示。



我想知道是否有可能让 cmets 出现,但是 保持以前的样式?为什么 /reviewcmets.php 乱七八糟 上 css 了吗?

【问题讨论】:

    标签: php html css wordpress twitter-bootstrap


    【解决方案1】:

    我发现这样做可以让 cmets 展示而不会失去设计,

    <?php comments_template('',true); ?>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多