Title: Init Ad Engine – Flexible, Multi-Format, Secure
Author: Init HTML
Published: <strong>20.09.2025</strong>
Last modified: 17.07.2026

---

Шукати плагіни

![](https://ps.w.org/init-ad-engine/assets/banner-772x250.png?rev=3364800)

![](https://ps.w.org/init-ad-engine/assets/icon-256x256.png?rev=3364800)

# Init Ad Engine – Flexible, Multi-Format, Secure

 Від автора [Init HTML](https://profiles.wordpress.org/brokensmile2103-1/)

[Завантажити](https://downloads.wordpress.org/plugin/init-ad-engine.1.6.zip)

 * [Деталі](https://uk.wordpress.org/plugins/init-ad-engine/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/init-ad-engine/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/init-ad-engine/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/init-ad-engine/#developers)

 [Підтримка](https://wordpress.org/support/plugin/init-ad-engine/)

## Опис

**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 `<head>` and `</body>` 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)
 * Optional schedule window (start/end date) for any position, popunder, or the 
   Affiliate Gate
 * Optional frequency cap (hours) for static banner positions
 * Optional “open link on close” behavior for ads with a close (x) button

### 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_plugin_suite_ad_engine_should_enqueue_affiliate_gate`
    Control whether 
   the Affiliate Gate scripts should be enqueued.
 * `init_plugin_suite_ad_engine_affiliate_gate_data`
    Modify Affiliate Gate configuration
   data (affiliate link, banner, mode, selectors, timing, blur overlay, etc.) before
   it is passed to JavaScript.

### Security Notes

 * Ad snippets entered in the plugin settings are considered user-provided content.
 * By default, all snippets are escaped at render time using `wp_kses` with a restricted
   allow-list of tags and attributes.
 * Developers can disable escaping via the `init_plugin_suite_ad_engine_use_kses`
   filter if they explicitly trust their input.
 * All ad injections can be globally disabled via the `init_plugin_suite_ad_engine_disable_all_ads`
   filter.
 * Only administrators with the `manage_options` capability can configure or modify
   global ad settings.

### License

This plugin is licensed under the GPLv2 or later.
 You are free to use, modify, 
and distribute it under the same license.

## Скріншоти

[⌊PC Settings Tab – Configure desktop-only ad positions such as Billboard, Catfish,
Popup Center PC, and sidebar floats⌉⌊PC Settings Tab – Configure desktop-only ad
positions such as Billboard, Catfish, Popup Center PC, and sidebar floats⌉[

**PC Settings Tab** – Configure desktop-only ad positions such as Billboard, Catfish,
Popup Center PC, and sidebar floats

[⌊Mobile Settings Tab – Configure mobile-specific units including Sticky Top/Bottom,
Mini Billboard, and Popup Center Mobile⌉⌊Mobile Settings Tab – Configure mobile-
specific units including Sticky Top/Bottom, Mini Billboard, and Popup Center Mobile⌉[

**Mobile Settings Tab** – Configure mobile-specific units including Sticky Top/Bottom,
Mini Billboard, and Popup Center Mobile

[⌊Popunder & Global Tab – Configure popunder behavior and global head/footer injection⌉⌊
Popunder & Global Tab – Configure popunder behavior and global head/footer injection⌉[

**Popunder & Global Tab** – Configure popunder behavior and global head/footer injection

[⌊Affiliate Gate Tab – Full settings UI for content gating, steps, random modes,
blur overlay, and banner configuration⌉⌊Affiliate Gate Tab – Full settings UI for
content gating, steps, random modes, blur overlay, and banner configuration⌉[

**Affiliate Gate Tab** – Full settings UI for content gating, steps, random modes,
blur overlay, and banner configuration

## Встановлення

 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.

## Часті питання

### 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 `<script>` tags.

### Does it support responsive behavior?

Yes. Each ad position is associated with desktop, mobile, or both. The plugin auto-
detects screen size.

### Does it track views or clicks?

No. Version 1.0 focuses on display only. Analytics may be added in future updates.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“Init Ad Engine – Flexible, Multi-Format, Secure” — проект з відкритим вихідним 
кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

[Перекладіть “Init Ad Engine – Flexible, Multi-Format, Secure” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/init-ad-engine)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/init-ad-engine/), перегляньте
[сховище SVN](https://plugins.svn.wordpress.org/init-ad-engine/) або підпишіться
на [журнал розробки](https://plugins.trac.wordpress.org/log/init-ad-engine/) за 
допомогою [RSS](https://plugins.trac.wordpress.org/log/init-ad-engine/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.6 – July 18, 2026

 * New: Optional Schedule (start/end date) for every ad position, popunder, and 
   Affiliate Gate — set a date window and the plugin stops serving it outside that
   range automatically, no manual on/off toggling needed
 * New: Frequency cap (hours) for static banner positions (Billboard, Balloon L/
   R, Float L/R, Catfish Top/Bottom, Mini Billboard, Sticky Top/Bottom Mobile) —
   limits how often the same browser sees that banner again. Defaults to 0 (no cap),
   so existing sites keep their current always-on behavior
 * New: “Close (x) button action” checkbox — optionally open the ad’s Target URL
   in a new tab when a visitor dismisses it via the close button, for positions 
   that have one
 * Dev: Added `init_plugin_suite_ad_engine_is_within_schedule()` helper for the 
   new scheduling checks
 * i18n: Added Vietnamese translations for all new strings; fixed a duplicate `msgid"
   Choose Image"` in the `.po`/`.pot` files that caused a `msgfmt` compile error

#### 1.5 – July 17, 2026

 * Fix: Removed a duplicated popunder handler in `script.js` that could cause the
   popunder to fire twice or mis-trigger against the configured click threshold
 * Fix: Popunder cooldown is now re-evaluated on every click instead of once at 
   page load, so it no longer appears completely dead if the tab stays open across
   the cooldown window
 * Fix: Popunder storage access (localStorage/sessionStorage) is now wrapped defensively
   so it can’t be silently broken by Safari private mode or storage-blocking extensions
 * Fix: Removed a duplicated `.upload-image-button` click handler that opened the
   media uploader frame twice
 * Fix: `uninstall.php` no longer relies on a plugin constant that is never defined
   during uninstall, so the settings option is now actually removed on uninstall
 * Fix: Unchecking “Open in new tab?” for a position now saves correctly instead
   of silently falling back to opening in a new tab
 * New: Popup Center (PC/Mobile) now shows a dimmed modal-style backdrop behind 
   the ad; clicking the backdrop closes the popup
 * Improvement: `.init-ad-engine img` now has `max-width: 100%` so oversized banner
   images can no longer overflow their container
 * Docs: Corrected the documented affiliate-gate enqueue filter name to match the
   actual hook (`init_plugin_suite_ad_engine_should_enqueue_affiliate_gate`)

#### 1.4 – November 14, 2025

 * UX: Settings screen now **remembers the last active tab** and automatically restores
   it when you reopen the page
 * UX: Improved height/scroll behavior for **“Popunder & Global”** tab to prevent
   sudden jumps when switching tabs
 * Dev: Refactored tab-switching logic to a single inline handler using `localStorage`
   for per-admin tab state
 * Maint: Kept existing markup and option structure intact to avoid breaking any
   saved configurations or integrations

#### 1.3 – October 25, 2025

 * New: Affiliate Gate now supports **multiple affiliate links** separated by commas—
   one will be displayed **randomly** on each trigger
 * UX: Added description text under Affiliate Link field — “Enter multiple links
   separated by commas (,) to display them randomly.”
 * Dev: Implemented `pickAffiliateLink()` helper to normalize, decode, and randomly
   select a valid `http/https` link from list
 * Maint: Code cleanup and safe decoding of `%20` characters in link strings for
   better compatibility

#### 1.2 – September 10, 2025

 * Security: Global head and footer injection now use `wp_kses` with a custom allow-
   list for late escaping (security hardening)
 * New: Added filter `init_plugin_suite_ad_engine_use_kses` to toggle escaping (
   default `true`)
    Developers can return `false` to output raw snippets without
   escaping
 * New: Added filter `init_plugin_suite_ad_engine_allowed_tags` to extend or modify
   the allow-list of permitted tags/attributes
 * Maint: Refactored injection code to use a unified `init_plugin_suite_ad_engine_render_snippet()`
   helper function

#### 1.1 – July 14, 2025

 * New: Affiliate Gate – hide content and display affiliate promo with banner, link,
   intro/outro text
 * New: Affiliate Gate now supports 4 display modes – always-on, expire-after-click,
   random percentage, and every X pages
 * New: Added support for custom step list (e.g. “1,3,5”) to control exactly which
   pageviews show the gate
 * New: Added “blur overlay” option – insert semi-transparent clickable layer over
   any selector, with its own step logic
 * New: Blur overlay and custom steps use persistent localStorage counters with 
   auto-reset after `expire_hours`
 * New: Refreshing the same page no longer increases step count – only new pageviews
   are tracked
 * New: Customizable selector for content gating
 * New: Inline script config injected in to avoid layout shift
 * New: Filter `init_ad_engine_should_enqueue_affiliate_gate` allows theme to control
   when to enqueue the affiliate gate

#### 1.0 – May 29, 2025

 * Initial release
 * Support for 20+ ad positions
 * Popunder with configurable triggers
 * Global header/footer code fields
 * Simple fallback system for HTML/JS ads

## Мета

 *  Версія **1.6**
 *  Останнє оновлення **1 день тому**
 *  Активних встановлень **90+**
 *  Версія WordPress ** 5.5 або вище **
 *  Tested up to **7.0.2**
 *  Версія PHP ** 7.4 або вище **
 *  Мова
 * [English (US)](https://wordpress.org/plugins/init-ad-engine/)
 * Позначки
 * [ads](https://uk.wordpress.org/plugins/tags/ads/)[banner](https://uk.wordpress.org/plugins/tags/banner/)
   [content locking](https://uk.wordpress.org/plugins/tags/content-locking/)[popunder](https://uk.wordpress.org/plugins/tags/popunder/)
   [popup](https://uk.wordpress.org/plugins/tags/popup/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/init-ad-engine/advanced/)

## Оцінки

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/init-ad-engine/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/init-ad-engine/reviews/)

## Учасники

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/init-ad-engine/)