> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I add code to the <head> of your Wordpress site with Divi?

# Here’s how to add code in the <head> of your Wordpress site with Divi.

1.  [Log in to your Wordpress admin space](https://help.ex2.com/en/article/how-to-access-the-wordpress-admin-account-17gaz1d/?bust=1676395591170) (www.yourdomain.com/wp-admin)

2.  In your Wordpress [CMS](https://help.ex2.com/en/article/what-is-a-content-management-system-or-cms-1c48kdh/?bust=1784052067814) Dashboard, click the Divi extension.

3.  Make sure you are in the Theme Options option.

![](https://www.ex2.com/clients/index.php?rp=/images/kb/565_Capture-decran-le-2021-06-30-a-15.10.28.png)

4.  In the Integration section, scroll to Add code to the <head> of your blog.

![](https://www.ex2.com/clients/index.php?rp=/images/kb/592_Capture-decran-le-2021-07-01-a-14.12.24.png)

5.  Write the appropriate code in the grey rectangle.

![](https://www.ex2.com/clients/index.php?rp=/images/kb/593_Capture-decran-le-2021-07-01-a-14.12.24-2.png)

6.  Scroll to the bottom of the page and click Save Changes.

![](https://www.ex2.com/clients/index.php?rp=/images/kb/567_Capture-decran-le-2021-06-30-a-15.11.14.png)

Congratulations, now you can add code in the <head> of your Wordpress site by [using Divi Builder](https://help.ex2.com/en/article/everything-you-need-to-know-to-get-started-with-divi-czm1h8/?bust=1785504908556).