=== Simple AdSense Insert === Contributors: dartiss Donate link: http://tinyurl.com/bdc4uu Tags: adsense, advert, google Requires at least: 2.0.0 Tested up to: 2.7 Stable tag: 1.0 Simple AdSense Insert is a WordPress plugin that provides a basic ability to display AdSense adverts on your blog. == Description == Simple AdSense Insert provides a basic way of inserting AdSense adverts into your WordPress installation, whilst having full control of display and content. If you've not done so already, create your AdSense advert. The code you are provided provides the parameters that are required by Simple AdSense Insert. The 4 pieces of information you require are the values in `google_ad_client`, `google_ad_slot`, `google_ad_width` and `google_ad_height`. To display your AdSense advert you will need to insert the following code, where appropriate, into your theme... `` In the above example, I've used my credentials, but you will need to use the details that I suggested you note before, as supplied by AdSense. The first parameter is your publisher ID (i.e. `google_ad_client`) The second parameter is the slot (i.e. `google_ad_slot`) The third parameter is the width of the advert (i.e. `google_ad_width`) The last parameter is the height of the advert (i.e. `google_ad_height`) Alternatively, if you wish to ensure that your code still works correctly, even if Simple AdSense Insert is switched off, you can use the following format of code... `` If you don't wish to pass the same details each time (or simply want a single place where some of the details, for example your publisher ID, to be held) then you can hard code these into the plugin. In the `wp-content/plugins/simple-adsense-insert/` folder, edit the `simple-adsense-insert.php` file. You will find 4 lines of code within it, beginning with... `if ($ad_client=="") {$ad_client="";}` To hard code any of the parameters, simply add them into the end of the appropriate line. For example, if I wanted to add my publisher ID in, I would change the first of these lines to read... `if ($ad_client=="") {$ad_client="pub-0743991857092062";}` Then, if you don't pass a publisher ID, the one above will be used by default. However, beware of using this method as implementing any update to this plugin will wipeout any hard coding changes that you may have made. == Installation == 1. Upload the entire simple-adsense-insert folder to your wp-content/plugins/ directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. There is no options screen - configuration is done in your code and, optionally, by modifying the plugin. == Frequently Asked Questions == = My AdSense code doesn't have a slot number = Ah, yes. Google changed the format of their AdSense code - if you're looking at some existing AdSense code and it doesn't look the same as my examples, then head back to the AdSense website and get it to create the code again. = How can I get help or request possible changes = Feel free to report any problems, or suggestions for enhancements, to me either via my contact form or by the plugins homepage at http://www.artiss.co.uk/simple-adsense-insert