
內容簡介
AdFusion 是一款免費的廣告管理與獲利外掛,專為 WordPress 設計。它能夠創建橫幅廣告、嵌入 Google AdSense 和自訂 HTML,並透過簡單的短碼或 REST API 發佈廣告,幫助使用者有效管理廣告追蹤與佈局。
【主要功能】
• 創建與管理橫幅廣告
• 嵌入 Google AdSense 代碼
• 自訂 HTML 廣告支持
• 廣告追蹤與分組管理
• 可選的排程功能
• 支持 Premium 擴展功能
外掛標籤
開發者團隊
② 後台搜尋「AdFusion – Ad Manager, Monetization & AdSense Tracking」→ 直接安裝(推薦)
原文外掛簡介
AdFusion is a free ad manager and monetization plugin for WordPress. Create banner ads, embed Google AdSense and custom HTML, organize ad tracking placements into groups with rotation, and publish everywhere with a simple shortcode or the REST API—without bloating your theme.
Whether you run display ads, sponsored units, or AdSense code, AdFusion gives you a dedicated workflow: custom post types for ads, taxonomy-style ad groups, optional scheduling, and a path to Premium extensions when you need advanced layouts, imports, and reporting.
Built for WordPress 7.0
AdFusion declares Tested up to: 7.0 per WordPress 7.0 release guidance—so the plugin listing stays aligned with Core and users avoid “outdated tested” notices when they upgrade WordPress.
Modern admin (default) – WordPress 7.0 uses Modern as the default admin theme. Every admin screen—including those built with @wordpress/components—should be rechecked visually after upgrading; please report odd spacing or styling in AdFusion screens on the plugin support forums.
Block editor iframe – Work continues toward the editor always loading inside an iframe. If anything regresses inside the block editor (metabox areas, previews, integrations), note your theme and WP version—see the iframed editor changes in WordPress 7.0 Field Guide chapter.
PHP version – WordPress 7.0 drops PHP 7.2 and 7.3. This plugin declares Requires PHP: 7.4 as the Core minimum supported line; hosts should aim for PHP 8.3+, which Core recommends.
Abilities API – WordPress 7.0 extends the abilities ecosystem (including broader client hooks). AdFusion stays hook-driven so Premium and site-specific code can adapt without patching Core plugin files.
Real-Time Collaboration – When your team uses collaborative editing in WordPress 7.0, AdFusion’s ad and group screens remain a stable place to manage monetization and ad tracking setup alongside your content workflow.
Maintainers routinely validate against Plugin Check and the WordPress 7.0 Field Guide so release notes align with upstream expectations—you can run Plugin Check locally as well before upgrading production sites.
Features
Custom Post Type – Manage ads as a dedicated content type with full WordPress integration
Ad Groups – Organize ads into hierarchical groups (e.g., sidebar, header, footer) for easy rotation
Multiple Ad Types – Image ads (featured image), Custom Code / HTML / AdSense, and plain text
Scheduling – Optional start and end dates for time-limited campaigns
Shortcode – Display ads by ID or group: [adfusion id="123"] or [adfusion group="sidebar-ads"]
REST API – Ads and groups exposed for integrations (e.g., mobile apps, headless)
Extensible – Hooks and filters for Premium extensions (imports, advanced placements, analytics)
Shortcode Usage
Display a specific ad by ID:
[adfusion id=”123″]
Display a random ad from a group (rotates on each page load):
[adfusion group=”sidebar-ads”]
Ad Types
Image Ad – Uses the post’s featured image. Set a destination URL for click-through.
Custom Code / HTML / AdSense – Paste third-party ad code (e.g., Google AdSense) for direct embedding.
Plain Text – Simple text ads with optional link.
Try It Live – Preview This Plugin Instantly
Experience AdFusion without installation! Click the link below to open WordPress Playground with the plugin pre-installed and configured with sample data.
Preview on WordPress Playground
External Services
Google AdSense
When AdSense fallback or Google Ads is enabled in Settings, the plugin loads the Google AdSense script from https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js. Your publisher ID (from the plugin settings) is passed as the client query parameter. No data is sent to AdFusion servers; the script communicates directly with Google’s ad servers when ads are displayed.
Google AdSense Terms of Service
Google Privacy Policy
Mobile apps and WebView (owned apps)
If you own a native Android or iOS app that loads your WordPress site in a WebView (or similar in-app browser) and you monetize with Google AdSense or Google Ad Manager display ads in that frame, Google requires the WebView API for Ads in the app (Google Mobile Ads SDK), not in this plugin. The plugin outputs standard web ad tags; your mobile developers must register each WebView with the SDK so app signals reach those tags.
Android: https://developers.google.com/ad-manager/mobile-ads-sdk/android/webview/api-for-ads
iOS: https://developers.google.com/ad-manager/mobile-ads-sdk/ios/webview/api-for-ads
In-app browser traffic and reporting: https://support.google.com/admanager/answer/14137220
Test page (load inside your app’s WebView for QA): https://google.github.io/webview-ads/test#api-for-ads-tests
