wordpress现在的文章页面是调用标签作为关键字,如何设置调用文章标题作为关键字
$keywords="";$tags=wp_get_post_tags($post->ID);foreach($tagsas$tag){$keywords=$keywor...
$keywords = "";
$tags = wp_get_post_tags($post->ID);
foreach ($tags as $tag ) {
$keywords = $keywords . $tag->name . ",";
} 展开
$tags = wp_get_post_tags($post->ID);
foreach ($tags as $tag ) {
$keywords = $keywords . $tag->name . ",";
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询