=== Kodo Popup ===
Contributors: pixalty
Tags: popup, modal, floating bar, campaign, blocks
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 7.0
Stable tag: 1.1.11
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create popup, floating bar, and fullscreen campaigns from reusable designs.

== Description ==

Kodo Popup separates content from behavior. Create designs with the Gutenberg block editor, set the design width, then select that design from the campaign screen. Campaigns manage popup type, screen position, triggers, display rules, scheduling, targeting, styling, and repeat display behavior.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate Kodo Popup from the Plugins screen.
3. Create a design, then create a campaign and select that design.

== Shortcodes ==

Create a trigger:

`[kodo_popup_trigger id="campaign_id"]Open popup[/kodo_popup_trigger]`

Open with JavaScript:

`KodoPopup.open("campaign_id")`

== Privacy ==

Kodo Popup does not send data to external services. Visitor close preferences are stored in the visitor's browser storage only.

== Translation ==

Kodo Popup uses the `kodo-popup` text domain. Plugin interface strings can be translated through WordPress.org language packs, Loco Translate, or standard WordPress translation files. Popup Designs are stored as WordPress content, and campaign title and close-label strings are registered for WPML and Polylang when those plugins are active.

== Uninstall ==

Uninstalling the plugin removes its campaigns and design posts.

== Changelog ==

= 1.1.11 =
* Added translation-plugin compatibility helpers for campaign strings and translated popup Designs.

= 1.1.10 =
* Removed campaign type, trigger, and design dropdown filters from the Campaigns list.
* Added an admin Documentation page with setup, trigger, targeting, publishing, and troubleshooting guidance.

= 1.1.9 =
* Added WordPress-style campaign list filters, row checkboxes, and bulk actions.
* Added draft/publish campaign status with Save Draft and Publish actions.
* Forced new campaign forms to open on the General tab.

= 1.1.8 =
* Fixed selected draft/private Designs rendering empty on the frontend.
* Added a safer fallback for unexpected empty block-render output.

= 1.1.7 =
* Removed Elementor and page-builder support.
* Rendered Design content through a Gutenberg-safe block pipeline only.
* Simplified Design post type supports.

= 1.1.6 =
* Fixed frontend animation states for fade, slide, zoom, and floating bars.

= 1.1.5 =
* Removed empty design markup from frontend popup output.

= 1.1.4 =
* Simplified campaign header actions and admin submenu items.

= 1.1.3 =
* Adjusted popup close button sizing.

= 1.1.2 =
* Fixed floating bars blocking clicks on popup close buttons.

= 1.1.1 =
* Moved popup width to the Design settings screen.
* Removed campaign min-height, max-width, and width controls.
* Removed the popup shell border and shadow.
* Fixed zero-value corner radius rendering.

= 1.1.0 =
* Split designs from campaign settings.
* Removed the built-in content designer.
* Added reusable design posts and option-based campaigns.
* Simplified the campaign settings UI to match the Kodo Banner card layout.
* Reduced campaign types to Popup, Floating Bar, and Fullscreen.

= 1.0.0 =
* Initial release.
