文章归档页面只显示摘要(Twenty Seventeen)

感谢NKOWWEI提供的解决方案

在“外观”→“编辑”中,修改achieve.php

将原来的

get_template_part( 'template-parts/post/content', get_post_format() );

修改为

get_template_part( 'template-parts/post/content','excerpt', get_post_format() );

大功告成!

One Reply to “文章归档页面只显示摘要(Twenty Seventeen)”

Leave a Reply

Your email address will not be published. Required fields are marked *