=== Flyerimage ===

Contributors: thousand31
Tags: campaign, popup, modal, announcement, marketing
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 3.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Design, target, and launch popup campaigns with a drag-and-drop canvas editor, 6 starter templates, form capture, and built-in analytics — all from one dashboard.

== Description ==

Flyerimage lets you create, schedule, and manage popup campaigns across your WordPress site using a free-position drag-and-drop canvas editor — no coding required.

Design beautiful popups from scratch or start with one of 6 ready-made templates. Place any element exactly where you want it: headings, text, badges, buttons, form fields, images, shapes, link buttons, and inline text links. Set your targeting rules in plain English — trigger, pages, audience, and frequency — then watch results roll in through per-campaign and site-wide analytics dashboards.

It’s the complete popup toolkit for marketers, store owners, bloggers, and site builders who want professional results without the complexity.

== Key Features ==

- Free-position drag-and-drop v3 canvas editor
- 9 element types: Heading, Text, Badge, Button, Field, Image, Shape, Link Button, Link Label
- 13+ shape variants for flexible design accents
- 6 starter templates: Email Capture, Discount Offer, Announcement, Exit Intent, Lead Magnet, Newsletter Sign-up
- Link Button element — styled button that opens any URL in a new tab
- Link Label element — inline underlined text link; use # to close the popup
- Form submission capture with anti-spam protection (honeypot + IP rate limiting)
- Submissions log with campaign filter and CSV export
- Per-campaign analytics: views, visitors, clicks, closes, submissions, conversion rate, engagement funnel, device split
- Site-wide analytics dashboard: 7-day KPI highlights, views vs visitors chart, campaign performance comparison
- 5 trigger types: Time on page, Scroll depth, Exit intent, Click on element, Inactivity
- Page targeting: All pages, Homepage only, or specific pages
- Audience filter: First-time, Returning, or Everyone
- Device targeting: Desktop, Tablet, Mobile
- Frequency control: once per visitor or repeat
- Auto-close countdown with configurable delay
- Multiple close icon styles (Standard, Circle, Boxed, Corner)
- Desktop and Mobile canvas layouts
- Clean, beginner-friendly admin dashboard

== How It Helps You ==

- Launch popups and promotions without writing a single line of code
- Start in seconds with 6 professionally designed starter templates
- Capture leads and emails directly from your popup with built-in form fields
- Keep spam out with honeypot detection and IP rate limiting
- Know what’s working with per-campaign analytics and conversion tracking
- Show the right popup to the right audience with flexible targeting rules
- Manage every campaign from one clean dashboard

== Screenshots ==

1. Live popup on the front-end — Announcement template with a call-to-action button, link label, and auto-close countdown.
2. Campaign list dashboard showing all campaigns with trigger, pages, audience, frequency, closes, 10-day sparkline views, and status.
3. Campaign row actions menu — Edit, Submissions, Analytics, Preview, Duplicate, Deactivate, and Delete.
4. Template selector — choose from Blank canvas, Email Capture, Discount Offer, Announcement, Exit Intent, Lead Magnet, and Newsletter Sign-up.
5. v3 canvas editor (Design tab) — free-position drag-and-drop with element toolbar, layers panel, and popup style sidebar.
6. Rules tab — Trigger, Pages, and Audience settings with a plain-English summary and sanity checks.
7. Submissions log — all form entries across campaigns with date, page URL, field values, and CSV export.
8. Per-campaign analytics — Views, Unique Visitors, Clicks, Closes, Submissions, and Conversion Rate KPIs with a Views Over Time chart and Engagement Funnel.
9. Site-wide analytics dashboard — 7-day highlight KPIs with trend indicators, Engagement Funnel, and Action Breakdown.
10. Site-wide analytics continued — Views vs Visitors line chart and Campaign Performance comparison bar chart.

== Upgrade Notice ==

= 3.0.0 =
Major release. Introduces a fully rebuilt v3 canvas editor with free-position drag-and-drop elements, link button and link label elements, per-campaign analytics dashboard, anti-spam form submission protection, and 6 new starter templates.

= 2.3.2 =
Adds image and shape shadow customization, duplicate campaign, size editing per component, improved editing controls, and mobile layout fallback. Fixes Activate label showing as @@Activate in campaign list row actions.

= 2.3.1 =
Fixes modal size issue in edit mode. Recommended update for all users.

= 2.3.0 =
Adds starter templates, new shapes, and improved customization options for a better campaign creation experience.

= 2.2.0 =
Added new rectangle tool and display targeting options.
Redesigned toolbar and improved editor layout.
Fixed caching and saving issues.
General UI and performance improvements.

= 2.1.0 =
Improved mobile responsiveness, added background color option, and fixed page-saving issues.

= 2.0.0 =
This release updates core terminology from "Flyers" to "Campaigns" and requires PHP 8.0 or higher. Please ensure your server meets the PHP requirement before upgrading.

== Changelog ==

= 3.0.0 =
**Added**
* v3 canvas editor — free-position drag-and-drop popup designer with heading, text, badge, button, field, image, shape, link button, and link label elements
* Link Button element — styled button that opens a URL in a new tab
* Link Label element — inline text link with optional underline; setting href to # closes the popup
* Per-campaign analytics page — views over time chart, funnel, device split, top pages, and submission log
* Views (10d) column in campaign list now links directly to campaign analytics
* Anti-spam protection for form submissions — honeypot field and IP rate limiting (10/hour)
* 6 starter templates: Email Capture, Discount Offer, Announcement, Exit Intent, Lead Magnet, Newsletter Sign-up
* Auto-close countdown pill now clears immediately when popup is closed via any action

**Improved**
* Analytics page: submissions KPI card, conversion rate card, submissions funnel step, and per-campaign submission counts in the campaign table
* Views vs Visitors chart changed to smooth line chart
* Real-time canvas updates — content field now updates on every keystroke

= 2.3.2 =
**Added**
* Image shadow customization support
* Shape shadow customization support
* Duplicate campaign functionality
* Size editing support for individual components
* Improved component editing controls
* Responsive mobile layout fallback (desktop design copied to mobile automatically)

**Fixed**
* Activate label displaying as @@Activate in campaign list row actions

= 2.3.1 =
* Fixed modal size issue in edit mode

= 2.3.0 =
* Added 2 starter templates (Announcement, Event)
* Added 13 shape elements
* Added multiple close icon styles
* Improved campaign builder UX and element controls
* General UI improvements

= 2.2.0 =
**Added**
- Rectangle element added to toolbox
- Display target options (All Pages / Homepage Only)
- Move element forward and backward controls
- Background color support for canvas
- Tip modal and contextual canvas guidance

**Improved**
- Toolbar redesigned for better usability
- Left panel layout and sizing improvements
- Canvas spacing and placement refinements
- Hover shadow effects on components
- Background image options with scroll support
- Text component styling enhancements

**Fixed**
- Caching-related rendering issue resolved
- Saving issue fixed
- Duplicate item removal bug fixed
- Minor UI inconsistencies and spacing corrections

= 2.1.0 =
* Automatically copy desktop layout to mobile by default
* Fixed issue when saving multiple selected pages
* Added background color option for campaigns
* Improved Preview button placement
* Minor i18n improvements

= 2.0.0 =
* Updated minimum PHP requirement to PHP 8.0
* Renamed “Flyers” to “Campaigns” across the plugin UI
* Improved campaign list and empty-state experience
* Enhanced onboarding clarity for first-time users
* General UI and stability improvements


== License ==

Flyerimage is free software, licensed under the GPLv2 or later.

== License URI ==

https://www.gnu.org/licenses/gpl-2.0.html
