# Popup

* Layout & Content
* Conditions: Apply the popup to specify pages.
* Triggers: What action the user needs to do for the popup to open.
* Advanced Rules: Requirements that have to be met for the popup to open

{% tabs %}
{% tab title="How to Create a Popup Form" %}

## How to Create a Popup Form

<figure><img src="/files/APJHlj5KDlH6hJgqJ9hQ" alt=""><figcaption></figcaption></figure>

* Create forms with WPForms plugin

<figure><img src="/files/QuV9Rmc0oQIvwhRB3fK2" alt=""><figcaption></figcaption></figure>

* Select Popup Type as Subscribe > Select the form you want to display&#x20;

<figure><img src="/files/jzLvi1LnAjkahdfV0WFh" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="How to create Popup Copy Discount Code" %}

## How to create Popup Copy Discount Code

<figure><img src="/files/Dmb5vJ1ziOBoJh8oOMd5" alt=""><figcaption></figcaption></figure>

* Create Coupon Code

<figure><img src="/files/Q0sCUa3czyPLjQBnS5dM" alt=""><figcaption></figcaption></figure>

* Select Popup Type as Give a discount code > Add discount code

<figure><img src="/files/5JT0boGsvxwCC2UljCD8" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="How to create Popup Announcement" %}

## How to create Popup Announcement

<figure><img src="/files/kUfRHJ2LAq6ss7TgnenM" alt=""><figcaption></figcaption></figure>

* Select Popup Type as **Announcement** > Fill in the fields you want: Heading, Description, Content, Image, Button

<figure><img src="/files/Yh7lvX24KwPuhAWM9cDo" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minimog-wp.gitbook.io/minimog-ecommerce-wordpress-theme/theme-options/popup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
