WP Manifestindependent plugin directory
manifest / privacy / cookiefence-wordpress-plugin

CookieFence

★ 0stars
10release downloads
v1.0.1latest · 15d ago

Install

Download cookiefence.zip From the v1.0.1 release on GitHub, Oct 19, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/cookiefence/cookiefence-wordpress-plugin/releases/download/v1.0.1/cookiefence.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Install the CookieFence consent banner on a WordPress site with one setting: the CookieFence site UUID copied from the CookieFence admin UI.

Installation

  1. Download cookiefence-0.1.2.zip.
  2. In WordPress, go to Plugins > Add Plugin > Upload Plugin.
  3. Upload the ZIP and activate CookieFence.
  4. Go to Settings > CookieFence.
  5. Paste the site UUID from CookieFence and save changes.

GitHub Releases are the preferred long-term distribution channel, but the installable ZIP is tracked in this repository for the initial public download.

When configured, the plugin adds these tags to public pages as early in wp_head as WordPress allows:

<link rel="preconnect" href="https://api.cookiefence.com" crossorigin>
<script id="CookieFence" src="https://api.cookiefence.com/tags/{uuid}.js"></script>

To use a different CookieFence host for local, staging, or other environments, define COOKIEFENCE_TAG_BASE_URL in wp-config.php before WordPress loads plugins:

define( 'COOKIEFENCE_TAG_BASE_URL', 'http://localhost:3001' );

With that override, the plugin outputs:

<link rel="preconnect" href="http://localhost:3001" crossorigin>
<script id="CookieFence" src="http://localhost:3001/tags/{uuid}.js"></script>

Development

Run a syntax check before releasing:

php -l cookiefence.php

Build an uploadable plugin ZIP:

rm -rf dist
mkdir -p dist/cookiefence releases
cp cookiefence.php readme.txt LICENSE dist/cookiefence/
(cd dist && zip -r ../releases/cookiefence-0.1.2.zip cookiefence -x "*.DS_Store")
unzip -l releases/cookiefence-0.1.2.zip

License

GPL-2.0-or-later.

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.1 latest
Oct 19, 2026 15d ago
cookiefence.zip
6
Oct 13, 2026 21d ago
cookiefence.zip
4