WordPress.org

Plugin Directory

Ad Injection

Injects any adverts (e.g. AdSense) into the WordPress posts or widget area. Restrict who sees ads by post length/age/referrer or IP.

This section describes how to install the plugin and get it working.

  1. Upload the ad-injection folder to the '/wp-content/plugins/' directory (or just use the WordPress plugin installer to do it for you). The plugin must be in a folder called 'ad-injection'. So the main plugin file will be at /wp-content/plugins/ad-injection/ad-injection.php
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Configure your ads. Carefully go through all the sections to setup your ad placements.
  4. Tick the box right at the top to enable your ads.
  5. If you are using a caching plugin you may need to clear the cache to see your ads immediately.
  6. If something doesn't work as expected turn on debug mode and look for the debug messages in the HTML source.

How to uninstall

You can uninstall by deactivating the plugin and deleting from the WordPress plugins control panel.

Uninstalling will delete all files and settings created by Ad Injection. It will also delete any template ads that you have put in the ad-injection-data folder.

If you have been using mfunc mode with a caching plugin then you must also clear the cache afterwards, otherwise you'll get errors saying the Ad Injection includes can't be found.

Requires: 2.8.6 or higher
Compatible up to: 4.1.5
Last Updated: 2014-12-20
Active Installs: 40,000+

Ratings

4.1 out of 5 stars

Support

0 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,4,4 100,2,2
100,1,1 100,1,1 100,2,2
100,1,1 100,1,1 100,1,1 100,2,2 75,4,3 100,2,2
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 67,3,2 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,9,9 100,3,3 100,1,1 100,2,2 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1 100,3,3 50,4,2 50,2,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 75,4,3 100,1,1
78,9,7 100,2,2 100,1,1 100,2,2 100,1,1 100,3,3 100,1,1
100,3,3 100,1,1 100,4,4 100,1,1
100,1,1 100,4,4
100,4,4 100,4,4
100,6,6
100,7,7
100,8,8
100,3,3
50,2,1
100,1,1 0,1,0
0,1,0
0,1,0
67,3,2
100,1,1
100,1,1
100,2,2
100,2,2 100,1,1 100,1,1
100,3,3 100,1,1 100,1,1
100,2,2 100,2,2 100,2,2
100,1,1 100,2,2