WordPress 首页如何只显示摘要
编辑目录\wp-content\themes\classic 下 index.php
代码中找到<?php the_content(__(’(more…)’)); ?>或者<?php the_content(); ?>
修改为
<?php if(!is_single()) {
the_excerpt();
} else {
the_content(__('(more…)'));//或者<?php the_content(); ?>
} ?>
原创文章转载请注明出处:云飞扬IT的blog





