WordPress显示访问人数及评论

[php]<?php
<div class="post-meta">
<span class="pd"><?php the_time(‘F j, Y’) ?></span><br/>
<span class="pv"><?php if(function_exists(‘the_views’)) { ?><?php the_views(); ?></span><?php } ?>
<span class="pc"><a href="<?php the_permalink() ?>#comments_list"><?php comments_number(‘0’, ‘1’, ‘%’) ?></a></span>
// <?php comments_popup_link(‘0’, ‘1’, ‘%’); ?> 这个方法同上面显示评论数及评论链接的方法相同,不过更简单
</div>
?>[/php]

未经允许不得转载:Song It » WordPress显示访问人数及评论

相关文章

评论 (0)