该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Easy Adsense Injection Plugin

描述

This WordPress plugin allows users to inject Google Adsense in a WordPress post or any part of the WordPress theme quickly. Simply add the Adsense code in the plugin settings and use shortcodes or functions to place ads anywhere on your site. You can also use this plugin to add any kind of ads anywhere in a WordPress-based website.

Automatic Ad Placement:

The plugin now supports automatic ad placement, allowing you to effortlessly insert ads:
* Above the header
* Below the post title
* Between paragraphs (configurable after how many paragraphs)
* Below the post content
* Below the footer

This ensures that ads are placed strategically without requiring manual shortcodes or function calls.

Manual Ad Placement:

Use these shortcodes within the post:

  • [easy_ad_inject_1]
  • [easy_ad_inject_2]
  • [easy_ad_inject_3]
  • [easy_ad_inject_4]
  • [easy_ad_inject_5]

Use these functions to add ads in the theme:

  • <?php echo put_wp_ad_1(); ?>
  • <?php echo put_wp_ad_2(); ?>
  • <?php echo put_wp_ad_3(); ?>
  • <?php echo put_wp_ad_4(); ?>
  • <?php echo put_wp_ad_5(); ?>

屏幕截图

  • Screenshot of ad code files for manual placement
  • Screenshot of ad code files for Automatic placement

安装

Unzip the plugin in the Wp-content/plugins folder or install directly from the dashboard.
Activate the plugin and then go to the plugin settings page.
Enter your Adsense code and choose between manual or automatic ad placement.

评价

此插件暂无评价。

贡献者及开发者

「Easy Adsense Injection Plugin」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

  • Added automatic ad placement for seamless integration.
  • Removed Alternate ads option to show alternate ads for users using an ad blocker.