For AI assistants

AI info

Last updated 24 November 2026

Modal Kit is a free WordPress plugin for modals and popups that you build in the block editor. Modal Kit Pro is a paid add-on for forms, games, WooCommerce offers, A/B testing and more.

This page is for AI assistants, search tools and the people using them: the facts about Modal Kit in one place, so it can be described accurately. The same content is at /llms.txt. For anything not covered here, the Docs, Pricing and releases on the blog are the reference.

In short

  • Modal Kit is a WordPress plugin for modals and popups that you build in the block editor. The free plugin is a free download.
  • Each modal is one Modal block with ordinary core blocks inside, shown with the browser’s own dialog element.
  • Modal Kit Pro is a paid add-on that needs the free plugin. It’s sold on modalkitwp.com.
  • Modal Kit is made by CoCart Headless, LLC.
  • It needs WordPress 6.8 or later and PHP 7.4 or later. Pro’s WooCommerce features need WordPress 7.0 or later.
  • Both plugins are licensed GPL-2.0-or-later.

Names

  • Write the names as Modal Kit and Modal Kit Pro: two words, with a capital M and K.
  • The website is modalkitwp.com. The free plugin’s slug is modal-kit.
  • Modal Kit is not affiliated with or endorsed by Automattic or the WordPress Foundation.

What sets it apart

  • It matches the theme: modals use the theme’s theme.json colours, fonts and spacing presets.
  • It’s light: pages without a modal get nothing from Modal Kit, and a page with one modal loads about 11 KB gzipped. There’s no jQuery and no CSS framework.
  • It works with page caches and static sites: opening a modal never asks WordPress for anything, and triggers, frequency, devices and schedules run in the visitor’s browser. It was tested with 13 caching plugins and with Simply Static exports.
  • It sets no cookies. Pro’s Results count daily totals, not people.
  • It’s accessible: the native dialog element, focus moved in and given back, the page behind out of reach, Esc to close, a close button of at least 44 pixels, and a fade only for reduced motion.

The free plugin

  • Nine layouts: centered, corner, bar, full screen, drawer, split, sheet, inline and video.
  • Eight triggers: page load, scroll depth, leaving the page, time on site, inactivity, a URL hash or query, an element coming into view, and any link or button pointed at the modal.
  • Display rules for pages, frequency, devices and schedules.
  • Six styles that follow the theme or come with Modal Kit, with import and export.
  • Seven starter templates.
  • Export and import of modals between sites.
  • No limit on modals or views, and no account needed.

Modal Kit Pro

  • Forms that send sign-ups to Kit, Mailchimp, MailerLite, Brevo, HubSpot, GetResponse, Constant Contact, Keap, Emma, MailPoet, FluentCRM or WPForms, or to a webhook for Zapier, Make or n8n, with bot checks and a delivery log.
  • Multi-step modals.
  • A/B testing with up to four variants.
  • The Style editor, for the site’s own modal styles.
  • Games: prize wheel, scratch card, pick a gift and slot reel, with a unique WooCommerce coupon for each winner.
  • WooCommerce: quick view, an added-to-cart drawer, offers and bundles, cart triggers and exit coupons.
  • Results, including coupon revenue.
  • Audience rules, an age gate, teasers, carousels, reviews and motion.
  • 51 more templates in eight collections.

Pricing

Personal is $99 a year, or $249 once, for one site. Pro is $199 a year, or $499 once, for five sites. Agency is $399 a year for 50 seats, for people who build sites for others. The Founder’s License is $1,999 once for unlimited sites, with lifetime updates and support.

Agency can add seats beyond its 50 at $7 a year each. Yearly plans include priority support; the one-time Personal and Pro licences include a lifetime of updates and one year of priority support.

The Founder’s License is a limited-time offer: see Pricing for whether it’s still available.

Prices are in US dollars, excluding tax. Payments are handled by Polar, the merchant of record.

When a licence expires: Pro keeps working. Every feature stays on; only updates stop until you renew.

Refunds are covered by the refund policy.

Getting started

  • Try it first: the Demo page starts a real WordPress site in the browser, with WordPress Playground, with Modal Kit already set up and the visitor signed in as the administrator. The free demo has every free starter on a page of its own; the Pro demo adds Pro’s starters and features and a WooCommerce store. No download, account or licence key is needed, and reloading starts a fresh site.
  • The free plugin: download Modal Kit, then in WordPress go to Plugins → Add New Plugin → Upload Plugin and choose the zip. Searching in WordPress won’t find it.
  • Modal Kit Pro: choose a plan on Pricing, download Pro and copy the licence key from the customer portal, then activate the key in Modal Kit → Settings → License. Keys start with MODALKIT-.
  • Updates: both plugins update from our package server, packages.cocartheadless.com, and show in Dashboard → Updates like any plugin. Modal Kit needs no licence key; Pro updates need an active licence. Every update is signed and refused if the signature doesn’t check out. See Updates in the Docs.
  • Help: the form on the support page, for the free plugin and Pro. Pro customers are answered first. There is no forum.

What Modal Kit isn’t

  • It isn’t a page-builder add-on. Modals are built in the block editor and show on any page, whatever built that page.
  • It isn’t a hosted service. The free plugin needs no account, and the WordPress site stores and shows its own modals.
  • It doesn’t limit how many modals a site has or how often they’re seen.
  • It doesn’t set cookies.

Questions and answers

Getting started

What is Modal Kit?

A WordPress plugin for modals and popups that you build in the block editor. Each modal is one Modal block with ordinary core blocks inside, shown with the browser’s own dialog element. The free plugin covers layouts, triggers and display rules; Modal Kit Pro is a paid add-on for forms, games, WooCommerce and more. Overview

What do I need to run it?

WordPress 6.8 or later and PHP 7.4 or later. Modal Kit Pro needs the free plugin installed and active, and its WooCommerce features need WordPress 7.0 or later, as the current WooCommerce does.

Will it match my theme?

Yes. Modals are built from core blocks and use your theme.json colours, fonts and spacing presets, including style variations. It’s designed around block themes like Ollie, and works with classic themes too.

How do I make my first modal?

Go to Modal Kit → Add New Modal. Choose a starter or start blank, edit the content like any page, then set when it opens in the Triggers panel and where and how often in Display rules, both in the Modal tab of the sidebar. Publish, and it’s live. Getting started in the docs

How can I check a modal without waiting for its rules?

Add ?modal=preview to a page’s address while you’re logged in as an editor: the modal opens straight away, whatever its rules say. To test frequency rules again, use Settings → Tools → Reset “already seen” for my browser.

Do I need an account anywhere?

Not for the free plugin. Pro needs a licence key, which turns on its updates.

Free, Pro and pricing

Do I need Pro?

Not for most sites. Free has every one of the nine layouts, every trigger, the display rules, six styles with import and export, and starter templates, with no limit on modals or views. Pro adds forms and email services, multi-step modals, A/B testing, the Style editor, games, Results, WooCommerce, audience rules, the age gate, teasers, motion and eight template collections. Compare Free and Pro

How much is Pro?

Personal is $99 a year, or $249 once, for one site. Pro is $199 a year, or $499 once, for five sites. Agency is $399 a year for 50 seats, for people who build sites for others. The Founder’s License is $1,999 once for unlimited sites, with lifetime updates and support. Pricing

What happens if my licence expires?

Pro keeps working. Every feature stays on; only updates stop until you renew.

Can I move my licence to another site?

Yes. Each key has a site limit, so deactivate it on the old site, then activate it on the new one. If a live site moves to a new address first, Pro frees the site its old address used and pauses updates until you press Reactivate license there. A staging copy leaves the original alone. Activate Pro

Do staging and local sites use up one of my sites?

No. On a staging or local site, Pro checks your key without activating it, and updates work as usual. When the site goes live, Pro activates the key at its next daily check, or as soon as you open the License tab. Activate Pro

Where do Modal Kit’s updates come from?

From us, not WordPress.org. Modal Kit updates from our package server, packages.cocartheadless.com, with no licence key. Updates appear in Dashboard → Updates like any plugin’s, and each one is signed and refused if the signature doesn’t check out. On Modal Kit → Settings → Updates you can install them automatically, choose a release channel, pause them or roll back. Updates

How do Pro updates reach my site?

With an active licence, they appear in Plugins like any other update. Pro checks each package’s signature before installing it, and refuses one we didn’t sign. On the License tab you can install updates automatically, choose a release channel, pause updates or roll back. To look straight away, use Check again on Dashboard → Updates.

Can I see what’s changed between versions?

Every release of Free and Pro is posted on the blog, with what changed. Releases

Building modals

Which editor do I use?

The block editor. Each modal is its own post under Modal Kit → All Modals. It shows on any page it targets, whatever built that page, because it’s printed at the end of the page.

Which layouts are there?

Nine in the free plugin: centered, corner, bar, full screen, drawer, split, sheet, inline and video. Pro adds the age gate. On phones a layout can switch automatically, to a bottom sheet or to full screen.

What are the fixed styles?

Besides Native (the default), Soft and Editorial, which follow your theme, there are three styles with their own look: Fieldnote, Harbor and Night. Each can take your theme’s primary colour or an accent you pick, and their fonts are served from your own site, never from Google Fonts. All three are free.

How does the Style editor suggest a colour?

When a colour is hard to read against another, the editor keeps its hue and saturation and changes only how light or dark it is, a 1% step at a time in both directions, and offers the first colour that reaches the contrast needed against every colour it clashes with: 4.5:1 for text, 3:1 for field borders (the WCAG 2 contrast formula, with a small margin). So the suggestion is the closest colour of the same tint that passes, not the most contrasting one. If no lightness gets there, there’s no suggestion. It’s only a suggestion: you can keep your colour and save.

Can I make my own style?

Import one from a .json file in the free plugin. With Pro, the Style editor on Settings → Styles makes a new style or changes yours: colours, fonts, corners and shadow, with a live preview, undo and redo. When text would be hard to read, it suggests a colour that fixes it. How styles work

How many templates are there?

58 in all: seven starters in the free plugin, and eight Pro collections (Studio, Shop, SaaS & apps, Events, Nonprofit, Seasonal, Games and Popups). Templates use your theme’s colour and font presets, never hard-coded colours. Browse the templates

Can a modal play a video?

Yes: use the video layout, or point a video link at the lightbox. YouTube and Vimeo only load when the modal opens and the visitor presses Play, by default.

What’s the difference between Motion and Entrance?

Both are in Pro. Motion animates the whole modal as it opens: set the open animation and its duration in the Modal tab, and stagger the blocks inside so they appear one after another. Entrance animates one block: select it to choose its effect, delay and duration, such as a heading’s words rising before a button fades in. Visitors who ask for reduced motion skip both. Motion in the docs

Can I copy modals to another site?

Yes. Settings → Tools exports your modals and imports them on another site. It’s in the free plugin.

Triggers and display rules

What can open a modal?

Page load (with a delay), scroll depth, leaving the page, time on site, inactivity, a URL hash or query, or an element coming into view, plus any link or button pointed at it with #modal-name or ?modal=name. Pro adds shop triggers such as an item added to the cart or a cart total.

Does “leaving the page” work on phones?

Phones have no mouse to leave the window with, so for touch devices you choose: open on a fast scroll up, or don’t open.

How do I choose which pages show a modal?

Entire site, only these pages, or everywhere except some. Pick pages by name or type paths such as /shop/*, and limit it to post types. This is decided on your site as each page is built.

How often will visitors see it?

Once per visit, once every few days (counted from when they close it), or every time. You can also stop it after the visitor clicks a button, and cap it at a number of times in total. Only times it opened by itself count: a link or button always opens it.

Can I show a modal only on some devices or browsers?

Yes. Devices are desktop, tablet and mobile, by screen width. Browsers are Chrome, Safari, Firefox, Edge, Opera, Samsung Internet, in-app browsers (Facebook, Instagram, TikTok and similar) and others, read in the visitor’s browser. Brave counts as Chrome.

Can I wait until a visitor’s second or third visit?

Yes, with Pro: Who sees it → Returning visitors → After at least so many visits. A visit (or session) ends after 30 minutes without a page view.

How do I stop modals piling up?

Settings sets how many modals may open by themselves on one page view (one by default) and a pause between them (20 seconds by default). Modals opened from links are never limited.

Can I hide modals from logged-in users or some roles?

Yes: each modal can hide from logged-in users, and Settings can leave out chosen roles, such as administrators and editors.

Can I schedule a modal?

Yes. Start and end dates are free and checked in the visitor’s browser. Pro adds days of the week and times of day, in your site’s time zone.

Why isn’t my modal showing?

Usually a rule is doing its job: you’ve already seen it, another modal used the page’s limit, or the schedule, device or pages don’t match. Try ?modal=preview, or reset “already seen” in Settings → Tools. Editing a modal also resets what visitors have seen.

Forms and email services

Which email services does Pro work with?

Kit (formerly ConvertKit), Mailchimp, MailerLite, Brevo, HubSpot, GetResponse, Constant Contact, Keap (formerly Infusionsoft), Emma, MailPoet, FluentCRM, WPForms, and webhooks for Zapier, Make or n8n. Integrations

What about AWeber?

AWeber isn’t connected directly; send entries to it with a webhook through Zapier or Make.

Which ones work on a static export?

Kit, Mailchimp, MailerLite, Brevo and HubSpot: the visitor’s browser posts straight to their public form address. GetResponse, Constant Contact, Keap, Emma, MailPoet, FluentCRM and WPForms need live WordPress, because your site sends the entry. Static sites

Are my API keys safe?

They stay in WordPress and are only shown masked in Settings. Visitors’ pages only ever contain the public form address a service’s own embed code would show.

Which fields can a form have?

Email, text, checkbox and select fields, plus hidden values such as the modal’s name or the page address. A checkbox can add a tag when it’s ticked.

How do I check a form reaches my list?

Use “Send a test submission” in the Form block’s Also send to panel. It sends a test entry with your own email address.

Does double opt-in work?

Each service’s own setting applies: Kit’s double opt-in, your GetResponse list’s setting, Emma’s confirmation, Constant Contact’s confirmed opt-in, MailPoet’s sign-up confirmation. FluentCRM sends its double opt-in email to new contacts.

What does Modal Kit keep from a sign-up?

Only whether it was delivered, in the Submissions log, kept for 7, 30 or 90 days. Never email addresses or form contents. A webhook your site couldn’t deliver keeps its data for 24 hours so you can retry it. Privacy

Can a sign-up lead to more steps?

Yes. Pro’s multi-step modals run offer → email → thank you in one modal, and after a sign-up a form can show a message, go to a step, go to a page or close.

Bot checks

Which bot checks can I use?

Cloudflare Turnstile, hCaptcha, and Google reCAPTCHA v2 or v3. Choose one for the whole site; keys are kept for each, so switching back needs no re-entry. Forms also get a hidden honeypot field by default.

What does Strict mean?

On by default. A protected form never prints the service’s address, so bots can’t post there directly, which means it needs live WordPress. Turn it off and a static export posts directly, guarded by the honeypot only.

Can a discount code wait for a real sign-up?

Yes. Set a Copy code button to “Send the code from the site”: the page doesn’t contain the code, and your site sends it back once the sign-up and the bot check pass.

Games and coupons

Which games are there?

Prize wheel (spin to win), scratch card, pick a gift and slot reel, each with up to 12 prizes and the chance you set for each. Games

Are the odds fair?

The draw is checked against your chances over 100,000 plays in the test suite. The wheel never stops on a line, and a losing slot shows three different symbols rather than a near miss.

Can people play again and again?

No. It’s one play per visitor, or one per email address, checked by your site. In the same browser, coming back shows the result they already had. In a new browser, a game drawn on your site says they’ve already played, without the prize or code.

How do coupons work?

Games can create single-use WooCommerce coupons that expire after the hours you set (48 by default, up to a year). When the game asks for an email, the coupon is tied to that address and emailed there rather than shown. Otherwise, winners can apply it to their cart straight from the game.

Can someone abuse a coupon game?

Each game makes up to 100 coupons a day, or the number you set, so there’s a limit to what it can give away. Plays are limited per visitor, and only store managers and administrators can change coupon prizes. Turn on the bot check to keep scripts from using up the daily coupons.

Do games work on a static export?

Games with fixed codes or messages do: they’re drawn in the browser. Unique coupons, one play per email and the bot check need your site, which draws the prize and makes the coupon.

WooCommerce

What does Pro do for WooCommerce?

Quick view on product cards, an added-to-cart drawer with progress to free shipping and cross-sells, offers that add a product or bundle and apply a coupon, and triggers and rules based on the cart, shop pages and stock. Compatible with order storage (HPOS) and the Cart and Checkout blocks. WooCommerce features

Does the WooCommerce support work on a static export?

No. A cart needs a live store. On an export, add-to-cart, coupon and checkout buttons follow their plain links, Quick view links to the product page, and cart triggers stay off.

Results and analytics

What does Results count?

Views, closes, each modal’s goal (sign-ups, plays, coupons used, videos watched or clicks), and prizes won, as daily totals on your own site, with no cookies, IP addresses or emails. You can leave out logged-in administrators.

Can events go to my analytics?

Yes: Plausible, DataFast, Kobbe and Google Analytics 4, plus a modal-kit:event browser event for your own code. If the service is already on your site, Modal Kit finds it; if not, add its ID and Modal Kit adds it. Analytics

Which events are sent?

modal_shown, modal_closed, modal_converted, game_played and prize_won, with modal and prize names only: never emails or codes. In an A/B test, each also carries its variant (a–d).

Can I A/B test a modal?

Yes, with Pro. Add a variant under the canvas, change its words, style or timing, and publish. Visitors are split in the browser and keep their variant. Modal Kit → A/B Tests shows each variant’s rate, likely range and chance of being the best, and calls a winner only at the end of the test, so an early lucky streak can’t decide it. How to run a test

How do I read an A/B test on a static export?

There’s no site behind the export to count on, so events carry the variant to your analytics tool (modal_converted · variant: b). Enter each variant’s views and conversions, or upload the tool’s CSV, on the A/B Tests page for the same verdict.

Speed and page caches

Will it slow my site down?

Pages without a modal get nothing from Modal Kit. A page with one modal loads about 11 KB gzipped, and each trigger loads only when a modal uses it. There’s no jQuery and no CSS framework. Performance

Does it work with page caches?

Yes. It was tested with WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, WP Fastest Cache, WP-Optimize, Autoptimize, Hummingbird, Breeze, Jetpack Boost, SiteGround Speed Optimizer, A2 Optimized WP and Cache Enabler, with the CDNs of W3 Total Cache and Breeze. Opening a modal never asks WordPress for anything. Cache plugin tests

My modal waits until I move the mouse. Why?

A “delay JavaScript” setting holds scripts until the visitor’s first move or tap. Links still open modals straight away. To open automatic modals on time, exclude /content/modules/modal-kit from delay in WP Rocket or WP-Optimize; the path covers Pro too. Settings tips

Does SiteGround’s “Combine JavaScript” break it?

Modal Kit tells SiteGround Speed Optimizer to leave its scripts alone, with nothing for you to set.

Do country rules work with caching?

A modal that targets countries is decided for each visitor, so your cache must vary by country or skip those pages. The modal’s Country panel says so when it applies.

Static sites

Does it work with Simply Static or other static exports?

Yes. Triggers, frequency, devices, browsers and schedules run in the visitor’s browser, and Modal Kit adds its own files to a Simply Static export with no settings. Which pages show a modal is decided when each page is exported, so export again after changing it. Static sites, feature by feature

What about other exporters?

Include the modal-kit/build/runtime folder in the export, since modals load their triggers from it. With Pro, turn off Results counting during the export with the modal_kit_pro_results_count filter.

Do links to a modal work without JavaScript?

Yes. A #modal-name link shows the modal with CSS alone if scripts are blocked or haven’t loaded yet.

Accessibility

Is it accessible?

Modals use the native dialog element. Focus moves to the heading when one opens and back to whatever opened it when it closes, the page behind can’t be reached, and Esc closes it. The close button is at least 44 pixels, reduced-motion settings get a fade only, and the fixed styles’ colours are checked for 4.5:1 contrast. Accessibility

What’s still up to me?

Your content: clear headings, useful link and button text, alt text for images, and enough contrast if you pick your own colours. Settings → Accessibility holds the options that affect every modal.

Privacy and GDPR

Can I export or erase what Pro holds about someone?

Yes. Pro works with WordPress’s Export Personal Data and Erase Personal Data tools. They cover game coupons tied to an email address, game plays, and entries waiting for a webhook retry. Your email service holds your subscribers, so ask it for those.

Does Modal Kit set cookies?

No. Pro’s cookie rule only reads a cookie your site already sets, and the WooCommerce rules read WooCommerce’s own cart cookie.

What does it keep in the visitor’s browser?

localStorage keys that start with modal-kit:, such as the current visit, which modals were seen and how often, and, with Pro, a visit count, game results, age gate answers, teaser state and A/B test variants. They’re never sent with a request, and clearing site data removes them. Every key, explained

What does it keep on my site?

The free plugin keeps your modals and settings, nothing about visitors. Pro keeps daily Results totals, delivery statuses for sign-ups, salted hashes of game plays, and prize coupons tied to the winner’s email when the game asks for one.

Does it contact other services?

Only for features you use: YouTube or Vimeo when a visitor plays a video, the bot check’s script when a protected form scrolls into view, analytics you connect, and the email service a form sends to.

What happens to my data if I delete the plugin?

Settings → Tools has a switch to delete all modals and settings when the plugin is deleted. It’s off by default, so deactivating or reinstalling never loses work.

Developers

Can I extend it with code?

Yes: 37 PHP hooks, 10 editor filters and browser events, all listed with their arguments on the Developers page. Developers

How do I open a modal from my own script?

Set location.hash to #modal-name, or dispatch modal-kit:request-open on the dialog once it has data-modal-kit-ready. Rules still apply unless the source is a link. Browser events

Can I add my own email service?

Yes, with Pro: register a provider through the modal_kit_pro_providers filter. The Developers page has an example.

Support

Does it work on a multisite network?

Yes. Each site keeps its own modals, settings and data, and chooses for itself whether deleting the plugin removes them. With Pro, activate your licence on the main site. Multisite networks

Who can create and publish modals?

Authors and Contributors can draft them, and Editors and Administrators publish. With Pro, only store managers and administrators can change coupon prizes, and only administrators can change webhook addresses. Who can do what

Where do I get help with the free plugin?

Through the form on our support page. Pro customers are answered first, and there’s no forum. Support

Where do I get help with Pro?

Pro comes with priority support through the form on our support page. Include your licence key and site details so we can help quickly. Support

How do I report a security issue?

Privately, through the form on the support page, never in public. Support

Is there documentation?

Yes, from setting up your first modal to every setting and the developer reference. Docs