=== EmailFig ===
Contributors: emailfig
Tags: Newsletter, Email Marketing, Signup Form, Popup Forms
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 2.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your EmailFig signup forms and popups to your site, and a subscribe checkbox to your comment, registration and contact forms.

== Description ==

Grow your email list from WordPress with the signup forms you build in [EmailFig](https://emailfig.com).

Connect your account with an API key, then put your forms on your site along with subscribe checkboxes.

= Signup forms and popups =

* Add a form with the EmailFig form block.
* Or paste its `[emailfig_form]` shortcode, which works in Elementor, Divi, Beaver Builder and other page builders.
* Show a form above or below every post or page automatically, and change it or turn it off on any single post.

= Subscribe checkboxes =

Let people join your list while they comment, register or get in touch. Supported forms:

* WordPress forms
* Contact Form 7
* WPForms

Tag subscribers by the form they came from, and save extra answers, such as a company name, to your EmailFig custom fields.

= What is EmailFig? =

EmailFig is an email marketing service for newsletters and automated emails, free for up to 4,000 contacts. This plugin needs an account: [sign up at emailfig.com](https://emailfig.com).

== External services ==

This plugin connects to EmailFig (https://emailfig.com) to list your forms and to add subscribers. Every request from your server carries your API key, and the plugin, WordPress and PHP versions.

* **When you use the plugin's settings or the block editor**: your server reads your EmailFig account, forms, lists and custom fields. It reads your custom fields again once a day in the background. Showing a page to a visitor makes no request from your server.
* **When a visitor ticks a subscribe checkbox and sends the form** (for a comment, once it is approved): your server sends their email address, their name and any answers you mapped to EmailFig custom fields, the list and tags you chose, which form they used, their IP address and the time.
* **On pages with an EmailFig form or popup**: the visitor's browser loads the form from EmailFig, and sends what they type into it to EmailFig. EmailFig forms show a small "Powered by EmailFig" link, which paid plans can turn off.

EmailFig terms of service: https://emailfig.com/terms
EmailFig privacy policy: https://emailfig.com/privacy

== Installation ==

1. Install and activate the plugin.
2. In EmailFig, go to Settings → API keys and create a key.
3. In WordPress, open EmailFig in the menu and paste the key.
4. Add a form with the EmailFig form block, or set up checkboxes on the Subscribe checkboxes tab.

== Frequently Asked Questions ==

= Will this slow my site down? =

No. Your server never calls EmailFig while showing a page. Forms load in the visitor's browser, so a slow or unreachable EmailFig can't slow down or break a page.

= How do I add the checkbox to Contact Form 7 or WPForms? =

Turn it on under Subscribe checkboxes, then add it to each form that should ask. In Contact Form 7, put `[emailfig_subscribe]` in the form. In WPForms, add a Checkboxes field and give it the CSS class `emailfig-subscribe`. The comment and registration forms need no extra step.

= Can I save other form fields, like a company name? =

Yes, from Contact Form 7 and WPForms. Add a custom field in EmailFig, such as Company, then name the Contact Form 7 field `emailfig-company`, or give the WPForms field that CSS class. The Subscribe checkboxes tab lists the name for each of your custom fields.

= What happens if EmailFig can't be reached when someone signs up? =

The comment or form still goes through. A comment signup is retried automatically, and any signup that doesn't make it is listed on the Connection tab.

= Can people confirm by email before they're added? =

Yes. Turn on confirmation for the list in EmailFig and every signup to it gets a confirmation email, from your site or anywhere else.

= Is it GDPR friendly? =

Yes. EmailFig gives you the tools to be GDPR compliant. Checkboxes start unticked, EmailFig records proof of consent, and lists can ask people to confirm by email. You are still responsible for your privacy policy and how you use your list.

= Does it store personal data in WordPress? =

Only a note on each comment where the box was ticked, recording the wording shown and when. WordPress's privacy tools export and erase it with the comment, and deleting the plugin removes it.

== Screenshots ==

1. A popup.
2. The EmailFig form block.
3. Your forms.
4. Subscribe checkbox settings.

== Upgrade Notice ==

= 2.1.0 =
The Subscribe checkboxes tab now lists every form it supports, including the ones your site can't use yet, and says what to install, activate or turn on.

== Changelog ==

= 2.1.0 =
* New: the Subscribe checkboxes tab lists every form it supports, marking the ones your site can't use yet and saying what to install, activate or turn on.

= 2.0.0 =
* New: save extra answers from Contact Form 7 and WPForms, like a company name, to your EmailFig custom fields. Name a form field after the custom field and its answer is saved with the subscriber.
* New: add tags to each subscribe checkbox, so you can see which form each subscriber came from.
* New: an answer that can't be saved because the custom field doesn't exist is listed on the Connection tab. The subscriber is still added.

= 1.2.0 =
* New: choose whether a form placed automatically goes above or below the content.
* New: a visitor's full name is split into a first and last name instead of going into the first name whole.
* New: a link to create an EmailFig account on the connect screen, for sites that do not have one yet.

= 1.1.0 =
* New: an EmailFig form block, so you can choose a form in the editor instead of writing a shortcode.
* New: the block shows the real form as you write, and every form has a Preview link on the Forms tab.

= 1.0.0 =
* Place a form with the `[emailfig_form]` shortcode or the `emailfig_form()` template tag.
* Show a form after the content of every post of a type, and choose a different form or none on any single post.
* Turn on popup forms across the site.
* Add subscribe checkboxes to the comment form, the registration form, Contact Form 7 and WPForms.
* Try comment form signups again when EmailFig can't be reached.
* List recent signups that didn't make it on the Connection tab.
* Tell you in wp-admin when the plugin isn't connected, or when EmailFig stops accepting it (a replaced key, or a suspended or closing account).
* Suggest privacy policy text, and include the comment consent note in WordPress's personal data export and erasure.
