=== AI4I Smart CTA ===
Contributors: iazresources
Tags: cta, call-to-action, elementor, shortcode, lightweight
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create reusable call-to-action boxes with title, description, button and display rules. Use it through Elementor, shortcode or automatic placement after content.

== Description ==

AI4I Smart CTA is a lightweight WordPress plugin that lets you create and display call-to-action (CTA) boxes on your site.

= Features =

* One settings page — configure everything in one place
* Three display methods — automatic after content, shortcode, or Elementor widget
* Full appearance control — colours, alignment, border radius, and maximum width
* Link control — new tab, rel attributes (noopener, noreferrer, nofollow, sponsored)
* Display rules — show on posts, pages, or both
* Lightweight — no external dependencies, no bloat
* Safe — properly escaped output, WordPress coding standards

= Privacy =

This plugin does not collect, store, or transmit any personal data. It does not use cookies, tracking, or telemetry. It does not make any external requests.

= Elementor Integration =

AI4I Smart CTA includes an optional Elementor widget. The widget is only loaded when Elementor is active. The plugin works perfectly without Elementor.

== Installation ==

1. Upload the `ai4i-smart-cta` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress Plugins screen
2. Activate the plugin through the Plugins screen in WordPress
3. Go to Settings → AI4I Smart CTA to configure the CTA
4. Enable the CTA, enter your content, and choose your display method

== Frequently Asked Questions ==

= Does this plugin work without Elementor? =

Yes. Elementor is completely optional. The plugin works with automatic placement and shortcodes without Elementor.

= Can I use the shortcode and automatic placement at the same time? =

Yes. The shortcode works independently of automatic placement. You can use either or both.

= Does this plugin slow down my site? =

No. The plugin is lightweight. It stores settings in a single WordPress option, loads minimal CSS, and has no external dependencies.

= What happens when I uninstall the plugin? =

All plugin settings are removed. No other site data is affected. Posts, pages, users, and media remain unchanged.

= Does this plugin track me or my visitors? =

No. There is no tracking, telemetry, analytics, or external requests of any kind.

== Screenshots ==

1. Settings page — configure your CTA in one place
2. CTA displayed after a post — automatic placement in action
3. Elementor widget — drag and drop CTA control

== Changelog ==

= 0.1.0 =
* Initial private beta release.
* Settings page with Status, Content, Button, Display Rules, and Appearance sections.
* Automatic placement after post/page content.
* Shortcode `[ai4i_smart_cta]` with attribute overrides.
* Elementor widget under ILOVEWP.my category.
* WordPress Settings API with full sanitisation.
* Multi-site aware uninstall.

== Upgrade Notice ==

= 0.1.0 =
Initial release. No upgrade path needed.
