[WordPress] 外掛分享: MLX Cookie Consent

首頁外掛目錄 › MLX Cookie Consent
20+
安裝啟用
尚無評分
50 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.0 上架:2026-02-20

內容簡介

總結:MLX Cookie Consent 是由 Modulux 開發的輕量級、開發者友好的 Cookie 同意解決方案,可控制根據用戶同意載入腳本和嵌入內容的技術工具。雖然支持 GDPR、ePrivacy、UK GDPR 等規定的合規工作,但不會自動使您的網站合法,您需要正確分類腳本、提供準確信息並建立適當的隱私和Cookie政策頁面。

<!-- 使用 HTML 標籤製作問題與答案 -->
<ul>
<li>
<strong>MLX Cookie Consent 可以幫助網站達到哪些合規努力?</strong>
<p>MLX Cookie Consent 可以支持 GDPR、ePrivacy、UK GDPR 等規定的合規工作。</p>
</li>
<li>
<strong>MLX Cookie Consent 是否會自動使網站合法?</strong>
<p>否,您需要負責正確分類腳本、提供準確信息並維護適當的隱私和Cookie政策頁面。</p>
</li>
<li>
<strong>MLX Cookie Consent 是否可以與外部服務連接?</strong>
<p>不會自動連接到任何外部或第三方服務。任何外部服務(例如 Google Analytics、Google Maps、reCAPTCHA)需網站管理員手動添加,只有在明確用戶同意後才加載,完全由網站所有者控制和配置。</p>
</li>
<li>
<strong>MLX Cookie Consent 支持哪些功能?</strong>
<p>包括給予用戶同意前阻止腳本加載、基於類別的同意、具有細粒度控制的偏好模式、在政策更改時重新請求用戶同意、支持外部腳本、內嵌腳本、iframe 和嵌入式內容等。</p>
</li>
<li>
<strong>MLX Cookie Consent 如何保持多語言支持?</strong>
<p>MLX Cookie Consent 透過 String Translation 與 WPML 或 Polylang 整合,並保留基於類別的腳本邏輯跨語言共享。</p>
</li>
</ul>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MLX Cookie Consent」→ 直接安裝(推薦)

原文外掛簡介

MLX Cookie Consent is a lightweight, developer-friendly cookie consent solution built by Modulux.
It provides the technical tools to control when scripts and embedded content load based on user consent.
When configured and used correctly, it can support compliance efforts for GDPR, ePrivacy, UK GDPR,
and similar regulations.
This plugin does not automatically make your site legally compliant.
You are responsible for correctly classifying scripts, providing accurate information,
and maintaining proper privacy and cookie policy pages.
Project home: modulux.net
MLX Cookie Consent is multilingual-ready and works with WPML or Polylang via String Translation.
All user-facing texts (titles, descriptions, buttons, category labels) can be translated per language.
External Services
This plugin does not connect to any external or third-party services by default.
MLX Cookie Consent does not send data to external servers, does not load remote scripts, and does not perform any tracking on its own.
The plugin provides a technical mechanism that allows site administrators to conditionally load third-party scripts (such as analytics, maps, fonts, or captcha services) after obtaining user consent.
Any external services (e.g. Google Analytics, Google Maps, reCAPTCHA) are:
– Added manually by the site administrator
– Loaded only after explicit user consent
– Fully controlled and configured by the site owner
MLX Cookie Consent does not transmit any data to these services itself. Any data transmission is performed directly between the visitor’s browser and the third-party service, according to the configuration and privacy policies of that service.
Features

Script loading blocked until user consent
Category-based consent (necessary, analytics, marketing, etc.)
Preferences modal with granular control
Consent revisioning to re-ask users when policies change
Supports external scripts, inline scripts, iframes, and embeds
Developer hooks for advanced customization
No external dependencies, bundled internal JS engine

Libraries Used
This plugin bundles the following open-source library:
CookieConsent by Orest Bida
License: MIT
The library is included locally with the plugin and does not perform any network requests or data transmission by itself.
Usage
Scripts are output as inactive placeholders and executed only after consent:

Examples include:
* Google Analytics
* Google Fonts
* Google Maps
* reCAPTCHA
* Third-party widgets and embeds
Iframes and embedded content should be loaded dynamically after consent using JavaScript.
Multilingual
MLX Cookie Consent integrates with WPML and Polylang via String Translation.
Texts stored in plugin options are automatically available for translation.
Script logic remains category-based and shared across languages.
Advanced (Developers)
The plugin exposes optional WordPress filters:

mlx_cc_options
mlx_cc_categories
mlx_cc_sections
mlx_cc_preferences

These filters allow programmatic customization such as language-based logic,
conditional script loading, or dynamic category handling.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon