# WordPressでタグ設置

WordPressを使用してPtengineの基本タグを実装できます。この方法は複数ページに個別に設置する必要がなく、効率的です。

### 推奨設定方法:

1. 「外観」→「テーマエディタ」を選択
2. Ptengineを設定したいテーマを選択
3. 「header.php」または「テーマヘッダー」を選択
4. 基本タグを発行し、タグの直前に配置
5. 「ファイルを保存」をクリックして完了

![](/files/DVmdD8V86sTPnKVlDdZz)

### 代替設定方法

テーマによってはヘッダーやフッターの編集が制限されている場合があります。その場合は以下の方法をお試しください：

{% stepper %}
{% step %}
プラグイン「Insert Headers And Footers」をインストールし、有効化
{% endstep %}

{% step %}
左サイドバーの設定から「Insert Headers And Footers」を選択
{% endstep %}

{% step %}
ヘッダーセクションにPtengineの基本タグを挿入
{% endstep %}
{% endstepper %}


---

# 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/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.
