> For the complete documentation index, see [llms.txt](https://helps.ptengine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helps.ptengine.com/cn/start-guide/othertag/tag-wordpress.md).

# WordPress中设置标签

您可以使用WordPress实现Ptengine的基本标签。这种方法无需在多个页面上单独设置，效率高。

## 推荐的设置方法：

选择"外观"→"主题编辑器"

选择要设置Ptengine的主题

选择"header.php"或"主题页头"

生成基本标签，并将其放在标签之前

点击"保存文件"完成

## 替代设置方法

某些主题可能限制对页头和页脚的编辑。在这种情况下，请尝试以下方法：

安装并激活插件"Insert Headers And Footers"

从左侧边栏设置中选择"Insert Headers And Footers"

在页头部分插入Ptengine的基本标签
