LMG Consent
Lightweight, GDPR/CPRA-ready cookie consent banner with Google Consent Mode v2 and Global Privacy Control (GPC) support. Designed to be reused across multiple sites; default palette matches M Financial Group but all colors are themeable via CSS variables.
★ 0stars
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/lmg-interactive/lmg-cookie-consent/releases/download/1.1.1/lmg-consent-1.1.1.zipFrom the readme
LMG Consent
Lightweight GDPR/CPRA cookie-consent banner with Google Consent Mode v2 and
Global Privacy Control (GPC) support. Designed to be reused across multiple
sites.
GitHub-based updates
Every site running this plugin checks GitHub for new releases and shows
updates under Plugins → Updates (one-click update, or enable auto-update).
Powered by the vendored Plugin Update Checker
(vendor/plugin-update-checker/, committed to the repo — no Composer needed).
One-time GitHub setup
1. Create the repo. Put the plugin at the repo root (so lmg-consent.php
is at the top level of the repo), and commit everything including the
vendor/ folder.
- Repo the plugin expects (public): lmg-interactive/lmg-cookie-consent.
- Using a different repo? Set it per site (see below) — no code change.
2. (Private repo only) Create a token. A GitHub Personal Access Token with
read access to the repo (classic: repo scope; fine-grained: Contents:
Read). Public repos need no token.
Per-site configuration
Default public repo lmg-interactive/lmg-cookie-consent: nothing to
configure — it works out of the box.
Otherwise, add to that site's wp-config.php (above / That's all … /):
The toke
Read the full README on GitHub →