Key benefits
- Place ads exactly where they should appear within Init Manga’s interface.
- Supports raw HTML/JS code with no sanitization that breaks ad scripts.
- Ideal for direct sponsorships, promotional campaigns, and custom banners.
Available ad positions
Global (visible on all pages)
- Below the main navigation (
global_below_menu) - Above the footer (
global_above_footer)
Homepage
- Below slider (
home_below_slider) - Below chat module (
home_below_chat) - Below “Newly Updated” (
home_below_recent) - Below “Popular” (
home_below_popular) - Below “Explore by Category” (
home_below_explore_by_category) - Above “Completed Series” (
home_above_completed)
Sidebar
- Top of sidebar (
sidebar_top) - Bottom of sidebar (
sidebar_bottom)
Position descriptions
global_below_menu: Located immediately below the main navigation bar, visible across the entire site.global_above_footer: Placed right above the footer; good for long-running partner banners.home_below_slider: Prominent slot under the homepage hero slider; excellent visibility and high CTR.home_below_chat: Rendered directly below the chat widget if enabled; useful for interaction-based ad targeting.home_below_recent: Positioned right after the “Newly Updated” section to capture engaged browsing flow.home_below_popular: Auto-placed after the “Popular” block. If the layout uses two columns, it appears in the sidebar column; in single column layouts, it appears inline with content.home_below_explore_by_category: Same auto-placement logic as above, tied to the “Explore by Category” block.home_above_completed: Positioned above the “Completed Series” section; suited for evergreen banners.sidebar_top: First slot inside the sidebar; often the highest-performing sidebar ad position.sidebar_bottom: Last slot in the sidebar; can be paired with sticky sidebar layouts.
Filter for developers: override ad HTML by position
add_filter('init_manga_extra_ad_html', function($html, $pos){
if ($pos === 'home_below_slider') {
return '<div class="promo-banner">YOUR CUSTOM HTML HERE</div>';
}
return $html;
}, 10, 2);
Filter for developers: customize wrapper output
By default, Extra Ads wraps every ad in <div class="uk-margin uk-text-center">. You can override the wrapper per position.
add_filter('init_manga_extra_ad_wrapper_open', function($open, $pos){
if ($pos === 'global_below_menu') {
return '<div class="uk-margin-top uk-text-center">';
}
if ($pos === 'sidebar_bottom') {
return '<div class="uk-margin-medium-bottom uk-text-center">';
}
return $open;
}, 10, 2);
add_filter('init_manga_extra_ad_wrapper_close', function($close, $pos){
return $close; // default: '</div>'
}, 10, 2);
Hook for tracking or analytics
add_action('init_manga_extra_ad_rendered', function($pos, $html){
// Logging or analytics logic here
}, 10, 2);
Conclusion
Extra Ads provides full control over ad placement without dependency on external ad plugins. It enables site owners to position ads precisely where they convert best, while still giving developers the flexibility to override, wrap, or track ads programmatically. Init Manga v1.8.3 brings native monetization control into the theme, allowing clean ad management without compromising layout or performance.
Comments