
內容簡介
FormCourier Modal Window 是一款輕量級的 WordPress 外掛,專為在可存取的模態視窗中顯示 WordPress 表單及其他短碼生成的內容而設計。使用者可透過簡單的短碼設定,將多個觸發元素連結至同一模態視窗,提升網站互動性。
【主要功能】
• 在模態視窗中顯示 WordPress 短碼內容
• 從多個按鈕或連結開啟相同模態
• 配置多個觸發 CSS 類別
• 支援動態新增的觸發元素
• 可透過關閉按鈕、背景點擊或 Esc 鍵關閉模態
• 自動偵測 Polylang 配置的所有語言
外掛標籤
開發者團隊
原文外掛簡介
FormCourier Modal Window is a lightweight plugin for displaying WordPress forms and other shortcode-generated content in an accessible modal window.
Add a shortcode in the plugin settings, configure one or more CSS trigger classes, and any matching button, link, or other element can open the same modal.
The plugin focuses on one task. It does not include a form builder, marketing automation, analytics, tracking, or an external service. The shortcode content is generated by WordPress or by the plugin that registered the shortcode.
Features:
Display WordPress shortcode content inside a modal window.
Open the same modal from any number of buttons, links, or other elements.
Configure multiple trigger CSS classes.
Support dynamically added trigger elements through event delegation.
Close the modal with the close button, backdrop click, or Escape key.
Keep keyboard focus inside the open dialog and return focus to the trigger after closing.
Respect reduced-motion preferences.
Load frontend assets only when a shortcode and at least one trigger class are configured.
No external API requests, tracking, or remote dependencies.
Automatically detects all languages configured in Polylang.
Supports language-specific shortcodes with WPML.
Falls back to the default language shortcode when a translation is not configured.
Usage
For example, configure this shortcode:
錯誤: 找不到符合條件的聯絡表單。
Then configure this trigger class:
open-contact-modal
Add open-contact-modal as a CSS class to a button or link on the site. Clicking that element opens the configured shortcode content in the modal.
The plugin uses event delegation, so matching elements added dynamically after page load can also open the modal.
Privacy
FormCourier Modal Window does not collect, store, or transmit visitor data by itself.
Any data submitted through content displayed inside the modal is handled by the plugin or service that provides the configured shortcode. Review that plugin or service’s privacy behavior separately.
