> For the complete documentation index, see [llms.txt](https://docs.jedidesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jedidesk.com/english/widget/how-to-embed-a-widget-on-a-site/how-to-embed-a-jedidesk-widget-in-wordpress.md).

# How to embed a #jedidesk widget in WordPress

1. [**Create a #jedidesk widget**](/english/widget/how-to-create-a-jedidesk-widget.md) and copy the generated code.
2. Log in as an administrator on your [**WordPress**](https://wordpress.com/log-in/) site or **WooCommerce** online store.
3. Open the **Appearance -> Theme File Editor** tab.
4. Select the one you are using from the list of installed themes and click on the **Theme Footer** template called **footer.php**.
5. Paste the chat code #jedidesk before the <mark style="color:red;">**\</body>**</mark> tag and click <mark style="background-color:blue;">**Update File**</mark>:

<figure><img src="/files/ANXvgFbNhMQv3Padd73X" alt=""><figcaption><p>How to embed a #jedidesk widget in WordPress</p></figcaption></figure>

{% hint style="success" %}

#### Supplements and additional methods

1. Most themes have a special place to insert additional code for analytics or other scripts. First, it is recommended to look for such a place in your topic.
2. If you can't find the **footer.php** file, you can similarly insert the widget code into the **header.php (Theme Header)** file before the opening <mark style="color:red;">**\</body>**</mark> tag.
   {% endhint %}
