如何在标题中的新元素中添加Post标记。php?
我可能忽略了WordPress Codex中的一个明显功能。
我已尝试将这些添加到标题。php:
<meta name="page-tags" content="<?php the_tags(); ?>">
=>生成一些不需要的html(我不想更改wp includes文件夹中的核心和
<meta name="post-tags-here" content="<?php get_the_tag_list(); ?>" >
=>不打印和
<meta name="post-tags-here" content="<?php tag_description(); ?>" >
=>不打印有什么线索吗?