=== Google AdSense for Responsive Design - GARD ===
Contributors: The Plugin Factory
Donate link: http://thedigitalhippies.com/garddonate
Tags: responsive, AdSense, responsive AdSense, Google AdSense, responsive ads, responsive design, responsive design, gard, advertising, ads, The Plugin Factory
Requires at least: 3.0.1
Tested up to: 3.8
Stable tag: 2.23
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

GARD (Google AdSense for Responsive Design) allows you to easily place Responsive Google AdSense in your WordPress website's content.

== Description ==

GARD allows you to easily place responsive (asynchronous optional) Google AdSense in your website's content via the use of the shortcode [GARD]. GARD offers extreme control over ad placement and features. With a super simple "BASIC MODE", all you need to do is drop in your AdSense publisher ID, check a few boxes, and you're all set with a fully responsive AdSense campaign.

GARD allows custom CSS styling, so you can customize the look of ads anytime you'd like.

The inserted ads will never exceed the content area width, and will select the largest available size ad to show depending on which ads you have provided GARD to pick from.

**GARD HIGHLIGHTS**  

* **WORKS ON ALL DEVICES**  
The driving force behind GARD is that it works on any device. No matter how your website visitors choose to access your website, rest assured that GARD will serve up the right sized AdSense ad.

* **ADSENSE POLICY COMPLIANT**  
GARD enforces Google AdSense policies. We limit image/text ads to 3 per page, link units to 3 per page, and 300×600 ads to one per page. Never worry about being banned for misuse of AdSense!

* **PERFECT FOR BEGINNERS AND ADVANCED USERS**  
GARD has two modes, BASIC and ADVANCED. Basic mode provides faster and easier setup, while Advanced mode offers better ad tracking, and more flexible styling.

* **SUGGESTED SIZES**  
We label ad sizes which are best for certain areas, such as your sidebar, or header. If you use the BASIC Settings mode, then all you have to do is check the boxes next to the size you want!

* **SETS UP IN UNDER 2 MINUTES**  
With GARD, you can easily set up AdSense that fits every screen size possible. Just drop in your publisher ID, check a few boxes, and you can b

* **MOBILE CHECK**  
Optionally only show the mobile banner 320x50 ad size on mobile devices.


**GARD PRO HIGHLIGHTS**  

* **ALL GARD FEATURES**  
GARD Pro contains all the above mentioned highlights, plus the following.

* **5 AD GROUPS**  
Create ad groups. This allows you to have groups specific to links, banners, skyscrapers, etc.

* **100% MONEY BACK GUARANTEE**  
180 day money back guarantee! If at anytime in the first 180 days after your purchase of GARD Pro, you decide that you want a refund, just ask! No questions asked, 100% money back guarantee. We want you to be satisfied, with our product. If you want features added, please ask!

* **WORKS ON ALL DEVICES**  
The driving force behind GARD Pro is that it works on any device. No matter how your website visitors choose to access your website, rest assured that GARD Pro will serve up the right sized AdSense ad.

* **5 AD GROUPS**  
Create ad groups. This allows you to have groups specific to links, banners, skyscrapers, etc.

* **5 AD WIDGETS INCLUDED**  
GARD Pro includes 5 custom ad widgets! One for each custom group. You can have a widget for responsive banners, one for responsive skyscrapers, one for responsive squares, one for responsive rectangles, and one for link units.

* **FREE UPGRADES FOR LIFE**  
Anytime we have an upgraded version of GARD Pro available, you’ll get it free! Forever! Updating is super easy. Update GARD Pro as you do any other WordPress plugin, right in your WordPress dashboard.

* **AUTO INSERT**  
Auto insert responsive AdSense ads into user specified content types.

* **MAGIC TOOL INCLUDED**  
With our Magic tool, you can simply paste your current AdSense code, and click a single button to insert it into the GARD Pro settings page.

* **EASILY CLONE AD GROUPS**  
Every ad group has the ability to be cloned for ease of setup. Set up all your ads once, then clone that group for different styling, or anything else you can imagine!

* **CUSTOM SHORTCODE**  
Define a custom shortcode for inserting each group into the content.

* **FILTER OUT BAD THINGS**  
Have an article on gambling that you don’t want ads on? No problem. What about a website linking to you that you don’t want to show ads to the visitors of? Piece of cake. Want to block ads to your work and home computers? Easy peasy.

* **ANYTIME UPGRADE**  
You can upgrade anytime with NO PENALTY. Just post in our support forums letting us know that you want to upgrade your license. We’ll send you a coupon good for the purchase price of your initial purchase. You can use this discount towards any package above the level you previously purchased.

* **ALIGNMENT**  
Specify default alignment of ads: Float Left, Float Right, Centered or None. 

[GARD Pro](http://thepluginfactory.co/warehouse/gard-pro "GARD Pro") extends the capabilities of GARD by allowing things like customizing the shortcode, auto insert GARD into posts & pages, and a responsive widget.

[Click here to find out more about GARD Pro now](http://thepluginfactory.co/warehouse/gard-pro "GARD Pro: Google AdSense for Responsive Design Pro").

Support: [GARD Official WordPress Plugin Support Forum](http://thepluginfactory.co/community/forum/plugin-specific/gard-google-adsense-for-responsive-design/ "GARD Official WordPress Plugin Support Forum")

== Installation ==

1. Install from WordPress admin dashboard or extract and upload the contents of 'google-adsense-for-responsive-design-gard.zip' to the '/wp-content/plugins/' directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Place the shortcode [GARD] inside any posts and/or pages where you want your responsive AdSense ads to show
1. Profit??? (Literally, it's AdSense, so.... Profit!)

== Frequently Asked Questions ==

= Do I need my own AdSense account to make this work? =

Yes.

= Will this work on my Multi User (MU) installation? =

This has not been tested in a MU environment. We have reports of it crashing MU websites, so I would only test on a non live website.

= Can I make my ads align left or right? =

Yes. If you would like your ads to align left, use the shortcode [GARD align="left"]. The same is true for center and right.  
Samples:  
[GARD] will not center or wrap text.  
[GARD align="left"] will make your ad align left and text wrap around it.  
[GARD align="center"] will make your ad centered and text wrap NOT around it.  
[GARD align="right"] will make your ad align right and text wrap around it.  

= Do I have to create ads for every size? =

No. You will only need to create an ad for each size that you want displayed. Feel free to leave the field(s) blank to skip that size.

= How do you prevent GARD from displaying more than 3 ads on one page? =

We check for three types of ads; link units, ad units, and the 300x600 ad size. If either the link units, or ad units already have 3 per page, we don't output ads. Same goes for the 300x600, if there is already one on the page, we don't output a 2nd.

= What are the different versions of the plugin? =

GARD (What you're looking at now)  
[GARD Pro](http://thepluginfactory.co/warehouse/gard-pro "GARD Pro") (Offers many additional features to extend GARD)  
* GARD Pro costs $24.95, and is appropriate if you expect to make more than $24.95 in ad revenue from your site. :P

= How do I contact the plugin developer for help? =
Support is available on [GARD Official WordPress Plugin Support Forum](http://thepluginfactory.co/community/forum/plugin-specific/gard-google-adsense-for-responsive-design/ "GARD Official WordPress Plugin Support Forum").

== Screenshots ==

1. Admin Options Page. Enter your AdSense publisher ID on the top line, and any ads you want displayed below. (screenshot.png)
2. Pro Options Page. Pro options include custom shortcode, auto insert GARD into posts, and a responsive widget. (screenshot_pro.png)
3. Widget Setup. Enable the GARD widget for all users, or only guests, and give it a title. (widget.png)

== Changelog ==

= 2.23 =
* [FIXED] HTTP or HTTPS no longer throw an error when pulling google ads

= 2.22 =
* [REMOVED] Bitcoin donation option.
* [ADDED] http://ConsultingWP.com link on options page.

= 2.2 =
* [ADDED] Ability to show ads to desktop only.
* [ADDED] Help for every setting, just click on the setting title to see the help.
* [ADDED] Bitcoin donate link
* [FIXED] A few PHP warnings.

= 2.1 =
* [ADDED] ARD Pro Demo
* [UPDATED] Some design changes to work with WordPress 3.8

= 2.0.11 =
* [REMOVED] Unused javascript from package

= 2.0.10 =
* [UPDATE] Removed heading for link unit type on options page.
* [ADDED] Buy now button in sidebar.

= 2.0.9 =
* [FIXED] Mobile size wasn't showing properly.

= 2.0.8 =
* [FIXED] Returning ads at the top of the page rather than where they belong in the content.

= 2.0.7 =
* [FIXED] Settings page not displaying on some websites.

= 2.0.6 =
* [ADDED] Large Skyscraper 300x600 ad size

= 2.0.5 =
* [UPDATE] Fixed styling of BASIC mode notice message.
* [ADDED] Coupon code for GARD Pro

= 2.0.4 =
* Internal update, no official release.

= 2.0.3 =
* [FIX] Missing semi colon in async code causing ad blocks to be the wrong size.

= 2.0.2 =
* [FIX] Permissions issue on some themes.

= 2.0.1 =
* [FIX] Quick fix due to bad foreach loop.  

= 2.0 =
* [NEW FEATURE] BASIC and ADVANCED Setup modes. Basic mode allows for super simple setup.
* [NEW FEATURE] Remove yellow background from AdSense place holders.
* [NEW FEATURE] Custom CSS - You may now enter custom CSS for GARD.
* [NEW FEATURE] Show mobile ads of 320x50 to mobile devices only.
* [NEW FUNCTION] GARD now counts the ads on the page before outputting any more. If the max number of allowed ads shows, then it stops outputting new ads.
* [NEW AUTHOR] GARD is being transitioned to The Plugin Factory. This will be the plugin author going forward.

= 1.3 =
* [NEW FEATURE] GARD: Allow users to specify positioning of left, right, or center manually per ad.
* [NEW FEATURE] GARD Pro: Insert ads randomly throughout content.
* [NEW FEATURE] GARD Pro: Insert random number of ads in content.
* [NEW FEATURE] GARD Pro: Default positioning of left, right, or center.
* [NEW FEATURE] GARD Pro: Specify which custom post types to insert ads into.
* [NEW BETA FEATURE] GARD & GARD Pro: Asynchronous AdSense

= 1.2.1 =
* Added 320x50 Mobile Banner Size

= 1.2 =
* Added a help page, complete with video setup guide.

= 1.1 =
* Prepared for integration with GARD Pro: http://thedigitalhippies.com/gardpro
* Fixed icon on settings page

= 1.0.1 =
* Fixed incorrect admin icon code.

= 1.0 =
* Initial release.

== Upgrade Notice ==

= 2.1 =
* [ADDED] ARD Pro Demo
* [UPDATED] Some design changes to work with WordPress 3.8

= 2.0.11 =
* [REMOVED] Unused javascript from package

= 2.0.10 =
* [UPDATE] Removed heading for link unit type on options page.
* [ADDED] Buy now button in sidebar.

= 2.0.9 =
* [FIXED] Mobile size wasn't showing properly.

= 2.0.8 =
* [FIXED] Returning ads at the top of the page rather than where they belong in the content.

= 2.0.7 =
* [FIXED] Settings page not displaying on some websites.

= 2.0.6 =
* [ADDED] Large Skyscraper 300x600 ad size

= 2.0.3 =
* [FIX] Missing semi colon in async code causing ad blocks to be the wrong size.

= 2.0.2 =
* [FIX] Permissions issue on some themes.

= 2.0.1 =
* [FIX] Quick fix due to bad foreach loop.  

= 2.0 =
* [NEW FEATURE] BASIC and ADVANCED Setup modes. Basic mode allows for super simple setup.
* [NEW FEATURE] Remove yellow background from AdSense place holders.
* [NEW FEATURE] Custom CSS - You may now enter custom CSS for GARD
* [NEW FEATURE] Show mobile ads of 320x50 to mobile devices only.
* [NEW FUNCTION] GARD now counts the ads on the page before outputting any more. If the max number of allowed ads shows, then it stops outputting new ads.
* [NEW AUTHOR] GARD is being transitioned to The Plugin Factory. This will be the plugin author going forward.

= 1.3 =
* Added ability to align ads left, right, or center.
* Enabled Asynchronous AdSense [BETA FEATURE]

= 1.2.1 =
* Added 320x50 Mobile Banner Size

= 1.2 =
* Added a help page, complete with video setup guide.

= 1.1 =
* Prepared for integration with GARD Pro: http://thedigitalhippies.com/gardpro
* Fixed icon on settings page
* Other minor code changes

= 1.0.1 =
Only upgrade to fix icon in admin dashboard. No functionality changes.

= 1.0 =
Initial release. No upgrade needed.
