=== Init Ad Engine – Flexible, Multi-Format, Secure === Contributors: brokensmile.2103 Tags: ads, banner, popup, popunder, content locking Requires at least: 5.5 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A lightweight and flexible ad engine for WordPress. Place banners, popups, sticky ads, and popunders across desktop and mobile with full control. == Description == **Init Ad Engine** lets you insert various ad formats into your WordPress site with zero coding required. Built for flexibility and performance: - Tabbed admin UI with clear separation by device type - All styles are inline or embedded – no external CSS files - Multiple ad formats supported: popups, sticky bars, floating ads, popunder, before/after content - Optional fallback HTML/JS code when no image is provided **Available ad positions:** - **Desktop (PC):** Billboard, Balloon Left/Right, Float Left/Right, Catfish Top/Bottom, Popup Center, Before/After Content - **Mobile:** Mini Billboard, Sticky Top/Bottom, Popup Center, Before/After Content - **Special:** Popunder (opens new tab on first click), Global header/footer code injection This plugin is part of the [Init Plugin Suite](https://en.inithtml.com/init-plugin-suite-minimalist-powerful-and-free-wordpress-plugins/) — a collection of minimalist, fast, and developer-focused tools for WordPress. GitHub repository: [https://github.com/brokensmile2103/init-ad-engine](https://github.com/brokensmile2103/init-ad-engine) == Features == * 20+ configurable ad positions * Popunder with cooldown and click threshold * Exit-intent or delay-based popup behavior * Global `
` and `` injection fields * Fallback HTML/JS ad code per position * Minimalist inline CSS for fast load * Responsive support for all device types * Clean admin UI with media uploader * Affiliate Gate with flexible display logic (always-on, expire-after-click, random %, every X pages) == Filters for Developers == - `init_plugin_suite_ad_engine_use_kses` Control whether ad snippets are escaped via `wp_kses`. Default: `true`. - `init_plugin_suite_ad_engine_allowed_tags` Extend or modify the allow-list of permitted tags/attributes for ad snippets. - `init_plugin_suite_ad_engine_disable_all_ads` Disable all ad injections globally. Default: `false`. - `init_ad_engine_should_enqueue_affiliate_gate` Control whether the Affiliate Gate scripts should be enqueued. == Installation == 1. Upload the plugin to `/wp-content/plugins/init-ad-engine` or install from the WordPress Plugin Directory. 2. Activate it via the **Plugins** menu. 3. Go to **Settings → Init Ad Engine** and configure your ad placements. == Frequently Asked Questions == = Will it conflict with page caching or optimization plugins? = No. Ad rendering is done via inline JS and dynamic DOM injection. It's fully compatible with caching. = Can I use custom JavaScript ad tags? = Yes. Each position supports a fallback HTML/JS block, including `