# Create a popup

A popup is an Elementor template that opens on top of a page: a welcome offer, an announcement, a newsletter form. You create it in the Jupiter X Popups library, design it in Elementor, then choose where it may appear (display conditions) and what opens it (triggers).

## Before you start

- **Elementor** must be active. The Popups screen only loads when Elementor is active.
- You need an administrator account to use the **Popups** library in the Jupiter X control panel. Users who are not administrators but can publish posts get a top-level **Jupiter X** menu item that opens the WordPress **Popups** list. If they can also edit other users' posts and pages (the Editor role), that list has an **Add New Popup** button, which creates a draft named **Popup #** plus its ID and opens it in Elementor, and they can set conditions and triggers in the editor.
- A popup only appears on your site when it is **Published** and at least one display condition matches. Draft popups, and popups with no conditions, never show.

## Create and publish a popup

:::steps
### Open the Popups library

Go to **Jupiter X › Popups** and click **Add New** (next to **Import** and **Search popups…**).

![The Popups library with the Add New button highlighted](https://sample-help.artbees.net/media/5490c30c769322e194c9f39a7b496b03298a0bd904838f00f6067dff72f1d6ac.png "Jupiter X › Popups")

### Name the popup

In the **Add New Popup Template** dialog, type a name in **Template Name** (placeholder "Enter popup name…") and click **Create**. The name is only for you: visitors never see it. The field is optional: a popup created without a name is listed as **Untitled Popup**, and you can rename it later with **Rename** in the library. Click **Cancel** to close the dialog without creating anything.

![The Add New Popup Template dialog with a name typed in](https://sample-help.artbees.net/media/de16d0cfcfc6ed1dc0887c76a07dd96e6464617305a75e7ac2dd47c203d6d5bc.png "Name the popup")

The popup is created as a **Draft** and Elementor opens in the same tab.

### Design the popup in Elementor

Build the content like any Elementor page: drag in widgets, add a heading, text, an image, a button or a form. Open the page settings (gear icon) to set the popup's size, position, animation and behaviour. Those settings are listed in the popup layout, style and advanced references (see **Related** below).

To add a close button inside the popup, use the Jupiter X **Button** widget, turn on **Turn to Popup Action Button**, then pick a **Popup Action Type**: **Close Popup** (default), **Close All Popups**, **Close Popup Permanently** or **Close All Popups Permanently**.

### Click Publish

While the popup is a draft, **Publish** does not publish straight away (this happens in both the newer Elementor top bar and the classic panel footer). It opens the **Publish Settings** dialog, which has two tabs on the left:

- **Display Conditions**: "Display this popup on specific pages."
- **Triggers**: "Display this popup based on specific events and user interactions."

![The Publish Settings dialog with its two tabs highlighted](https://sample-help.artbees.net/media/2b6cb3ae874013ca9751ef3ea12433c5e483e53a530043e5a138db4cbe8c8e74.png "Publish Settings")

### Add a display condition

On **Display Conditions**, click **Add Condition**. A new row starts as **Include** with **Entire Site**, which allows the popup on every page. Change it to limit the popup to some pages, or switch **Include** to **Exclude** to keep it off a page. Click **NEXT** to go to the triggers.

Every condition option is explained in the display conditions article.

### Add a trigger and save

On **Triggers**, click **Add Trigger Rule** (a new rule starts as **After Inactivity** with a value of 0), set its value, and click **Save & Close**. This saves the conditions and triggers, and publishes the popup. Only one rule of each trigger type is kept: if you add the same trigger twice, the second one is dropped when you save.

A rule whose value is empty or 0 is ignored on the site, except **On Page Load** and **On Page Exit Intent**. Leaving the new **After Inactivity** rule at 0 therefore has no effect.

If you add more than one rule, choose how they combine in **Logic between triggers**: **Or** (default) opens the popup when any rule passes, **And** needs every rule to pass.

Every trigger is explained in the triggers article.

### Check it on your site

Open a page where the popup should appear in a new tab (not inside the Elementor editor). Popups are never shown inside the Elementor editor.
:::

:::tip Skip the triggers for a click-to-open popup
If a popup should only open from a button or link, set a condition for the pages that contain that button and leave **Triggers** without rules. A popup with no valid trigger is never opened automatically; it opens only when a visitor clicks an element matching the popup's **Open By Selector** setting (popup settings, **Advanced** tab) or a link that uses the **JupiterX Popup** dynamic tag with **Open Popup** or **Toggle Popup**.
:::

## Reference

### Popups library

| Item               | What it does                                                                                                                                                                                                                                                         |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Add New**        | Opens **Add New Popup Template** (see above).                                                                                                                                                                                                                        |
| **Import**         | Imports popups from a `.json` file or a `.zip` of exported Elementor templates (button **Import Now**). The imported popup keeps its content, page settings, display conditions and triggers. If WordPress asks to enable unfiltered file uploads, confirm it first. |
| **Search popups…** | Filters the list by title.                                                                                                                                                                                                                                           |
| Filters            | **All**, **Published**, **Draft**, **Trash**, each with a count.                                                                                                                                                                                                     |
| Columns            | **Title**, **Status**, **Author**, **Display Conditions**, **Triggers** (each a short summary, or **None**), **Published date**, **Last modified**.                                                                                                                  |
| Row actions        | **Edit** (opens the popup in Elementor in a new tab), **Publish** or **Set as Draft**, **Export** (downloads a `.json` file), **Rename**, **Move to Trash**. In **Trash**: **Restore**, **Delete permanently**.                                                      |
| Bulk actions       | **Move to Trash** and **Export**; in Trash, **Restore** and **Delete permanently**.                                                                                                                                                                                  |

### Publish Settings dialog

| Item                       | What it does                                                                                                               |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Display Conditions** tab | Rows of **Include** or **Exclude** rules (heading "Where do you want to display this popup?").                             |
| **Triggers** tab           | Trigger rules plus **Logic between triggers** (heading "When should this popup open?").                                    |
| **NEXT**                   | Moves from **Display Conditions** to **Triggers**.                                                                         |
| **Save & Close**           | Saves conditions and triggers. When the dialog was opened by clicking **Publish** on a draft, it also publishes the popup. |
| Close (**×**)              | Closes the dialog without saving.                                                                                          |

You can reopen the dialog later: in the editor, open the arrow next to the **Publish** button and choose **Display Conditions** or **Triggers**. The library's **Display Conditions** and **Triggers** columns show what is saved.

## Behind the scenes

- A popup is stored as a WordPress post of type `jupiterx-popups`. Its conditions and triggers are saved with the popup.
- Several popups can match the same page. All of them are added to the page, ordered from the most specific matching condition to the most general (**Entire Site** comes last).
- Once published, move a popup back with **Set as Draft** in the library to stop it showing without deleting it.

## Troubleshooting

:::faq
### My popup does not show on the site

Check, in order: the popup is **Published** (not **Draft**); it has at least one **Include** condition that matches the page and no **Exclude** condition that matches; its trigger has a value (a trigger with an empty or 0 value is ignored, except **On Page Load** and **On Page Exit Intent**); you are not viewing it inside the Elementor editor; Elementor's maintenance mode is not active for you (popups are not added while it is); and, if **Show Once** or a permanent close was used, the browser has not remembered it (clear the site's local storage to test again).

### Clicking Publish opens a dialog instead of publishing

That is expected for a draft popup: you set its conditions and triggers first, and **Save & Close** publishes it.

### I cannot find Popups in the Jupiter X menu

Popups need Elementor to be active, and the screen can be hidden by a white-label setting.
:::

## Related

:::cards{cols=2}
- [Popup layout settings](docs:search?q=popup%20layout%20settings) icon=open-book — size, position, animation.
- [Popup display conditions](docs:search?q=popup%20display%20conditions) icon=open-book — where a popup may appear.
- [Popup triggers](docs:search?q=popup%20triggers) icon=open-book — what opens a popup.
- [Manage popups](docs:search?q=manage%20popups) icon=open-book — rename, export, import, trash.
:::
