WordPress站点统计功能代码

1、日志总数: <?php $count_posts = wp_count_posts(); echo $published_posts = $count_posts->publish;?> 2、草稿数目: <?php $count_posts = wp_count_posts(); echo $draft_…

WP 优化   4个月前 (07-29)   227   0