=== P2 Header Ad === Contributors: versluis Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=34B76TPRWMWAE Tags: p2, advert, ad, header, code Requires at least: 3.3 Tested up to: 3.6.1 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Places a 468x80 pixel advert inside the header of Automattic's wonderful P2 Theme. == Description == Places a 468x80 pixel advert inside the header of Automattic's wonderful P2 Theme. Other sizes will work but may require CSS tweaking. == Installation == 1. Either: Upload the entire folder to `/wp-content/plugins/` directory 1. Or: download the ZIP file, then head over to Plugins - Add New - Install, then browse to your file 1. Or: from Plugins - Add New, search for this plugin and hit "install" 1. Then: Activate it through the 'Plugins' menu in WordPress 1. Under Appearance - P2 Header Ad you'll find an admin interface to paste your HTML code == Frequently Asked Questions == = I'm not using a 468x80 pixel advert. How do I tweak the CSS? = P2 Header Ad will wrap your code inside a DIV tag with the ID "p2HeaderAd". Simply re-position by targeting this ID. You can do this either in your Theme's styles.css file, or tweak p2-header-ad-styles.css inside the plugin's main directory. = Will this plugin work with a custom header graphic? = Yes, it sits on top of your custom header graphic. = My ad looks a bit too high when I'm looged in - what gives? = This is a caveat: I can't "hook in" to P2's functions without hacking core files. Out of the box the ad will look nice when the tollbar on the front is not displayed. However when it is displayed, the advert will look a bit too high. You can add 25 pixels to its height to accomodate this, which means that your ad will look too low when the tollbar is not displayed. Adjust according to taste. If I find a way to rectify this, I will in a future update. == Screenshots == 1. the Admin Interface let's you paste HTML code quick and easy (under Appearance - P2 Header ad) 1. see your ad displayed on the P2 front page == Changelog == = 1.0 = Initial Release