---
title: "Modal Kit Docs – WordPress Popup Plugin Guides"
description: "Step-by-step guides for Modal Kit and Pro: setup, triggers, display rules, styles, forms, games, WooCommerce, A/B tests, caching and static exports."
language: "en-US"
canonical_url: "https://modalkitwp.com/docs/"
source_url: "https://modalkitwp.com/docs/"
content_type: "text/markdown"
---

Docs

# Set it up, *step by step*.

Short guides for site owners, using the same names you’ll see on screen. Modal Kit needs WordPress 6.8 or later and PHP 7.4 or later; Pro needs the free plugin active.

[**Install and set up**](https://modalkitwp.com/docs/install/)

The wizard, then your first modal in a few minutes.

[**Choose when it opens**](https://modalkitwp.com/docs/triggers/)

Triggers, links and display rules.

[**Connect your email service**](https://modalkitwp.com/docs/email-services/)

Pro forms and the 13 places they can send to.


		Search the docs




## Get started

[**Install and set up**](https://modalkitwp.com/docs/install/)

The setup wizard opens once, right after you activate Modal Kit, and only changes the settings you confirm.

The setup wizard opens once, right after you activate Modal Kit, and only changes the settings you confirm. Download modal-kit.zip. In WordPress, go to Plugins → Add New Plugin → Upload Plugin and pick the zip. Install it, then Activate. The wizard, Let’s set up Modal Kit, starts with What will you use modals for? Pick one or more uses; they decide which starters it suggests. Under Pick a starting look, choose a Style and what happens On phones: Use bottom sheets or Same as desktop. Under How polite should modals be?, set Auto-opening modals per page and how long to wait After someone closes a modal. Under Create your first modal, pick a starter, or Start blank, then press Create and open in editor. Changed your mind? Skip setup leaves everything as it is, and Modal Kit → Settings → Tools → Run setup again brings the wizard back.

[**Build your first modal**](https://modalkitwp.com/docs/first-modal/)

A modal is one block, the Modal block, with ordinary blocks inside: headings, paragraphs, images, buttons. They take your theme’s colours and fonts.

A modal is one block, the Modal block, with ordinary blocks inside: headings, paragraphs, images, buttons. They take your theme’s colours and fonts. Go to Modal Kit → Add New Modal. In Choose a starter, filter by type or layout and press Use “…” on the one you like, or Start blank. Change template in the block toolbar swaps it later. Edit the content like any page. Everything inside is a core block, so the tools you know all work. Select the Modal block. In the sidebar, set Layout and Position, what it does On mobile, its Size, how it closes under Closing (Close button (×), Esc key, Click outside) and its Animation. Open the block’s Styles tab to pick a style and set the Overlay. Publish, then choose when it opens. The canvas shows the modal over your site. Backdrop in the toolbar switches between Site preview and Plain. Layouts: Center, Corner, Bar, Full, Drawer, Split, Sheet, Inline and Video. Each has its own positions, such as Bottom right for a corner.

[**Defaults for new modals**](https://modalkitwp.com/docs/defaults/)

Set the layout, mobile behaviour, size, style, overlay, close button and animation every new Modal Kit modal starts with.

Set the starting point once, so every new modal begins the way you like. Go to Modal Kit → Settings → Display. Under Defaults for new modals, choose the Layout, On mobile, Size, Style, Overlay, Close button and Animation. The preview shows them on Desktop and Mobile. Under Advanced, the Mobile breakpoint decides when the mobile layout takes over, and Stacking (z-index) keeps modals above sticky headers.

[**Who can do what**](https://modalkitwp.com/docs/who-can-do-what/)

A live modal can appear on every page, so publishing one takes more trust than writing a post. Here’s what each role can do.

A live modal can appear on every page, so publishing one takes more trust than writing a post. Here’s what each role can do. Authors and Contributors can draft modals, then an Editor publishes them. Editors can publish, change and delete any modal, and preview it with ?modal=preview. Administrators can do all of that, and open Settings and Submissions. With Pro, adding or changing a coupon prize takes a store manager or an administrator. That covers its discount, chance and expiry, and the game’s Coupons per day, at most. With Pro, adding or changing a webhook address takes an administrator, because that address receives your visitors’ details. With Pro, Editors and above can choose email lists and press Send a test submission. Sales figures in Results need access to WooCommerce’s reports. If someone without the right role changes a coupon or a webhook address, WordPress refuses the save and says why. They can still edit everything else in the modal, and can remove either one. Developers can change who edits modals with the modal_kit_post_type_capabilities filter.

## Opening and showing

[**Choose when it opens**](https://modalkitwp.com/docs/triggers/)

Triggers open a modal by themselves. A link or button always opens it too, with no trigger needed.

Triggers open a modal by themselves. A link or button always opens it too, with no trigger needed. In the editor sidebar, open the Modal tab and find Triggers. Press Add trigger and pick one: Page load + delay, Scroll depth, Leaving the page, Time on site, Inactivity, URL hash or query or Element in view. Fill in its option, such as Seconds or Percent of the page. Leaving the page has an On touch devices choice: Fast scroll up or Don’t open. Add more triggers if you like: whichever fires first opens the modal. Link or button click is listed as Always on: copy the address under Link any block to this address and use it as any link’s URL. Display rules and the site-wide limits apply to triggers, never to links.

[**Open it from a link or button**](https://modalkitwp.com/docs/open-from-a-link/)

Every modal has an address. Links open it straight away, and still work with JavaScript turned off.

Every modal has an address. Links open it straight away, and still work with JavaScript turned off. Link any text, button or image to #modal-your-slug, or add ?modal=your-slug to a page address (handy in emails). To use only one of the two, or change the modal- part, go to Modal Kit → Settings → General and set Modal links and Link prefix. For buttons inside a modal, select the button and use its Action panel. When clicked offers Open link, Close modal and Copy text; Pro adds Submit form, Next / previous step, Go to step, Add to cart and Apply coupon / go to checkout.

[**Decide where and how often**](https://modalkitwp.com/docs/display-rules/)

Display rules live in the Display rules panel of the Modal tab. Page targeting is settled when the page is built; the rest is checked in the visitor’s browser.

Display rules live in the Display rules panel of the Modal tab. Page targeting is settled when the page is built; the rest is checked in the visitor’s browser. Show on: Entire site, Only these pages or Everywhere except. Type to find pages by title, or enter paths such as /shop/*. Frequency: Once per visit, Once every few days (set the Days) or Every time. Tick Stop after the visitor clicks a button to stop once they act. At most this many times in total caps how often it opens by itself; 0 means no limit, and links don’t count. Devices: Desktop, Tablet and Mobile. Browsers: All browsers, Only these or All except these, including in-app browsers such as Facebook’s and Instagram’s. Schedule: a Start and End date and time. Visitors: Hide for logged-in users, and Only after this many page views. A visit ends after 30 minutes without a page view. Editing a modal starts its frequency over, so everyone sees the new version. Pro adds new or returning visitors, referrer, cookie, country, and days of the week and time of day.

[**Limits across all modals**](https://modalkitwp.com/docs/limits/)

Cap how many Modal Kit modals open by themselves on one page view, the pause between them, and who never sees them.

Keep several modals from crowding a visitor. Go to Modal Kit → Settings → General → Frequency across all modals. Auto-open limit: how many modals may open by themselves on one page view. Cool-down: the pause between two modals opening by themselves. Remember dismissals: In the browser (localStorage, no cookies), or Don’t remember (show every time). Don’t show to: roles that never see modals, such as Administrator.

[**Test what visitors see**](https://modalkitwp.com/docs/test-what-visitors-see/)

Preview a modal past its rules with ?modal=preview, reset what your browser has seen, and use debug mode to see why a modal didn’t open.

Rules and memory can hide a modal from you while you work. Three tools help. Add ?modal=preview to a page address while logged in: every rule is skipped, so the modal opens as its triggers say. Go to Modal Kit → Settings → Tools and press Reset “already seen” for my browser to be a first-time visitor again. Turn on Debug mode (Log why each modal did or didn’t open) in the same tab. Open the browser console: each message starts with [modal-kit] and says which rule held a modal back. Only administrators see it. Turn a modal off without deleting it with the On / off switch in the All Modals list.

## Look and feel

[**Styles**](https://modalkitwp.com/docs/styles/)

Three styles follow your theme; three more bring their own look. You can import more, and export yours to use on another site.

Three styles follow your theme; three more bring their own look. You can import more, and export yours to use on another site. Select the Modal block and open its Styles tab. Each style is a tile drawn in its own colours, fonts and corners. Hover a tile, or move through them with the arrow keys, to preview it on the canvas. Click or press Enter to apply it; move away or press Esc to go back. Native (the default), Soft and Editorial follow your theme; Fieldnote, Harbor and Night bring their own colours and fonts. With a style that brings its own look, Accent (Style, Theme primary or Custom) and Fonts (Style fonts or Theme fonts) appear under the tiles. To use a style from a .json file, open the ⋮ menu and choose Import style…. Modal Kit checks it first: missing colours come from Fieldnote, anything that isn’t a colour or size is dropped, and text that may be hard to read is pointed out (you can still import it). Manage every style in Settings → Styles: export one as .json or several as .zip (with their font files if you like), duplicate a built-in style, or delete one of yours. Deleting a style in use asks which style those modals switch to. With Pro, Settings → Styles also has the Style editor: New style starts from Fieldnote, Edit changes one of yours and Edit a copy starts from a built-in style. Change the colours, fonts, corners and shadow, and watch the preview (centred or full screen, desktop or phone, light or dark page). Renaming a style also renames its export file and class, and the modals that use it follow. Once you’ve picked a colour, one that’s hard to read against another says so and offers the closest colour of the same tint that passes (Use #…); it’s a suggestion, so you can still save. Undo and Redo (Ctrl+Z, Ctrl+Shift+Z) step through your changes. Modals that use the style change as soon as you save. To change the style new modals start with, go to Settings → Display → Style. With seven or more styles, a search box appears above the tiles. The fixed styles’ fonts are served from your site, never from Google Fonts.

[**Accessibility**](https://modalkitwp.com/docs/accessibility/)

Focus handling, the inert page behind, Esc to close and large tap targets are always on. These settings fine-tune the rest.

Focus handling, the inert page behind, Esc to close and large tap targets are always on. These settings fine-tune the rest. Go to Modal Kit → Settings → Accessibility. Under Defaults for every modal, set the Accessible name, where Focus when opened lands (The heading, The first button or The close button) and the Close button label. Keep Page behind: Make it inert while open on so keyboard and screen-reader users stay in the modal. Under Motion & timing, choose what Reduced motion does: Use a simple fade (recommended) or No animation at all. Auto-close stays off unless you allow it; visitors then get a pause button. To change one modal, use the Accessibility panel in its Modal tab. Reset to defaults undoes the changes.

[**Video**](https://modalkitwp.com/docs/video/)

Play YouTube, Vimeo or your own video in a modal, or in a lightbox from any button or image, with click-to-load privacy.

Play a video in a modal, or in a lightbox straight from a button or image. In a modal, add a Video or Embed block (YouTube or Vimeo). The Video panel appears in the Modal tab. The Video layout suits a modal that is only the video. In the Video panel, set the Aspect ratio, Autoplay when opened (muted), Resume where they left off, Close when the video ends and when to Load video. Under Privacy, keep Use youtube-nocookie.com on, and set the Click-to-load message visitors see before anything loads from the video service. No modal needed: select a Button, Image or Cover, open Video lightbox, paste the Video address and turn on Play in video lightbox.

[**Move modals between sites**](https://modalkitwp.com/docs/move-modals-between-sites/)

Export modals and settings from one WordPress site as a .json file and import them on another, with the free plugin.

Export and import are in the free plugin. On the old site, go to Modal Kit → Settings → Tools → Export. Choose the modals, tick Include settings if you want them, and press Download .json. On the new site, go to the same tab’s Import and drop the file in. Tick Replace modals with the same slug to overwrite matching ones. Under Uninstall, Delete all modals and settings when the plugin is deleted is off by default, so deactivating or reinstalling never loses your work.

## Pro and forms

[**Activate Pro**](https://modalkitwp.com/docs/activate-pro/)

PRO

Install Modal Kit Pro, activate your licence key, and choose a release channel, pause updates or roll back.

Pro is a second plugin that needs the free one active. Install and activate Modal Kit Pro from Plugins → Add New Plugin → Upload Plugin. Go to Modal Kit → Settings → License, paste your License key and press Activate. The same tab shows Updates: choose a Release channel, Pause updates, or Roll back to an earlier version. Customer portal opens your customer portal, where you manage your plan, billing and sites. If your licence lapses, every Pro feature keeps working; only updates stop. On a multisite network, activate the licence on the main site. Every site follows it for updates. Staging and local sites don’t use one of the key’s sites: Pro checks the key there without activating it. A site counts as staging or local when WP_ENVIRONMENT_TYPE is local, development or staging, or when its address is a local one (such as .test) or a host’s staging address. When it goes live, the key is activated at the next daily check, or when you open the License tab. When a live site moves to a new address, Pro frees the site its old address used and pauses updates. Pro keeps working. A notice on your admin screens and the License tab offer Reactivate license, which activates the key at the new address. A live copy of a site does the same, so if the original is still running, reactivate the key there too; a staging copy leaves the original alone. If the key has no sites left, the License tab says Site limit reached. Pro checks each update’s signature before installing it. To look for an update straight away, use Check again on Dashboard → Updates.

[**Add a form**](https://modalkitwp.com/docs/forms/)

PRO

Add a sign-up form to a modal with Modal Kit Pro’s Form block: fields, the email service it sends to, and what happens after submit.

The Form block collects sign-ups inside a modal and sends them to your email service. Add a Form block to the modal. It starts with an email field and a submit button. Add Form field blocks: email, text, checkbox or select. Each has a Field name and Required; a checkbox can Tag when ticked. Select the Form. Under Send to, choose the Service, then its list, form or group, and Add tags where the service has them. Under After submit, choose what happens Then: Replace form with a message, Go to step, Redirect to a page or Close modal. Don’t show this modal again is on by default. Adjust the Validation messages and Hidden fields (the modal and page are filled in for you), then check Field mapping to see what each field is sent as. Connect the service first in Settings → Integrations. Services that aren’t connected are greyed out in the list. Your site checks Required fields, select options and fixed Hidden fields again when an entry comes through it, so a script can’t skip a consent box or change a hidden value.

[**Connect your email service**](https://modalkitwp.com/docs/email-services/)

PRO

Go to Modal Kit → Settings → Integrations, press Connect on the service and fill in what it asks for.

Go to Modal Kit → Settings → Integrations, press Connect on the service and fill in what it asks for. Kit (formerly ConvertKit) Paste your API key from Kit’s developer settings. Pick a Kit form and tags in the Form block. Mailchimp Paste your API key (it ends in the data centre, like -us21). Pick an Audience and tags. MailerLite and Brevo Nothing to connect. In the Form block, paste the Form address from the service’s embedded-form code (the form’s action). HubSpot Create a private app in HubSpot with the forms scope and paste its Private app access token. Pick a HubSpot form; fields go to its fields by name (email, firstname, lastname). Turn off reCAPTCHA on that HubSpot form. GetResponse Paste the API key from GetResponse’s API page. Pick a list and tags; new tag names are created. MAX accounts aren’t supported yet. Constant Contact Create your own app in Constant Contact’s developer portal. Press Connect, copy the Redirect URI into the app, paste its API key and Client secret, then Sign in to Constant Contact and allow access. Keap (formerly Infusionsoft) Create a Service account key in Keap under Settings → API and paste it. Keap has no lists: pick the Tag that starts your campaign. Emma Paste the Account ID, Public API key and Private API key from Emma’s API settings. Pick a Group. Webhook Choose Webhook as the Service and enter a Webhook address (https), or keep your service and add a webhook under Also send to. Works with Zapier, Make and n8n. MailPoet, FluentCRM and WPForms Install and activate the plugin; the row shows Plugin detected. Pick a list (MailPoet, FluentCRM) or a form (WPForms). Kit, Mailchimp, MailerLite, Brevo and HubSpot receive the sign-up straight from the visitor’s browser, so they also work on a static export. The others go through your site and need live WordPress. Lists, forms and tags are cached for ten minutes; connecting again refreshes them.

[**Copy sign-ups to a webhook, and test**](https://modalkitwp.com/docs/webhooks/)

PRO

Copy every Modal Kit Pro form sign-up to Zapier, Make or n8n with a webhook, and send a test submission from the editor.

Send each entry to your service and to Zapier, Make or n8n at the same time. Select the Form and open Also send to. Turn on Webhook (Zapier, Make, n8n) and enter the Webhook address. Press Send a test submission. It sends your own email address to the service, and the panel says where it was delivered. Settings → Integrations → Webhook → Manage lists every webhook address in use and the modals sending to it, and shows this site’s signing secret. Each delivery carries an X-Modal-Kit-Signature header, so your endpoint can check it came from your site and reject anything else. Your site sends the entry, so the address stays out of the page. On a static site, turn on Post from the visitor’s browser on static sites: it puts the address in the page, where anyone can read it, and those posts aren’t signed. Only administrators can add or change a webhook address.

[**Keep bots out**](https://modalkitwp.com/docs/bot-check/)

PRO

Keep bots out of Modal Kit Pro forms and games with Cloudflare Turnstile, hCaptcha or Google reCAPTCHA, on top of the honeypot.

Forms carry a hidden honeypot field by default (Honeypot field). A bot check adds a provider’s test. Go to Settings → Integrations → Bot check → Set up. Choose a Provider: Cloudflare Turnstile, hCaptcha, Google reCAPTCHA v2 (checkbox) or Google reCAPTCHA v3 (invisible). Paste the Site key and Secret key. For reCAPTCHA v3, set the Minimum score (0.5 suits most sites). Decide on Strict. On, protected forms always send through your site, so the check can’t be skipped, but they need live WordPress. Off, a static export posts straight to the service with the honeypot only. In each Form block, open Spam protection and turn on Bot check. Games have the same switch. Forms sent through your site also have limits, with or without a bot check. A form takes 1,000 entries a day, and one email address can be sent 3 times a day across all forms, so nobody can flood your list or someone else’s inbox. A Copy code button set to Send the code from the site only fills in after a delivery succeeds. If any form in the modal has the bot check, a form without it gets no code, and neither does a form whose check can’t run because its keys are missing. The bot check stops scripts, not people: anyone who types an address can still get the code.

[**Check deliveries**](https://modalkitwp.com/docs/submissions/)

PRO

The Submissions log shows whether each sign-up reached its service. It never keeps email addresses or form contents.

The Submissions log shows whether each sign-up reached its service. It never keeps email addresses or form contents. Go to Modal Kit → Submissions. Filter by modal, service or period; Failed lists what didn’t arrive. A webhook your site couldn’t deliver is retried after 30 seconds and 5 minutes. After that, press Retry within 24 hours. Choose how long the log is kept with Keep log for (7, 30 or 90 days). If a service’s error message includes an email address, it’s removed before the message is logged.

## More in Pro

[**Multi-step modals**](https://modalkitwp.com/docs/multi-step/)

PRO

Build an offer → email → thank you flow inside one modal with Modal Kit Pro’s steps, progress markers and transitions.

Offer → email → thank you, inside one modal. Select the Modal block. In the Steps panel, press + Step for each step and give it a name. Under Progress & transition, pick the Progress marker (Bars, Dots, 1/3 or None) and the Transition (Slide, Fade or None). Move between steps with a button’s Action: Next / previous step or Go to step. A Form can go to a step After submit.

[**Games and prizes**](https://modalkitwp.com/docs/games/)

PRO

Add a prize wheel, scratch card, pick-a-gift or slot reel to a modal, with fixed codes or unique WooCommerce coupons as prizes.

Prize wheel, Scratch card, Pick a gift and Slot reel are blocks you add to a modal. Add a game block to the modal. In Prizes, press + Add prize. Give each a Reward: a Fixed code, a Unique WooCommerce coupon (percentage, fixed amount or free shipping, Valid for (hours)), or No prize with a message. Set each Chance; the panel shows when they add up to 100%. Under Play rules, choose One play per: Visitor or Email address. For coupon prizes, set Coupons per day, at most (100 by default). Once a game has made that many, its coupon prizes aren’t available until the next day. Turn on Check visitors before they play for any coupon game. Without a bot check, scripts can keep playing and collect coupons up to the daily limit, so the editor warns you. Results count plays and prizes, and show the orders that used each coupon. With One play per Email address, the code is only emailed, never shown in the game, so nobody can claim a prize by typing someone else’s address. Check that your site can send email. Someone who has already played and comes back in a new browser is told so, without the prize or code. A game by email sends the code to that address again, at most once an hour. Another spelling of the same mailbox counts as the same person: +tags, and dots in Gmail addresses. A game stops when its modal is switched off or past its schedule. Coupons that expire unused are deleted a week later. Only store managers and administrators can add or change coupon prizes.

[**WooCommerce**](https://modalkitwp.com/docs/woocommerce/)

PRO

Product quick view, added-to-cart offers, bundles, cart triggers and exit coupons in WooCommerce modals with Modal Kit Pro.

With WooCommerce active, modals can show products and work with the cart. Start from a shop template: Product quick view, Added to cart drawer, Complete the set, Bundle & save or Cart exit coupon. For quick view, add the Quick view button trigger: it adds the button to product cards, with your Button text. Product source decides the Product shown, or pick A specific product. Cart triggers in Add trigger: Added to cart, Removed from cart, Cart total over… and Product or category in cart. Shop rules limit where it shows (Any store page, Shop page, Product category pages, Product pages), can Hide on out-of-stock products, and check the cart. Offer buttons: set the Action to Add to cart (one product or a bundle) or Apply coupon / go to checkout, then choose what happens Then. The Cart summary block shows the cart. These features need WordPress 7.0 or later, as the current WooCommerce does. The rest of Pro works from WordPress 6.8. A cart needs a live store. On a static export, these buttons become plain links to the live store.

[**Results and analytics**](https://modalkitwp.com/docs/results/)

PRO

Count views, sign-ups, plays and prizes per modal with no cookies, and send the events to Plausible, DataFast, Kobbe or GA4.

See views, sign-ups, plays and prizes per modal, with no cookies, IP addresses or emails. Go to Modal Kit → Settings → Results and keep Count results on this site on. Choose how long to Keep results for. Under Also send events to, turn on Plausible, DataFast, Kobbe or Google Analytics 4. If it’s already on your site, it shows Found on this site; if not, enter its Script ID or domain, Website ID, Site token or Measurement ID and Add script. Developers can listen for the Browser event modal-kit:event. Read the numbers in Modal Kit → Results.

[**A/B testing**](https://modalkitwp.com/docs/ab-testing/)

PRO

Test a modal’s words, style or timing against up to three variants with Modal Kit Pro. Visitors are split in the browser, with no cookies.

Test a modal’s words, style or timing against up to three variants. Visitors are split in the browser, so tests run on static exports too, and a winner is only called at the end. Open the modal and choose + Variant under the canvas. In Start an A/B test, pick what will change, the Goal, the Traffic split, how long to Run for (7, 14 or 28 days), the Certainty needed and what happens When it ends. Create variant B copies A. Edit B on the canvas. Switch between variants with A and B under the canvas; while B is there, the bar says Editing B only and the modal has a dashed frame. Its words, style and trigger are its own: Block → Styles shows Style · Variant B, and picking a style, accent or fonts there changes B only (Use A’s style goes back). The layout, size, closing, overlay, colours and spacing are shared by every variant. In the Modal Kit A/B Test sidebar, give it a Name and, if you like, Its own trigger. Publish the modal: the test starts. The Modal Kit A/B Test sidebar (its icon sits in the top bar, next to Settings) shows the split, what differs and the results so far, with Pause test and End test without a winner. Read the results in Modal Kit → A/B Tests: shown, conversions, rate, the likely range and each variant’s chance of being the best, with a running-total chart and Export CSV. When the test ends, the modal’s author gets an email. With a winner, choose Apply B (B becomes the modal’s only content; the version with every variant stays in its revisions) or Keep A. With no clear winner, Run 7 more days or keep the one you prefer. Turn A/B tests on or off and change the defaults in Settings → A/B Tests: Run A/B tests (off: every modal shows A and nothing is counted per variant), Variants per test, Default certainty needed and Conversions per variant before calling. Editing a running test starts a new round: the clock restarts, and earlier totals stay on the A/B Tests page under Before edit. Each visitor keeps their variant (in localStorage, no cookies). Search engines always see A, and so do logged-in users in the roles listed under Always show A to in Settings → A/B Tests (Administrator unless you change it). On a static export there’s no site to count on: read the variants in your analytics tool (events carry variant), then enter the totals, or upload its CSV, on the A/B Tests page for the verdict.

[**Audience rules**](https://modalkitwp.com/docs/audience-rules/)

PRO

Show a modal to new or returning visitors, by referrer, cookie, country, day of the week or time of day, with Modal Kit Pro.

Three more panels in the Modal tab decide who sees a modal. Who sees it → Visitors: Everyone, New visitors or Returning visitors. For returning visitors, After at least (visits) waits for their 2nd, 3rd or later visit. Came from: any site, search engines, social sites, or a referrer containing some text. Cookie: a cookie your site sets that is set or is not set. Country: only in, or everywhere except, the countries you add. Look up with chooses the source, and If unknown what to do without one. Days and time: the days of the week, and a From and To time in your site’s time zone. A visit ends after 30 minutes without a page view. Country rules need live WordPress or a CDN country header.

[**Age gate, teasers and more blocks**](https://modalkitwp.com/docs/more-pro-blocks/)

PRO

Add an age gate, a teaser tab, countdowns, carousels, reviews and entrance motion to your modals with Modal Kit Pro.

Smaller Pro features, each added from the editor. Age gate: choose the Age gate layout and press Add the age question. Teaser: in the Teaser panel, turn on Show a teaser, a small tab that reopens the modal later. Set its Label, Style (Pill or Edge tab) and Position. Countdown, Carousel (with Slide blocks) and Reviews: add them inside a modal like any block. Motion animates the whole modal: in its Modal tab, set the Open animation and its Duration, and turn on Stagger the blocks inside to bring the blocks in one after another. Entrance animates one block: select it, open Entrance and choose an Effect, its Delay (ms), Duration (ms) and Easing. Headings and paragraphs also have Words rise and Letters fade. Images and Covers get Background motion: Ken Burns zoom and Pointer parallax. ▶ Preview plays it on the canvas. Visitors who ask for reduced motion skip all of it. The modal opens as Reduced motion in Settings → Accessibility says: a simple fade, or no animation.

## Speed and hosting

[**Page caches and speed plugins**](https://modalkitwp.com/docs/caching/)

Modals work with page caches as they are: opening one never asks WordPress for anything. A few settings change the timing.

Modals work with page caches as they are: opening one never asks WordPress for anything. A few settings change the timing. Delay JavaScript (WP Rocket, WP-Optimize) holds modals that open by themselves until the visitor first moves or taps. To open them on time, add /content/modules/modal-kit to the delay exclusions. The path covers Pro too. Remove unused CSS services can drop the styles of a closed modal. In WP Rocket, keep /content/modules/modal-kit and /content/modules/modal-kit-pro stylesheets whole in its safelist. LiteSpeed Cache and Jetpack Boost are told to leave them whole. In Breeze, don’t combine its lazy-load with Delay all JavaScript: its lazy-loader then never starts. Country rules make each visitor’s page differ, so your cache must vary by country or skip those pages. With nothing to set, Modal Kit tells SiteGround Speed Optimizer, LiteSpeed Cache, W3 Total Cache, Breeze, Jetpack Boost, 10Web Booster and NitroPack to leave its scripts and styles alone, and keeps its scripts off their CDNs. Modals wait while a page is prerendered, and on LiteSpeed’s Guest Mode reload, so a visit counts once.

[**Static exports**](https://modalkitwp.com/docs/static-exports/)

Modal Kit works on a site exported with Simply Static: what to know about results, bot checks, A/B tests and page targeting.

Modal Kit works on a site exported with Simply Static, with no settings to change. Export as usual. Modal Kit adds the trigger and video files it loads on demand, which no page links to directly. Results aren’t counted on exported pages; analytics services still are. Using the bot check? Turn Strict off in Settings → Integrations so protected forms can post straight to their service from the export. Using a webhook? Turn on Post from the visitor’s browser on static sites in the form, because there’s no site to send it. This puts the address in the page. A/B tests run on the export too: each visitor gets a variant in their browser. Read each variant in your analytics tool (events carry variant), then enter the totals or upload a CSV on the A/B Tests page for a verdict. Export again after changing page targeting, country rules or reviews: they’re settled when a page is built.

[**Multisite networks**](https://modalkitwp.com/docs/multisite/)

Modal Kit works across a WordPress network, and each site keeps its own modals, settings and data.

Modal Kit works across a WordPress network, and each site keeps its own modals, settings and data. Network activate Modal Kit, or activate it site by site. Network activating Pro needs Modal Kit network active too. Each site has its own modals and settings. With Pro, a new site gets its tables on its first visit. Sites in subfolders of one domain share a browser’s storage, so each one remembers its visitors under its own path. A modal seen on /site2/ still shows on /site3/, and cool-downs and page counts stay separate. With Pro, activate your licence on the main site. WordPress only installs plugin updates from there, so every site follows the main site’s licence and update settings. On other sites the License tab says so, and Pro’s features work as normal. When you delete the plugins from the network, each site is cleaned up by its own Delete all modals and settings when the plugin is deleted switch, so one site can remove its data while another keeps it. Reset “already seen” for my browser only resets the site you’re on. Tested on a subdirectory network, including WooCommerce features and a static export of one site. Subdomain networks haven’t been tested.

[**Sites behind a proxy or CDN**](https://modalkitwp.com/docs/proxies-and-cdns/)

PRO

Pro’s rate limits and one play per visitor go by the visitor’s IP address.

Pro’s rate limits and one play per visitor go by the visitor’s IP address. Behind a proxy or CDN that doesn’t pass it on, every visitor looks like the same person. Most hosts pass the real address on already, so check with yours first. A sign of trouble: a game says everyone has already played, or forms ask people to wait. If it’s needed, name the header your proxy sets in wp-config.php, such as define( ‘MODAL_KIT_PRO_CLIENT_IP_HEADER’, ‘HTTP_CF_CONNECTING_IP’ ); for Cloudflare. Only do this if the proxy always sets that header. Anyone can send it to a site that isn’t behind one, and get round the limits. A whole IPv6 network (/64) counts as one address, because one home or phone is given that many. Developers can use the modal_kit_pro_visitor_address filter for other setups.

## Help

[**Updates**](https://modalkitwp.com/docs/updates/)

How Modal Kit and Modal Kit Pro update: our package server, Pro’s licence, release channels, pausing and rolling back, and what each needs.

Both plugins update from Dashboard → Updates like any other plugin. Version numbers only go up, and every release is posted on the blog with what changed. Modal Kit, the free plugin, updates from our package server, with no licence key. Install Modal Kit updates automatically, on Modal Kit → Settings → Updates, lets it update itself. To try pre-releases of Modal Kit, choose a Release channel on the same tab: Release candidate, Beta or Nightly instead of Stable. If an update causes trouble, Pause updates for up to 52 weeks, or Roll back to an earlier version. Modal Kit Pro updates in Dashboard → Updates while its licence is active. If it can’t, its row in Plugins says why, and a notice tells you when Pro has changed version. Install Pro updates automatically, on Modal Kit → Settings → License, lets it update itself. Pro’s License tab has the same choices for Pro: a Release channel, where Stable is the default and pre-releases need an active licence, Pause updates and Roll back. Modal Kit needs WordPress 6.8 or later and PHP 7.4 or later; Pro’s WooCommerce features need WordPress 7.0. Pro needs Modal Kit active, and checks the version it was tested with. Every update of either plugin is signed, and refused if the signature doesn’t check out. To look for an update straight away, use Check again on Dashboard → Updates. On a multisite network, Modal Kit’s updates are managed on the main site. If your host blocks outgoing requests, allow packages.cocartheadless.com, where both plugins’ updates come from.

[**A modal doesn’t show**](https://modalkitwp.com/docs/troubleshooting/)

A modal isn’t opening? Check it’s on, preview it past its rules, reset your browser’s memory and read the debug messages.

Work through these in order; most cases are the visitor memory or a rule. Check the modal is published and switched on in the On / off column of All Modals. Open the page with ?modal=preview. If it shows now, a rule is holding it back: check Display rules, the Pro rule panels and Settings → General → Frequency across all modals. Press Reset “already seen” for my browser in Settings → Tools: you may have seen it already. Turn on Debug mode and read the [modal-kit] messages in the browser console. Logged in? Hide for logged-in users and Don’t show to hide modals from you on purpose. Clear your page cache after changes, and read Page caches and speed plugins if a modal opens late. With Pro, if a game says everyone has already played or forms ask people to wait, read Sites behind a proxy or CDN.

## More help

Didn’t find it here?

-

1

The **FAQ** answers the common questions.

-

2

Developers: hooks, filters, browser events and REST routes are on the **Developers** page.

-

3

The **Blog** posts every release, with what changed.

-

4

**Support**: the form on modalkitwp.com, for the free plugin and Pro. Pro customers are answered first.

[FAQ →](https://modalkitwp.com/faq/)

[Developers →](https://modalkitwp.com/developers/)

[Blog →](https://modalkitwp.com/blog/)

[Support →](https://modalkitwp.com/support/)

## Still stuck? We’ll help.

[Get support](https://modalkitwp.com/support/)

[Read the FAQ](https://modalkitwp.com/faq/)
