
內容簡介
MHT Entry Confirm 為您的 WordPress 網站新增了一個確認閘道和內容限制的模態視窗。訪客在查看受保護的頁面之前,必須明確確認符合要求,適合需要簡單且隱私友好的訪問控制的網站。
【主要功能】
• 全頁確認模態顯示
• 基於 Cookie 的訪問記憶
• 可自訂外觀設置
• 安全重定向未確認訪客
• 彈性按鈕設定
• 排除規則設定
外掛標籤
開發者團隊
原文外掛簡介
MHT Entry Confirm adds a confirmation gate and content restriction modal to your WordPress site. Before visitors can view protected pages, a full-screen confirmation modal appears — content is revealed only after the visitor explicitly confirms they meet the required conditions.
Designed for sites that need simple, privacy-friendly access control without the overhead of complex membership plugins.
Common use cases:
– Age verification for adult content, alcohol, tobacco, or gambling-related sites
– Content warnings for mature themes, violence, or graphic media
– Regional or legal access restrictions (e.g. country-specific compliance)
– Age-gated product pages for games, movies, or media with age ratings
Why choose MHT Entry Confirm?
– No personal data collected — fully GDPR-friendly
– No tracking, no ads, no upsells
– Free and open-source (GPL-2.0)
– Lightweight — no impact on page speed
Features
– Blocking confirmation modal
Displays a full-page modal before protected content is shown.
– Cookie-based access memory
Remembers confirmed visitors for a configurable number of days, or for the current browser session only.
– Customizable appearance
Adjust logo image, title color, modal title, description text, button color, backdrop color and opacity to match your site design.
– Safe redirect for restricted visitors
Redirect visitors who do not confirm to a specified external URL.
– Flexible button settings
Customize confirmation and decline button labels, and optionally swap their positions.
– Exclusion rules
Disable the confirmation modal on specific posts, categories, or tags by ID.
– Cookie flag control
Change the cookie flag value to invalidate existing cookies and force re-confirmation for all visitors.
– Test mode
Preview and adjust the modal without saving cookies — useful for development and design tuning.
For Developers
MHT Entry Confirm dispatches a custom JavaScript event after a visitor successfully passes the confirmation step, allowing you to trigger additional logic.
The event name is stable within the same major version.
