Installation on WordPress
You insert the Cookienovo script into the section <head>
of your WordPress site in two ways — via a plugin (easier and recommended), or manually in the template.
Via the official Cookienovo plugin (recommended)
The easiest way is our official plugin — download it, upload it to WordPress, enter your site code, and you're done. No template edits, no inserting scripts by hand.
Download the WordPress plugin (.zip)
- Download the plugin using the button above.
-
In the WordPress admin, go to Plugins → Add New → Upload Plugin
and select the downloaded file
.zip. - Click Install and then Activate.
- Open Settings → Cookienovo.
- Insert your site code (from Cookienovo → Sites → your site) and save.
- Done — the cookie banner will show to visitors.
The plugin inserts the script in the correct order and sets Google Consent Mode v2 before the Google tags. You don't need to edit the template or worry about script order.
Alternative: a universal header plugin
If you don't want our plugin, you can use a universal plugin such as „Insert Headers and Footers" and insert the Cookienovo script manually into the Header (Head).
Manually (editing header.php)
- Sign in to your WordPress site's admin.
- In the left panel, select Appearance (Appearance).
- Select Editor (Theme Editor).
-
In the list of template files, select
header.php(or possiblyheader-xxxx.php). -
Find the section
<head>and insert the Cookienovo script between the opening and closing tag<head>…</head>. - Click Update file (Save).
Back up before editing the template
of the file header.php
or the whole site, so you can restore the original state if needed.
If you're unsure, contact your site administrator, or use the help of our partner WEB-STAR.