Init Ad Engine – A Complete, Unlimited Ad Placement Plugin for WordPress

Version: 1.4 Tiếng Việt

Init Ad Engine – A Complete, Unlimited Ad Placement Plugin for WordPress
Init Ad Engine is a WordPress plugin that lets you insert ads into virtually any location on your site — precisely, flexibly, and without being restricted by your theme or page builder. From popups, floats, stickies, and popunders to global header/footer code, this plugin covers every ad need for content-driven websites.

Main Features

  • 15+ ad positions: PC, Mobile, before/after content
  • Popups with 3 display modes: on load, after delay, exit intent
  • Affiliate Gate – lock part of the content and require ad interaction to continue
  • Popunder opens a new tab on first click, with cooldown control
  • Fallback code: supports AdSense, AdX, Dable, third-party JS
  • No conflicts with other plugins, no broken HTML output
  • Clear admin UI with tabs to manage each ad group
  • Pure Vanilla JS, only loads when needed

Supported Ad Positions

Init Ad Engine groups ads into three main categories:

PC Group

  • Billboard
  • Balloon Left / Right
  • Float Left / Right
  • Catfish Top / Bottom
  • Popup Center PC
  • Before / After Content (PC)

Mobile Group

  • Mini Billboard
  • Sticky Top / Bottom
  • Popup Center Mobile
  • Before / After Content (Mobile)

Special Group

  • Popunder – opens a new tab on first click
  • Global Header & Footer code – insert any custom HTML/JS

Full Control Over Popup Behavior

Popups can be configured to display:

  • Immediately on page load
  • After a custom delay (in seconds)
  • When the user intends to leave (exit intent)

You can also define a delay between popup displays to reduce intrusiveness.

Fallback Code – Smart Backup for Ads

If you’re not using image banners, you can insert HTML or JS from third-party networks. Fallback code acts as a backup ad slot — perfect for platforms like AdSense, AdX, or custom embed content.

Affiliate Gate – maximize engagement

This feature allows you to hide part of your content (e.g. a chapter or post section) and replace it with a customizable ad block containing a banner, link, and message. Users must click to continue reading. You can choose from 4 display modes: always show, hide after click (with timeout), random chance, or every X pages.

Quick Installation Guide

  1. Extract the plugin into /wp-content/plugins/init-ad-engine/
  2. Go to admin → Plugins and activate it
  3. Navigate to Settings → Init Ad Engine to configure ad positions
  4. Select banner images or enter fallback code for each slot

Performance & Compatibility

  • No custom tables, no logs, no tracking
  • No jQuery – built entirely with Vanilla JavaScript
  • Works perfectly with all popular themes: Astra, Blocksy, Hello…
  • Compatible with WordPress 5.5+ and PHP 7.4+

Upcoming Features

  • View count and CTR stats per ad slot
  • Preset layouts and Gutenberg block support
  • Simple admin API to display ad metrics

Conclusion

Init Ad Engine is your all-in-one WordPress ad plugin – no coding needed, theme-agnostic, easily extendable, and rock-solid. If you want full control over ad placements from header to footer, on both PC and mobile, this is the tool you’ve been looking for.

Review

5.0/5 (1)

Changelog

  • 1.4 – Last-tab memory & UI refinements
    • Added last active tab memory using localStorage – the settings page now automatically restores the tab you previously opened.
    • Refactored tab-switching into a unified activateTab() function for cleaner logic and easier future maintenance.
    • Fixed scroll/height jump issues on the Popunder & Global tab for a smoother user experience.
    • Preserved all existing markup and option structures to ensure 100% backward compatibility with previous versions.
    • Minor code cleanup and internal stability improvements to prepare for future expansions.
  • 1.3 – Multi-Link Support & Random Selection
    • Affiliate Gate now supports entering multiple links separated by commas (,) — one will be randomly selected each time it’s displayed.
    • Added a helpful description under the input field: “Enter multiple links separated by commas (,) to display them randomly.”
    • Introduced a new helper function pickAffiliateLink() that normalizes, decodes, and randomly selects a valid http/https link (supports %20 in strings).
    • Improved link handling for better consistency while keeping full backward compatibility.
    • Minor code cleanup and improved reliability for future extensibility.
  • 1.2 – Security & New Filters
    • Security improvement: Global head & footer injections are now filtered with wp_kses using a custom allow-list (late escaping).
    • New filter init_plugin_suite_ad_engine_use_kses – toggle escaping of snippets (default: true).
    • New filter init_plugin_suite_ad_engine_allowed_tags – extend or modify the list of allowed tags/attributes.
    • Refactored injection logic into a unified helper function init_plugin_suite_ad_engine_render_snippet() for easier maintenance.
  • 1.1 – Affiliate Gate Feature
    • Added Affiliate Gate module – hide part of the content and show an affiliate block with banner, link, and customizable intro/outro text.
    • Supports 4 display modes: always-on, hide after click (with expiration), random by %, and every X views.
    • Added custom step list – specify exactly which pageviews should trigger the gate (e.g. 1,3,5).
    • New blur overlay option – insert a semi-transparent clickable layer on any element using a CSS selector, with its own step logic.
    • Step tracking for both gate and overlay uses persistent localStorage, auto-reset after expire_hours.
    • Refreshing the same page will no longer increase the step counter – only new pageviews are counted.
    • Customizable content selector to define which part to block (default: .entry-content).
    • Inline JS config injected in the <head> to prevent layout shift when content is toggled.
    • New filter init_ad_engine_should_enqueue_affiliate_gate lets themes control when to enqueue the gate logic (e.g. only on chapter pages).
  • 1.0 – First release of Init Ad Engine
    • Supports over 15 ad positions, including desktop, mobile, popup, sticky, float, balloon, and popunder.
    • Settings interface is divided into 3 separate tabs: PC, Mobile, and Popunder & Global code.
    • Allows inserting banner images or fallback HTML/JS for each position.
    • Popup ads support 3 display modes: on page load, after a delay, or on exit intent.
    • Popunder activates on the first click, with a cooldown period between triggers.
    • Supports Global code injection into the <head> or before </body> tag.
    • Automatically detects desktop / mobile devices to display ads in the correct location.
    • All scripts are written in Vanilla JS, no jQuery used, and only load when needed.
    • No custom database tables, no logging, no tracking – ultralight plugin with zero performance impact.
Made with in HCMC.

Comments


  • No comments yet.

Init Toolbox

Press Ctrl + \ on desktop, or swipe left anywhere on mobile.

Login