1、文章首页或其他页面显示文章摘要,带有格式
如编辑主题中的index.php页面,搜索到 the_content()
<!--此句显示完整的文章内容-->
<?php the_content('Read the rest of this entry »');?>
替换为
<!--此句显示文章摘要-->
<?php the_excerpt();?>
1、文章首页或其他页面显示文章摘要,带有格式
如编辑主题中的index.php页面,搜索到 the_content()
<!--此句显示完整的文章内容-->
<?php the_content('Read the rest of this entry »');?>
替换为
<!--此句显示文章摘要-->
<?php the_excerpt();?>
Copyright © 2024 · Mindstream Child Theme on Genesis Framework · WordPress · Log in
近期评论