# WordPress中设置标签

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

## 推荐的设置方法：

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

选择要设置Ptengine的主题

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

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

点击"保存文件"完成

## 替代设置方法

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

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

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helps.ptengine.com/cn/start-guide/othertag/tag-wordpress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
