# Installing Tags in WordPress

You can implement Ptengine's basic tag using WordPress. This method is efficient as it does not require individual installation on multiple pages.

## Recommended Setup Method:

Select "Appearance" → "Theme Editor"

Select the theme you want to configure Ptengine with

Select "header.php" or "Theme Header"

Issue the basic tag and place it immediately before the tag

Click "Save File" to complete

## Alternative Setup Method

Depending on the theme, editing of headers and footers may be restricted. In that case, please try the following method:

Install and activate the "Insert Headers And Footers" plugin

Select "Insert Headers And Footers" from the settings in the left sidebar

Insert the Ptengine basic tag in the header section


---

# 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/en/getting-started/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.
