Linux 软件免费装
Banner图

Sanil Ads Kit

开发者 sonill
更新时间 2026年10月13日 16:41
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

ads advertisement ad manager ad rotation banner ads

下载

详情介绍:

Sanil Ads Kit is a lightweight, performance-focused WordPress ad management plugin. Create and display banners, image ads, custom HTML/JS ads, iframes, and Google AdSense — then control exactly where and when they appear using flexible placements, scheduling, and targeting conditions. Whether you're running a personal blog, a content-heavy publication, or a client site, Sanil Ads Kit gives you full control over your advertising without slowing down your site. Learn more at sanil.app/sanil-ads-kit. Step-by-step guides and tutorials are in the documentation. Key Features Ad Creation & Management

安装:

  1. Upload the sanil-ads-kit folder to /wp-content/plugins/.
  2. Activate the plugin via the Plugins menu in WordPress.
  3. Navigate to Sanil Ads Kit in the WordPress admin sidebar.
  4. Create your first ad under Sanil Ads Kit → All Ads → Add New.
  5. Optionally configure placements under Sanil Ads Kit → Placements to auto-inject ads sitewide.

屏幕截图:

  • Groups — organize ads for rotation and A/B testing.
  • Ad editor — ad type, creative, click URL, priority and device.
  • Layout, margins and targeting conditions.
  • Per-ad analytics — daily chart, countries, pages and peak click hours.
  • Placements — set up automatic ad injection with no theme edits.
  • Popup placement — trigger delay, show frequency and close options.
  • Settings — choose who can manage ads, and cleanup preferences.
  • Ads inside a post — header leaderboard, after-first-paragraph promo and footer ads.
  • A popup ad on the front end.
  • A skip-ad interstitial with countdown.

升级注意事项:

1.0.1
  • Updates the plugin homepage and documentation links. No functional changes.
1.0.0
  • Initial release.

常见问题:

Does it support Google AdSense?

Yes. Use the AdSense ad type to paste your AdSense code directly. Admins with the unfiltered_html capability can enter raw script tags.

Can I rotate multiple ads in the same spot?

Yes. Create an Ad Group, add your ads to it, choose sequential or random rotation, and assign the group to a placement or shortcode.

How do I display an ad inside a post?

Use the shortcode [amkit_ad id="123"] (or [amkit_ad_group id="4"] for a group) or insert a Sanil Ads Kit Gutenberg block in the post editor.

Can I show ads only on certain pages?

Yes. Each ad has a Targeting section where you can set conditions based on post type, specific pages, categories, tags, taxonomies, author, post format, page template, parent page, content age and archive type. The Show On field limits an ad to desktop or mobile visitors. Targeting by user role is not available.

How do I add an ad to my theme template?

Use the template function <?php amkit_ad_group( 'your-group-slug' ); ?> or <?php amkit_ad_placement( 'placement-id' ); ?> anywhere in your theme files.

Will it slow down my site?

No. The plugin is built for performance. On the front end it loads one small stylesheet (about 2 KB, under 1 KB compressed) and, only on pages that display an ad, a small analytics script (about 2 KB compressed). Neither needs jQuery; the popup/skip-ad stylesheet and script load only when you have created a popup or skip-ad placement. The heavier admin scripts load only on the plugin's own screens.

How do I see how my ads are performing?

The All Ads list shows all-time views, clicks and CTR for every ad, and you can sort by any of them. Open an ad to see its detailed report (daily chart, countries, pages and peak click hours) in the Analytics box.

How are views and clicks counted?

A view is counted when at least half of an ad is visible in the visitor's browser, at most once per ad per browser session. A click is counted each time a visitor clicks an ad's link. Counts are grouped by hour, ad, page and country.

Does analytics work with page caching?

Counting happens in the visitor's browser, so cached pages are still tracked. Page caches can serve a page after the security token embedded in it has expired (typically 12–24 hours); if you see tracking stop on heavily cached pages, shorten the cache lifetime.

Does analytics store personal data?

No IP addresses, cookies or user identifiers are stored. See the Privacy section below.

Does it work with page builders like Elementor or Divi?

Yes. You can use shortcodes in any page builder that supports shortcode widgets or text blocks.

Is it compatible with caching plugins?

Yes. Ads are output as plain HTML, so they work with caching plugins. Because targeting conditions and the desktop/mobile setting are evaluated when the page is built, a page cache will keep serving the version it first stored. If you use Show On (desktop/mobile) together with full-page caching, either vary the cache by device or return false from the amkit_server_side_device_filter filter so every ad is output and CSS hides the wrong one.

Where can I find the documentation?

Step-by-step guides, tutorials and troubleshooting articles are at sanil.app/help/sanil-ads-kit.

Where can I report a bug or request a feature?

Please open a thread in the WordPress.org support forum for this plugin. You can also reach out through sanil.app/support.

How does clean uninstall work?

Enable the "Action on uninstall" option in plugin settings, then delete the plugin from the WordPress Plugins screen. This permanently removes all ads, ad groups, placements, analytics data and plugin settings. Cleanup only runs during WordPress uninstall flow. Manual folder deletion (FTP/file manager) does not trigger uninstall hooks.

更新日志:

1.0.1 1.0.0