=== MkWebTech CTA Studio === Contributors: mkwebtech Tags: cta, call to action, popup, sticky bar, conversion Requires at least: 5.9 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 2.0.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html A powerful call-to-action studio with sticky, popup, and inline display types, click/view tracking, and an intuitive admin interface. == Description == MkWebTech CTA Studio helps you design, deploy, and optimize high-converting call-to-action blocks directly inside WordPress. Build polished CTAs with visual controls, flexible layout behavior, conversion-focused animations, and built-in analytics. Create and manage CTAs with three practical display types: * **Inline** - embed directly inside content using shortcode. * **Sticky Bar** - fixed top or bottom CTA for continuous visibility. * **Popup** - centered overlay CTA shown with delay and animation. = Why site owners use it = * Build CTAs faster with live admin preview. * Match brand style with deep design controls. * Track impressions, clicks, and conversion rate from your dashboard. * Improve conversion performance with premium GSAP-based motion. * Keep performance clean with self-hosted assets and lightweight output. = Key Features = * Display types: Inline, Sticky Bar, Popup. * Modern visual builder with horizontal design tabs: Block, Heading, Button, Close. * CTA Stats sidebar on edit screen: Impressions, Clicks, Conversion Rate. * Real-time preview aligned with frontend behavior. * Background modes: Solid, Gradient, Image, None. * Default CTA background image support from plugin assets. * CTA block controls: padding, border radius, content alignment, content mode. * Button controls: typography, icon picker, icon position, color and gradient options. * Heading controls: typography, spacing, and color. * Close button controls (sticky and popup): enable/disable, color, left/right position. * Box shadow toggle and sticky-specific border radius behavior. * Animation system powered by self-hosted GSAP. * Animation options: None, Fade, Slide Up, Slide Down, Zoom In, Bounce. * Animation timing control and display delay timer. * Device visibility toggles: Desktop, Tablet, Mobile. * Auto display toggle for fixed CTA types. * Built-in click and view tracking with custom stats table. * Popup usability features: overlay click close, ESC close, body scroll lock. * Local asset delivery (no third-party request required at runtime). * Translation-ready and WordPress coding standards focused. = Usage = 1. Go to **CTAs -> Add New**. 2. Select layout type and configure content. 3. Style CTA in the Design tabs. 4. Configure behavior and visibility settings. 5. Publish and either: * Enable auto display for Sticky/Popup, or * Use shortcode for inline/manual placement: `[mkwebtech_cta id="123"]` == Installation == = Automatic Installation = 1. Go to **Plugins -> Add New** in WordPress admin. 2. Search for **MkWebTech CTA Studio**. 3. Click **Install Now** and then **Activate**. = Manual Installation = 1. Download the plugin ZIP. 2. Upload `mkwebtech-cta-studio` to `/wp-content/plugins/`. 3. Activate from **Plugins** in wp-admin. == Frequently Asked Questions == = Can I place sticky or popup CTAs using shortcode? = Yes. Shortcode works for all CTA types. Sticky and popup CTAs are safely rendered in the footer so fixed positioning is not broken by theme content containers. = Does the plugin send data to third-party services? = No. CTA stats are stored in your WordPress database. Frontend assets are served locally from your site. = Where are impressions and clicks stored? = In the custom database table: `wp_mkwebtech_cta_stats` (prefix may vary by installation). = What happens to data on uninstall? = On plugin delete (uninstall), CTA posts, related meta, and stats table data are removed permanently. == Screenshots == 1. Popup CTA demo with close button and animation. 2. Sticky CTA demo with live preview and settings panels. 3. Content tab for heading, button, icon and link. 4. Design tabs for block, heading, button, and close controls. 5. Behaviour tab for status, delay timer, animation and animation speed controls. 6. Visibilitytab for control CTA visibility on different screens. == Changelog == = 2.0.0 = * Major UI/UX upgrade to the CTA builder and preview workflow. * Added CTA Stats sidebar box (Impressions, Clicks, Conversion Rate). * Reworked design controls into horizontal tabs (Block, Heading, Button, Close). * Added close button settings for sticky and popup layouts. * Improved close button rendering consistency in admin and frontend. * Added background mode selector: Solid, Gradient, Image, None. * Added default background image asset support. * Added and refined controls for border radius, content alignment, content mode, and spacing. * Improved inline mode alignment behavior and frontend/admin parity. * Added animation options: None, Fade, Slide Up, Slide Down, Zoom In, Bounce. * Added animation timing input and default animation set to None for new CTAs. * Switched animation engine to self-hosted GSAP and removed legacy CSS keyframe system. * Added smooth entrance/exit motion handling for sticky and popup close interactions. * Removed unfinished layouts (Floating Button and Sticky Tab) from admin and frontend. * Removed non-functional visibility placeholders (Page Rules/Country Rules). * Improved toggle switch usage in Behaviour and Visibility panels. * Updated defaults, cleaner code paths, and overall codebase cleanup. = 1.0.0 = * Initial release. == Upgrade Notice == = 2.0.0 = Major release with a redesigned builder UI, upgraded animation system, improved preview/frontend parity, and significant settings cleanup. Review CTA behavior and animation defaults after upgrading.