Wordpress显示文章摘要
放在文章的循环里:
<?php
if (!empty($post->post_excerpt) ) {
//如果文章有摘要则输出摘要
the_excerpt();
}
?>
2024还活着,挺好的,向着星辰与深渊,加油,博客园不要倒下啊!
放在文章的循环里:
<?php
if (!empty($post->post_excerpt) ) {
//如果文章有摘要则输出摘要
the_excerpt();
}
?>