Easy Modal

外掛說明

Easy Modal lets site administrators create modal windows, style them with reusable themes, and open them from links, buttons, or images.

Features include:

  • Unlimited modals and themes.
  • Rich modal content with WordPress shortcodes.
  • Responsive presets and custom dimensions.
  • Configurable position, animation, overlay, and close behavior.
  • Sitewide loading or selection on individual posts and pages.
  • Automatic Gravity Forms asset loading when Gravity Forms is available.

All functionality included in this plugin is available without a license key, quota, trial period, or paid unlock.

Moving to Popup Maker

Easy Modal remains fully functional, but Popup Maker is its actively developed successor. Popup Maker includes modern targeting, triggers, cookies, accessibility improvements, and an importer that converts existing Easy Modal modals and themes while preserving legacy trigger classes through compatibility mode.

Read the Easy Modal migration guide, then install Popup Maker when you are ready to migrate. You can also review the first-popup guide and trigger guide.

Opening a modal

Each saved modal has a trigger class such as eModal-12. Add that class to a link, button, or image:

<button type="button" class="eModal-12">Open modal</button>

Replace 12 with the modal ID shown in the Easy Modal administration screen.

Inline modal shortcode

The [modal] shortcode renders a modal directly from post content. For example:

[modal id="newsletter" title="Join our newsletter"]Your form shortcode here.[/modal]

Open it with an element whose class matches the generated modal ID:

<button type="button" class="eModal-newsletter">Open newsletter</button>

Privacy and external services

Easy Modal does not send site data to the plugin author or to an external service. It does not load remote scripts, styles, images, fonts, analytics, advertisements, license checks, or update metadata.

If modal content contains a shortcode or embed supplied by another plugin or by WordPress, that content may use external services according to the behavior and privacy policy of that separate component.

安裝方式

  1. Upload the easy-modal directory to /wp-content/plugins/, or install Easy Modal through the WordPress Plugins screen.
  2. Activate Easy Modal.
  3. Open Easy Modal > Themes to customize a theme.
  4. Open Easy Modal > Modals to create a modal.
  5. Add the modal’s eModal-ID class to the link, button, or image that should open it.

常見問題集

How do I open a modal?

Add the modal trigger class shown in the Modals list to any link, button, or image. For modal ID 12, use class="eModal-12".

Can I use forms and shortcodes in a modal?

Yes. Easy Modal processes WordPress shortcodes in saved modal content. The plugin also detects Gravity Forms shortcodes and asks Gravity Forms to enqueue the form assets when that plugin is active.

Can different modals use different designs?

Yes. Create as many themes as needed, then select a theme while editing each modal. Themes can be cloned and edited independently.

Does Easy Modal contact an external server?

No. Easy Modal itself makes no external requests and does not collect analytics or usage data.

What happened to older paid-feature prompts?

They were removed. Every feature shipped in the WordPress.org plugin is fully available without licensing or payment.

使用者評論

2019 年 8 月 25 日
ads ads ads ads ads go pro, go pro, go pro, go pro….
2018 年 6 月 7 日 1 則留言
Сегодня при переустановки CMS WP, плагин начал очень хорошо кушать ресурсы (10+сек ожидания). Решил не заморачиваться и поискать аналоги этого плагина с более свежей поддержкой CMS+плагина.
2017 年 3 月 13 日 4 則留言
Очень сырой плагин, давно не обновлялся. Раз от раза, при открытии, модальное окно не центрируется по области экрана. Не рекомендую.
2016 年 10 月 11 日
This is a really great plugin. Even with free version you can do a lot of things with it.
閱讀全部 125 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Easy Modal〉的開發相關工作。

參與者

將〈Easy Modal〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

2.2.1

Compatibility

  • Resolve plugin paths and URLs using WordPress location helpers while preserving the legacy constants and their trailing-slash behavior.

2.2.0

  • Restored complete unlimited theme management and per-modal theme selection.
  • Removed licensing, add-on discovery, promotional tracking scripts, and custom update-checker code.
  • Removed all unsolicited external requests and remotely hosted assets.
  • Added capability and nonce enforcement to administrative actions.
  • Added strict request validation, a centralized request boundary, prepared database queries, cascading metadata deletion, and safer redirects.
  • Added contextual output escaping and rich-content sanitization.
  • Preserved historical settings, shortcode IDs, capability filters, extension options, embedded content, and zero-duration animations.
  • Added request-local caching for theme collections, default-theme lookup, and theme counts.
  • Replaced deprecated WordPress, PHP, and JavaScript APIs.
  • Removed unmaintained jQuery Cookie and jQuery Transit libraries.
  • Added WordPress 6.3+, PHP 7.4+, multisite, PHPCS, PHPCompatibility, Plugin Check, and distribution CI support.

2.1.0

  • Previous public release.