Wordpress主题twentytwelve修改首页文章摘要
方法:网站后台->外观->编辑->找到content.php文件
路径:wp-content/themes/twentytwelve/
找到这一句:
<?php if ( is_search() ) : // Only display excerpts for search. ?>
修改为
<?php if ( is_search() || is_category() || is_archive() || is_home()) : // Only display excerpts for search. ?>
保存删除缓存,刷新首页就可以显示摘要了。
作者:Alone°李道长ご
联系:WeChat(QQ):1969170027
-------------------------------------------------
如果觉得这篇文章对你有小小的帮助的话,点点左下角“👍”博主在此感谢!