the_excerpt_embed

函数
the_excerpt_embed ( No parameters )
定义位置
相关方法
the_excerptthe_excerpt_rssget_the_excerptthe_content_feedhas_excerpt
引入
4.4.0
弃用
-

the_excerpt_embed – 这个函数与the_excerpt相似,但专门用于嵌入式内容。它允许嵌入式内容以一种紧凑的格式显示。

显示嵌入模板的文章摘录。

旨在用于”The Loop”中。

function the_excerpt_embed() {
	$output = get_the_excerpt();

	/**
	 * Filters the post excerpt for the embed template.
	 *
	 * @since 4.4.0
	 *
	 * @param string $output The current post excerpt.
	 */
	echo apply_filters( 'the_excerpt_embed', $output );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 18:32:58

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: