=== Intelligent content ad insertion for WordPress ===
Contributors: Rudd-O
Donate link: http://rudd-o.com/services/wp-consulting/
Tags: ads, adsense, insertion, advertising, posts, content
Requires at least: 2.2
Tested up to: 2.2
Stable tag: 0.2

Auto inserts advertisements in post and page content without manual intervention. Compatible with other ad managers, AdSense and manual ad rotation.

== Description ==

Automatically insert advertisements in post and page content without manual intervention. It’s useful when you have a large amount of content (thousands of posts) that you want to monetize.  It's also compatible with other ad management plugins for WordPress, AdSense and can perform manual ad rotation.

At most two ads are inserted per-post (or per-page):

1. An opener ad: Right after the `<!--more-->` break of the post. Failing that, between its first and second paragraphs.
2. A halfway ad: In between the two paragraphs halfway of the post.

Ads are not inserted on the front page, archive pages or any other page with multiple posts.

##PHP evaluation and execution

If you're already using another ad system such as AdSenseDeluxe (or you plan to), you have the option to activate PHP evaluation. In this mode, any PHP code you type on the Ad code boxes will be executed and evaluated. You can use this technique to:

* Implement rotational ad systems
* Make ad code conditional to WordPress state: Example: `<?php global $post; if ($post->title == "How to cook") { ?> some ad code here <? } ?>`
* Perform A/B testing
* Invoke AdSenseDeluxe code to pull ads from its configuration instead of manually maintaining ads separately:  Example: `<?php adsense_deluxe_ads('Ad_Name'); ?>`

You should keep in mind, however, that PHP evaluation poses a security danger on multi-author blogs.

##Preventing a particular post from getting processed

It's easy. Just add the following on the post: `<!--noadsense-->`.

== Installation ==

1. Unpack the plugin's zip file into your `/wp-content/plugins/` directory.  Preserve the directory structure.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Setup in Options... Intelligent content ads

== Frequently Asked Questions ==

Please refer to the plugin help inside the plugin options page or to the Web site:

http://rudd-o.com/projects/wordpress-intelligent-content-ad-insert/

== Screenshots ==

Please refer to the plugin page:

http://rudd-o.com/projects/wordpress-intelligent-content-ad-insert/
