给自己网站添加了360智能摘要,便于收录,其中有一行,需要在文章页的head标签中调用文章摘要,自己采用了get_the_excerpt和get_the_content函数都不行。不知该如何处理?
<meta property="og:description" content="<?php get_the_excerpt();?>"/>
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
usage