=== Plugin Name === Contributors: johnkolbert Donate link: http://simply-basic.com/ Tags: ads, advertisements, insert Requires at least: 2.3 Tested up to: 2.5.1 Stable tag: 1.2 This plugin allows you to intelligently insert ads (like Adsense) before and after your post content based on post wordcount, post date, or other features. == Description == Smart Ads automatically inserts advertisements like Google's Adsense above and below your post content. These advertisements are only visible when viewing a single post (single.php or page.php). Since it doesn't make sense to fill small posts with ads, users can set a "Wordcount" minimum for their advertisements. Smart Ads will only insert advertisements into posts that meet or exceed the desired Wordcount. Also, to ensure that new content remains fresh, users can choose to only place ads on posts that are over a certain amount of days old. Advertisements can be manually disabled on a post-by-post basis while writing a post, by category, or for registered blog members. Users can also insert custom ads into their posts or pages by inserting <!-smartads-> into their post text. Custom ads are not affected by the Wordcount or date minimum requirements and can be toggled to show on the index page or only shown when in single post view. == Installation == First Installation: 1. Before uploading the folder, change "yourads.php.txt" to "yourads.php." This feature prevents automatic upgrades from overwriting your file. Then, open your newly renamed "yourads.php" and paste your desired advertising code into the three indicated areas. yourads.php contains three variables which house your code data: $topad, $bottomad, and $customad. Sample data is provided as an example of how to paste your code. Replace the sample data by simply highlighting it and pasting your advertising code over it. Enter your ad code into the the other two variables to match. 2. Because we're working with PHP data, you may have to "escape" your advertising code if it contains any single quotes (like ' ). Escaping means simply placing a forward slash before the single quote. So if the original sentence was: "Hello, I'm "hungry" didn't you know?" You would escape it to look like the following: "Hello, I\'m "hungry" didn\'t you know?". If your code doesn't contain single quotes then this isn't necessary. 3. Upload the plugin folder containing both files to wp-content/plugins/ and activate from the Plugin administrative menu. Upgrade: Use the automatic upgrade feature. Your advertising code will not be overwritten. Otherwise, upload "smartads.php" to your current smartads folder. == Frequently Asked Questions == Please see the plugins homepage for an up-to-date FAQ.