放在文章的循环里:

<?php
     if (!empty($post->post_excerpt) ) {
       //如果文章有摘要则输出摘要
       the_excerpt();
      }      
?>

  

相关文章:

  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
猜你喜欢
  • 2021-06-03
  • 2021-10-08
  • 2021-10-20
  • 2021-11-09
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案