> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/integrations/content-management-system-cms/wordpress.md).

# WordPress

Adding Didomi CMP to your WordPress site is straightforward and requires no development skills.&#x20;

**Follow these steps to add the CMP to your website!**

### **✅ Pre requisites**&#x20;

You need the two following Didomi parameters to properly configure the plugin and correctly deploy the Didomi notice on your website:

* *Organization Public API Key*
* *Notice ID*

{% hint style="info" %}
If you don't know where to find these parameters in the Didomi console, consult [this documentation.](https://docs.didomi.io/integrations/content-management-system-cms/retrieve-didomi-parameters-for-cms-plugin.md)
{% endhint %}

### ✅ STEP 1: Download the Didomi CMP Plugin for Wordpress

Download the Didomi CMP plugin for Wordpress from this [link](https://sdk.didomi.io/cms-plugins/wordpress/didomi-plugin-wordpress-latest.zip).&#x20;

### ✅ STEP 2: Add the Didomi CMP plugin

* Navigate to *Plugins* in the WordPress menu.

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FIsRe5DmcU5j0MQNlkXMl%2Fimage-png-Jun-25-2024-02-38-53-8371-PM.webp?alt=media&amp;token=08234e3d-d077-46ab-85f9-c751262c94a0" alt="" width="516">

* Click *Add New Plug In*.

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FkzHsSIZkYo2oiJ83tgle%2Fimage-png-Jun-25-2024-02-39-44-6213-PM.webp?alt=media&amp;token=b38cd452-a06b-4125-8236-46884db023e7" alt="" width="516">

* Select *Upload Plugin*, choose the file downloaded in Step 1, and click *Install Now*.

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FcnqipdJLemJlll1FNYTI%2Fimage-png-Jun-25-2024-02-41-26-0151-PM.webp?alt=media&amp;token=e49dc5e4-1339-4d88-a96c-43647b0c23ea" alt="" width="516">

* Once installed, click *Activate Plugin*.

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2F22eCOT2P5U9WymE9B9yq%2Fimage-png-Jun-25-2024-02-47-00-7227-PM.webp?alt=media&amp;token=33fb4524-6261-473f-9aa7-ce63062f5738" alt="" width="516">

{% hint style="info" %}
At this stage, the Didomi CMP plugin for Wordpress is installed and activated on your website but no consent notice will show just yet.
{% endhint %}

### ✅ STEP 3 – Setup your Didomi notice

After installing and activating the Didomi CMP plugin (Step 2) and retrieving the necessary parameters from Didomi (prerequisites), you can proceed to configure the plugin.&#x20;

* Navigate back to WordPress and go to *Settings* > *Didomi CMP* .

<figure><img src="https://support.didomi.io/hs-fs/hubfs/image-png-Jun-25-2024-02-50-49-2711-PM.png?width=688&#x26;height=337&#x26;name=image-png-Jun-25-2024-02-50-49-2711-PM.png" alt="" width="563"><figcaption></figcaption></figure>

* Enter your Didomi public organization API key and notice ID in the settings and *Save*:

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FnstRDvroAIqchIETVZe6%2Fimage-png-Jun-25-2024-02-49-49-7353-PM.webp?alt=media&amp;token=2fcad70f-c6c2-4328-90f5-76754e80a1c4" alt="" width="516">

The Didomi CMP notice will now be displayed on your website.

### **✅ STEP 4 - Enable WP consent API for seamless consent management**

1. Go to the Didomi Console → Consent Notices
2. Select your consent notice (same notice as in step 3 above)
3. Go to Integrations → Consent Mode
4. Enable Wordpress consent API - Available for GDPR only
5. As a result the status of WP consent categories will be calculated (based on the status of your 1st party vendor ) and will be passed to WP Consent API <https://wpconsentapi.org/>.

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FZEyBzDfZZhDW7ZIZmGOo%2FScreenshot_2025-07-14_at_16-41-03-webp.webp?alt=media&amp;token=e22c46e7-cd1e-47d1-aacb-42d01c3f2129" alt="" width="516">


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.didomi.io/integrations/content-management-system-cms/wordpress.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
