
使用MAMP时如何修复“此站点无法提供安全连接”错误
the_excerpt ( No parameters )
the_excerpt – 这个函数用来输出一个文章或页面的内容的缩短版。摘录的长度是由WordPress设置中的摘录长度决定的。
显示文章的摘要。
function the_excerpt() { /** * Filters the displayed post excerpt. * * @since 0.71 * * @see get_the_excerpt() * * @param string $post_excerpt The post excerpt. */ echo apply_filters( 'the_excerpt', get_the_excerpt() ); }