[Tips] wordpress添加文章计数 安装WP-PostViews插件 找到外观 -> 主题编辑器中的index.php和single.php //index.php中找到while ( have_posts() ) :,在循环中添加 if(function_exists('the_views')) { the_views(); }